Home > @vsf-enterprise/sapcc-api > Endpoints > deleteFromCart
Endpoints.deleteFromCart() method
Removes a product from the cart.
Signature:
deleteFromCart(context: SapccIntegrationContext, props: DeleteFromCartProps): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
props | DeleteFromCartProps | An object which contains necessary properties for removing entry from the cart. |
Returns:
Promise<void>