AddToCartProductParams
Second parameter for the addToCart API endpoint
interface AddToCartProductParams {
distributionChannel?: string;
product: ProductVariant;
quantity: number;
supplyChannel?: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
distributionChannel | Optional | string | Current distribution channel |
product | Required | ProductVariant | Product to be added to the cart |
quantity | Required | number | Quantity of product added to the cart |
supplyChannel | Optional | string | Current supply channel |