removeLineItems( )


Removes line items from the specified checkout.

Permissions
Manage eCommerce - all permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Manage Stores
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

ID of the checkout to remove line items from.


lineItemIdsArray<string>Required

IDs of the line items to remove from the checkout.

To find the IDs of the checkout line items you'd like to remove, pass the checkout ID to Get Checkout and look for the IDs under lineItems.

Returns
Return Type:Promise<RemoveLineItemsResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?