You are reading the documentation for Vue Storefront v2. See the latest docs.

Home > @vue-storefront/core > UseCart > applyCoupon

UseCart.applyCoupon() method

Signature:

applyCoupon(params: {
        couponCode: string;
        customQuery?: CustomQuery;
    }): Promise<void>;

Parameters

Parameter Type Description
params { couponCode: string; customQuery?: CustomQuery; }

Returns:

Promise<void>