PATCH

Update Cart


Updates a cart's properties.

Notes:

  • When updating line items, the lineItems.catalogReference.appId and lineItems.catalogReference.catalogItemId fields are required.
  • After a cart is updated, call Refresh Cart to update the cart's UI elements and trigger the Cart Updated event.
Permissions
Manage eCommerce - all permissions
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/ecom/v1/carts/{cartInfo.id}

Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?