Skip to content

OR41 - List messages of an order
⚠️ No Integration Allowed ⚠️
deprecated

Request

Deprecated endpoint

This API is going to be permanently removed on April 5 2027, please use M10 and M11 instead.

Description

By default, all sent and received messages are listed

Call Frequency
Maximum usage: On each message page view
Pagination

This resource supports offset pagination (see documentation)

Sort fields

sort field can have the following values:

  • dateCreated (Default) - Sort by creation date (desc by default)

Security
Operator-Bearer-Token or OAuth-2
Path
order_idstringrequired

Order identifier

Query
receivedstring

If "TRUE" ("FALSE") returns only messages received by (sent to) operator. If "ALL", returns all messages, even direct messages between customer and shop.

Default:"ALL"
Enum:"TRUE""FALSE""ALL"
curl -i -X GET \
  'https://your-instance.mirakl.net/api/orders/{order_id}/messages?received=TRUE' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
messagesArray of objectsrequired

List of messages

total_countinteger, (int32)required

Total count of messages

Response
{ "messages": [ { … } ], "total_count": 1 }