POST

Update Line Items Quantity


Updates the quantity of one or more line items in a checkout.

This method is only for updating the quantity of line items. To entirely remove a line item from the checkout, use the Remove Line Items method. To add a new line item to the checkout, use the Add to Checkout method.

This method checks the amount of stock remaining for this line item. If the specified quantity is greater than the remaining stock, then the quantity returned in the response is the total amount of remaining stock.

Permissions
Manage eCommerce - all permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Manage Stores
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/ecom/v1/checkouts/{id}/update-line-items-quantity

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?