PATCH

Update Current Cart


Updates the current site visitor's cart.

Notes:

  • When adding catalog line items, the lineItems.catalogReference.appId and lineItems.catalogReference.catalogItemId fields are required.
  • This method requires visitor or member authentication.
  • 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.
Method Declaration
Copy
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

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