- Mirakl Platform
- Rest Operator APIs
This API will be removed in a future version. Use OR43 and M12 instead.
Maximum of 1000 messages on a thread
Email of the customer who sent the message.
Required only if the customer sent the message. Otherwise, do not define.
First name of the customer who sent the message. Required only if the customer sent the message. Otherwise, do not define.
Id of the customer who sent the message. Required only if the customer sent the message. Otherwise, do not define.
Last name of the customer who sent the message. Required only if the customer sent the message. Otherwise, do not define.
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' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"body": "I don'\''t receive my product! Could you please tell me when should i received it?",
"customer_email": "customer@mail.com",
"customer_firstname": "Smith",
"customer_id": "Customer_id_001",
"customer_lastname": "Taylor",
"customer_locale": "en_EN",
"document_ids": [
"2032"
],
"subject": "Item not received",
"to_customer": false,
"to_operator": false,
"to_shop": true
}'