Products
/- Mirakl Platform
- Rest Seller APIs
- OR14 - Get the status of an asynchronous order export.
OR04 - Patch update orders
OR11 - List orders with pagination
OR07 - Update order line shipping origin
OR13 - Export orders asynchronously
OR15 - Retrieve order export files once asynchronous export is complete (OR13).
OR21 - Accept or refuse order lines
OR23 - Update carrier tracking information for a specific order
OR24 - Validate the shipment of an order
OR28 - Perform refunds on order lines
OR29 - Perform a full cancelation of an order
OR30 - Perform cancelations on order lines
OR31 - Update the custom fields of an order and its order lines
OR32 - Adjust order line
OR33 - Fully cancel a list of order lines of an order
OR51 - Get the evaluation of an order
OR72 - Lists order's documents
OR73 - Download one or multiple documents attached to one or multiple orders
OR74 - Upload documents to attach to an order
OR75 - List all the order taxes available on the platform
OR76 - Delete an order document
OR12 - Get information about an order
OR26 - Perform a refund of order lines of an order
OR41 - List messages of an order
OR14 - Get the status of...
Description
Use this API to query the order export status after an API OR13 call.
Until the export via API OR13 is complete, the status returned by API OR14 is PENDING.
You must call API OR14 until you get the COMPLETED status which correspond to a completed and successful export from API OR13.
The URLs in API OR14 response contain all the files from API OR13 export.
Browse those urls and query them using the GET method.
In case of error, the status is FAILED.
In case of export canceled, the status is CANCELED.
Call Frequency
Recommended usage: Every 10 seconds per OR13 call, until COMPLETED status is received
Maximum usage: Every 2 seconds per OR13 call, until COMPLETED status is received
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_ORDER_READ)
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/orders/async-export/status/{tracking_id}
curl -i -X GET \
'https://your-instance.mirakl.net/api/orders/async-export/status/{tracking_id}?shop_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE'Order asynchronous export tracking polling success
Response
{ "last_updated": "2022-08-18T15:20:22.906Z", "status": "COMPLETED", "urls": [ "http://host:123/api/3f9edb57-9d8b-41e0-8b77-88d90caf7013?file=fileA", "http://host:123/api/3f9edb57-9d8b-41e0-8b77-88d90caf7013?file=fileB" ] }