removeLineItems( )


Removes line items from the specified cart.

The removeLineItems() function returns a Promise that resolves to the updated cart when the line items are removed from the specified cart.

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

ID of the cart to remove line items from.


lineItemIdsArray<string>Required

IDs of the line items to remove from the cart.

Returns
Return Type:Promise<RemoveLineItemsResponse>
Was this helpful?
Yes
No