Products
/- Mirakl Platform
- Rest Operator APIs
- OR73 - Download one or multiple documents attached to one or multiple orders
OR04 - Patch update orders
OR11 - List orders with pagination
OR75 - List all the order taxes available on the platform
OR07 - Update order line shipping origin
OR13 - Export orders asynchronously
OR14 - Get the status of an asynchronous order export.
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
OR74 - Upload documents to attach to an order
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
OR73 - Download one or mu...
Description
- If a list of document identifiers is specified only these documents are downloaded.
- If more than one document id is specified, the documents will be wrapped in a ZIP archive
- If only one document id is specified the document will not be zipped
- If a list of order identifiers is specified, all documents from those orders are downloaded.
Use a list of order document type codes to retrieve specific types from those orders.
In this case, the output of the API will always be a ZIP archive even if there is only one document to retrieve.
When documents are retrieved, they're wrapped into a ZIP archive except when only one document id is specified. The tree structure of this archive is as follow:
documents-timestamp.zip | |__ order_id_x/ | |__ foo.txt | |__ bar.txt | |__ baz.pdf | |__ order_id_y/ | |__ image.png | |__ image(1).png
Call Frequency
Recommended usage: At each document download
Maximum usage: At each document download
Security
Operator-Bearer-Token or OAuth-2
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/orders/documents/download
curl -i -X GET \
'https://your-instance.mirakl.net/api/orders/documents/download?order_ids=string&document_ids=string&document_codes=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'