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

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

UseCart.updateItemQty() method

Signature:

updateItemQty(params: {
        product: CART_ITEM;
        quantity?: number;
        customQuery?: CustomQuery;
    }): Promise<void>;

Parameters

Parameter Type Description
params { product: CART_ITEM; quantity?: number; customQuery?: CustomQuery; }

Returns:

Promise<void>