cURL
curl --request POST \ --url https://api.satsuma.ai/cart/{id}/item \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "product_id": "<string>", "product_name": "<string>", "quantity": 2 }'
{ "data": "<string>", "messages": [ { "context": "<string>", "level": "Information", "text": "<string>", "data": {} } ] }
Add an item to the shopping cart
API Key authentication
Cart identifier
Request to add an item to the cart
Product identifier for the cart item
Product name for the cart item
Quantity of the item in the cart
x >= 1
Created
Show child attributes