Home > @vsf-enterprise/commercetools-api > ApiMethods > removeFromCart
# ApiMethods.removeFromCart() method
See the removeFromCart() function
Signature:
removeFromCart(cart: RemoveFromCartParams, product: LineItem, customQuery?: CustomQuery): Promise<RemoveFromCartResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
cart | RemoveFromCartParams | |
product | LineItem | |
customQuery | CustomQuery |
Returns:
Promise<RemoveFromCartResponse>