Skip to main content
PATCH
Update a cart item

Path Parameters

cart_token
string
required

Cart token

id
integer
required

Cart item ID

Body

application/json
variant_id
integer

New variant ID

quantity
integer

New quantity

subscription
boolean

Toggle subscription

subscription_plan_id
integer

Subscription plan ID

Response

Success

Cart response wrapper (CartBlueprinter with_associations view). Scalar totals, flags, and points are strictly typed; genuinely dynamic fields (metadata, processor-specific payment payloads) and nested associations (items, addresses, country, company) are typed as open pockets and tightened in follow-up work.

cart
object
required
meta
object
required