Skip to main content
PUT
/
cart
/
{cartId}
/
item
/
{itemId}
Update Cart Item
curl --request PUT \
  --url https://api.satsuma.ai/cart/{cartId}/item/{itemId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "quantity": 2
}'
{
  "data": true,
  "messages": [
    {
      "context": "<string>",
      "text": "<string>",
      "data": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.satsuma.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key authentication

Path Parameters

cartId
string
required

Cart identifier

itemId
string
required

Cart item identifier

Body

application/json

Request to update a cart item

quantity
integer<int32>
required

Quantity of the item in the cart

Required range: x >= 1

Response

200 - application/json

OK

data
boolean
messages
object[]