Alokai

addDownloadableProductsToCart

Adds a set of downloadable products to a specified cart

Signature

declare function addDownloadableProductsToCart(
	context: Context,
	input: AddDownloadableProductsToCartInput,
	customQuery?: CustomQuery,
	customHeaders?: CustomHeaders
): Promise<FetchResult<AddDownloadableProductsToCartMutation>>;

Parameters

NameRequiredTypeDescription
contextRequiredContext
inputRequiredAddDownloadableProductsToCartInput
customQueryOptionalCustomQuery
customHeadersOptionalCustomHeaders

Referenced Types

On this page