Products
/- Mirakl Platform
- Rest Seller 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
Pagination
This resource supports seek pagination (see documentation)
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_OFFER_MESSAGE_READROLE_PARTNER_MESSAGE_READ)
- 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?entity_type=string&entity_id=string&updated_since=2019-08-24T14%3A15%3A22Z&with_messages=false&channel_codes=string&shop_id=0' \
-H 'Authorization: YOUR_API_KEY_HERE'Response
{ "data": [ { … } ], "next_page_token": "bGltaXQ9NTAmYWZ0ZXI9MjA3NjYwNTAtZDc5Yy00YzUyLWEwODctZWI5YjY1MjFkNzA5JnNvcnQ9ZGF0ZSxERVND.jFoPX_GjfbaRV88hhNxWWEzeRSqPt1WNExsrcBTkuSY=" }