Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

AddToCartProductParams

Second parameter for the addToCart API endpoint

export interface AddToCartProductParams {
	distributionChannel?: string;
	product: ProductVariant;
	quantity: number;
	supplyChannel?: string;
}

Properties

NameRequiredTypeDescription
distributionChannelOptionalstringCurrent distribution channel
productRequiredProductVariantProduct to be added to the cart
quantityRequirednumberQuantity of product added to the cart
supplyChannelOptionalstringCurrent supply channel

Referenced Types

On this page