Skip to main content
PATCH
Set the exact quantity of a cart line (by the line item's own id) — 0 removes it

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
quantity
number
required

0 removes the line

Required range: x >= 0
Example:

3

Response

200 - application/json
id
string
required
userId
string
required
items
object[]
required
subtotal
number
required