Alokai

updateCartItemChannel

Update the supply channel of a product in the cart.

It uses the updateCart method to update the supply channel of a product in the cart.

Signature

declare function updateCartItemChannel(
	context: CommercetoolsIntegrationContext,
	cart: UpdateCartItemChannelParams,
	params: UpdateCartItemChannelProductParams,
	customQuery?: CustomQuery
): Promise<UpdateCartItemChannelResponse>;

Parameters

NameRequiredTypeDescription
contextRequiredCommercetoolsIntegrationContext
cartRequiredUpdateCartItemChannelParams
paramsRequiredUpdateCartItemChannelProductParams
customQueryOptionalCustomQuery

Referenced Types

On this page