POST

Remove Line Items From Current Cart


Removes line items from the current site visitor's cart.

Note: This endpoint requires visitor or member authentication.

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/current/remove-line-items

Body Params
lineItemIdsArray <string>Requiredformat GUIDminItems 1maxItems 100

Line item IDs to remove from cart.

Response Object
cartCart

Updated cart.

Remove line items from the current site visitor's 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?