Update Cart Item
Sets a line’s quantity. A quantity of 0 removes the line.
Keys: public key or secret key.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
identitystring
The identity for the active workspace.
Path parameters
item_id
The cart line’s id.
Headers
channel
cart-token
The token returned when the cart was created. Treat it as a secret: never put it in a URL or a log.
Request
This endpoint expects an object.
quantity
New quantity. 0 removes the line.
Response
Successfully updated cart item
status
Always true on success.
message
Human-readable outcome.
data
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
404
Not Found Error
422
Unprocessable Entity Error

