Update Cart Item

post
Update Cart Item

https://graph.whisk.com/v1/carts/:cart_id/items/:item_id
Update the quantity of a cart item.
Request
Response
Request
Path Parameters
cart_id
required
string
Unique cart identifier
item_id
required
string
Unique cart item identifier
Body Parameters
quantity
required
number
Number of items.
Response
200: OK
{
"ok": true
}

Sample Request

curl -X PUT "https://graph.whisk.com/v1/carts/9fd18c6f45de453aac7210c671d7d496/items/c0537739b86043ba9333e0d96ba987d1" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Token <Access-Token>" \
-d '{
"quantity": 10
}'