Home > @vsf-enterprise/sapcc-api > Endpoints > removeVoucherFromCart
Endpoints.removeVoucherFromCart() method
Removes coupon code from the cart.
Signature:
removeVoucherFromCart(context: SapccIntegrationContext, props: AddVoucherToCartProps): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
context | SapccIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
props | AddVoucherToCartProps | An object containing necessary props. |
Returns:
Promise<void>