Products
/- Mirakl Platform
- Rest Operator APIs
/
DR73 - Download accountin...
Description
At least one of the following filters must be applied: document_id or entity_id
If more than one document is requested, the output of the API will be a ZIP archive.
The tree structure of this archive is as follows:
documents-1624624030618.zip
|
|__ product-logistic-order/
|__ order1-A/
| |__ INV203837.pdf
| |__ INV203837.cxml
|__ order1-B/
|__ INV203839.pdfSecurity
Operator-Bearer-Token or OAuth-2
Entity identifiers related to the documents to download. This parameter can be supplied multiple times.
The entity_type must be specified to use this filter, otherwise an error 400 will be returned.
Example: entity_id=order1-A&entity_id=order20-A&entity_type=PRODUCT_LOGISTIC_ORDER
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/document-request/documents/download
curl -i -X GET \
'https://your-instance.mirakl.net/api/document-request/documents/download?document_request_id=string&document_id=string&document_format=PDF&entity_id=string&entity_type=PRODUCT_LOGISTIC_ORDER' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'