improved

API-v2 / Order

"export_status" param can now take values 6 & 7:
6 = not yet exported (failed excluded);
7 = 6+4. If not included in the request, the default is export_status=1 if sync=0, otherwise the default is export_status=2 if sync=1

Documentation available here.