You must specify at least one of the following parameters: shop_ids
, updated_since
curl -i -X GET \
'https://your-instance.mirakl.net/api/shops/documents?include_deleted=false&shop_ids=string&updated_since=2019-08-24T14%3A15%3A22Z'
{ "shop_documents": [ { … } ] }
shop_ids
or the document_ids
.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 | |__ shop_id_x/ | |__ foo.txt | |__ bar.txt | |__ baz.pdf | |__ shop_id_y/ | |__ image.png | |__ image(1).png
Returns a 404
if at least one document id, one shop id or one document type code is invalid
curl -i -X GET \
'https://your-instance.mirakl.net/api/shops/documents/download?document_ids=string&shop_ids=string&type_codes=string'
curl -i -X DELETE \
'https://your-instance.mirakl.net/api/shops/documents/{document_id}'