PATCH

Update Cart


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a cart.

Use this endpoint to set and replace fields such as note and the delivery method. To add or remove list elements (line items, coupons, gift cards), use the dedicated endpoints.

Permissions
Write Carts V2 (PII)
Manage eCommerce - Admin Permissions
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/ecom/v2/carts/{cart.id}

Errors
400Invalid Argument

There are 2 errors with this status code.

428Failed Precondition

There are 2 errors 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?