Products
/- Mirakl Platform
- Rest Front APIs
/
M11 - List all threads
Description
You may want to retrieve the threads linked to a specific entity, using both entity_type and entity_id.
For example, to retrieve threads for an order, use entity_type=MMP_ORDER&entity_id=my-order-1.
Available values for entity_type are:
MMP_ORDER: for threads on product ordersMMP_OFFER: for threads on offersMPS_ORDER: for threads on service ordersMPS_SERVICE: for threads on servicesSELLER_OPERATOR: for threads between sellers and operator
This resource uses seek pagination. The default value for parameter limit is 50.
Call Frequency
Recommended usage: Synchronous only - At each page that includes an inbox display
Maximum usage: Synchronous only - At each page that includes an inbox display
Read More
Pagination
This resource supports seek pagination (see documentation)
Security
Front-Bearer-Token or OAuth-2
Customer id to include in result (default: include all).
It is strongly recommended to use the query param customer_id because the nominal use case is to filter all conversations per customer.
If you do need to retrieve messages involving several customers, you can omit this query parameter.
- URL to be replaced by your Mirakl instance URLhttps://your-instance.mirakl.net/api/inbox/threads
curl -i -X GET \
'https://your-instance.mirakl.net/api/inbox/threads?customer_id=string&customer_organization_id=string&entity_type=string&entity_id=string&updated_since=2019-08-24T14%3A15%3A22Z&with_messages=false&channel_codes=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
{ "data": [ { … } ], "next_page_token": "bGltaXQ9NTAmYWZ0ZXI9MjA3NjYwNTAtZDc5Yy00YzUyLWEwODctZWI5YjY1MjFkNzA5JnNvcnQ9ZGF0ZSxERVNDJmN1c3RvbWVyX2lkPUN1c3RvbWVyJTIwaWQ=.kuBm9NWrcM8GwgVxBrTpvQnYKmeLnott4D3EeM8Mf9Y=" }