POST

Remove Line Items


Removes specified line items from a checkout.

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

Path Params
idstringRequired

ID of the checkout to remove line items from.

Body Params
lineItemIdsArray <string>Requiredformat GUIDminItems 1maxItems 300

IDs of the line items to remove from the checkout.

Response Object
checkoutCheckout

Updated checkout after removal of line items.

Remove Line Items Example 1
Request
cURL
Response
JSON
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?