Products
/- Mirakl Platform
- Rest Seller APIs
/
OR42 - Post a message on...
Deprecated endpoint
This API will be removed in a future version. Use OR43 and M12 instead.
Description
Maximum of 1000 messages on a thread
Call Frequency
Recommended usage: At each new message posted on an order
Maximum usage: At each new message posted on an order
Read More
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMIN)
Message's attachments. List of document ids already linked to the order. Use OR74 to upload new documents and OR72 to retrieve their ids. NB: If one of those document_id have already been linked to a previous message, it will be ignored.
Boolean to indicate the message will be sent to the customer associated with the order.
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/orders/{order_id}/messages
curl -i -X POST \
'https://your-instance.mirakl.net/api/orders/{order_id}/messages?shop_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"body": "I don'\''t receive my product! Could you please tell me when should i received it?",
"document_ids": [
"2032"
],
"subject": "Item not received",
"to_customer": false,
"to_operator": false,
"to_shop": true
}'