Alokai

AddToCartProductParams

Second parameter for the addToCart API endpoint

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