Home > @vsf-enterprise/commercetools > UseCart > addItem
# UseCart.addItem() method
Signature:
addItem(params: {
product: PRODUCT;
quantity: number;
customQuery?: CustomQuery;
}): Promise<void>;
# Parameters
Parameter | Type | Description |
---|---|---|
params | { product: PRODUCT; quantity: number; customQuery?: CustomQuery; } |
Returns:
Promise<void>