All messages from an order
GET https://api.ecartapi.com/api/v2/packs/{{packID}}/messages
To send messages with your client first you must have the packId and the customer ID both can be found when making a get single order request.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"messages":[{"id":"4eea8d09574241ec834481909cecea35","siteId":"MLM","toId":"1080123254","satus":"available","subject":null,"text":"Test message ToUserId 2","dates":{"receivedAt":"2022-04-20T20:24:41Z","readAt":null,"createdAt":"2022-04-20T20:24:41Z","moderatedAt":"2022-04-20T20:24:40Z"},"moderation":{"status":"clean","reason":null,"source":"online"},"attachments":null},{"id":"7b11328f912d4b2eaa63f9a389ec7297","siteId":"MLM","toId":"1080123254","satus":"available","subject":null,"text":"Test message ToUserId 2","dates":{"receivedAt":"2022-04-13T21:37:21Z","readAt":"2022-04-13T21:37:52Z","createdAt":"2022-04-13T21:37:21Z","moderatedAt":"2022-04-13T21:37:21Z"},"moderation":{"status":"clean","reason":null,"source":"online"},"attachments":null}]}