Skip to main content
PATCH
Updates a cart item's variant

Path Parameters

cart_token
string
required

The cart token

item_id
integer
required

The cart item ID

Body

application/json

Variant update parameters

variant_id
integer | null

The new variant ID to assign to this cart item

quantity
integer | null

Optional: Override the quantity (must be >= 1)

Response

Success

cart
object
required
meta
object | null
required