Home > @vsf-enterprise/commercetools-api > ApiMethods > applyCartCoupon
# ApiMethods.applyCartCoupon() method
See the applyCartCoupon() function
Signature:
applyCartCoupon(params: ApplyCartCouponParams, discountCode: string, customQuery?: CustomQuery): Promise<ApplyCartCouponResponse>;
# Parameters
Parameter | Type | Description |
---|---|---|
params | ApplyCartCouponParams | |
discountCode | string | |
customQuery | CustomQuery |
Returns:
Promise<ApplyCartCouponResponse>