Update Cart Item

You can update cart item quantity.

POST
/v1/carts/:cart_id/items/:item_id

Parameters

ATTRIBUTETYPEDESCRIPTION
cart_id*string

Unique cart identifier

item_id*string

Unique cart item identifier

quantity*number

number of items in store

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 }'

Response

ATTRIBUTETYPEDESCRIPTION
okboolean

The operation success state

Sample Response

{ "ok": true }