Update an Item

Set the quantity of the submitted item in the cart. This method is not additive: if the item is already in the cart, the quantity of the item in the cart is replaced with the quantity of the item submitted. The item ID is taken from the path parameter, if the item ID is also passed in the body of the request it is ignored.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The Identifier returned in the create cart call

string
required

The Vinoshipper Wine ID to add. This ID takes precedence over the one in the body of the request.

Body Params
int32
required

Vinoshipper Product ID to add

int32
required

Number Units

metaFields
object

A list of key value pairs to attach as metadata to the order line for this product.

analyticsOverrides
object

A list of key value pairs that will override GA purchase event item properties.

int32

Store id for the order. The last store found per producer is used, and the default store is used if null.

string

Server-generated stable identifier for this line item (nanoid, 8 chars alphanumeric)

variantSelections
array of objects

Attribute-based variant selections for product group items

variantSelections
Responses

401

Authentication failed

403

Insufficient permission

404

Not Found

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json