Skip to main content
GET
/
cart
/
{id}
Get Cart Details
curl --request GET \
  --url https://api.satsuma.ai/cart/{id} \
  --header 'Authorization: <api-key>'
{
  "data": {
    "id": "<string>",
    "user_id": "<string>",
    "merchant_id": "<string>",
    "location_id": "<string>",
    "status": "Active",
    "fulfillment_method": "Delivery",
    "items": [
      {
        "id": "<string>",
        "cart_id": "<string>",
        "product_id": "<string>",
        "product_name": "<string>",
        "quantity": 123,
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "messages": [
    {
      "context": "<string>",
      "level": "Information",
      "text": "<string>",
      "data": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication

Path Parameters

id
string
required

Cart identifier

Response

200 - application/json

OK

data
object
messages
object[]