Home > @vsf-enterprise/bigcommerce-api > Endpoints > removeCartItem
# Endpoints.removeCartItem() method
Removes an item from the cart
Signature:
removeCartItem(context: BigcommerceIntegrationContext, params: RemoveLineItemParameters): Promise<RemoveLineItemResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | BigcommerceIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
params | RemoveLineItemParameters | An object which contains necessary properties for removing an item from the cart. |
Returns:
Promise<RemoveLineItemResponse>