Products
/- Mirakl Platform
- Rest Seller APIs
- S32 - Upload business documents to associate with a shop
A01 - Get shop information
A02 - Update shop information
A21 - Get shop statistics
S30 - List shop's documents
S31 - Download documents for one or multiple shops
S33 - Delete a shop document
S32 - Upload business doc...
Description
Document filenames must be distinct and there can be only one file per document type.
Only documents of the following types are supported: csv, doc, docx, gif, html, jpeg, latex, mp4, odp, odc, odg, ods, odt, pdf, png, pps, ppsx, ppt, pptx, quicktime, rtf, text, tiff, xls, xlsx, xml, zip
You can upload a maximum of 50 business documents for each shop. These documents are not order related documents.
Call Frequency
Recommended usage: At each business document upload to a shop
Maximum usage: 50 business documents per call
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_SHOP_DOCUMENT_WRITE)
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/shops/documents
curl -i -X POST \
https://your-instance.mirakl.net/api/shops/documents \
-H 'Content-Type: multipart/form-data' \
-F 'files=@path/to/file' \
-F 'shop_documents="{\"shop_documents\":[{\"file_name\":\"string\",\"type_code\":\"string\"}]}";type=application/json'