POST

Remove Line Items


Removes line items from a cart.

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

Path Params
idstringRequired

Cart ID.

Body Params
lineItemIdsArray <string>Requiredformat GUIDminItems 1maxItems 100

Line item IDs to remove from cart.

Response Object
cartCart

Updated cart.

Remove line items from a cart
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?