MobiariDocs
Storefront APIEngagement

Get the chat's cart

GET
/widget/{key}/conversations/{conversation_id}/cart

The cart the team or the bot assembled in this chat, with its payment link. Authenticated with the visitor token like the rest of the widget API.

Path Parameters

key*string

The chat channel's public key

conversation_id*string

Conversation id

Formatuuid

Query Parameters

token?string

The token POST /widget/{key}/conversations returned. Prefer the X-Visitor-Token header; the query parameter is for clients that cannot set headers.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/widget/string/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08/cart"
{
  "cart": null
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}