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

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

UseCartFactoryParams.updateItemQty property

Signature:

updateItemQty: (context: Context, params: {
        currentCart: CART;
        product: CART_ITEM;
        quantity: number;
        customQuery?: CustomQuery;
    }) => Promise<CART>;