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
| Name | Required | Type | Description |
|---|---|---|---|
context | Required | CommercetoolsIntegrationContext | |
cart | Required | UpdateCartItemChannelParams | |
params | Required | UpdateCartItemChannelProductParams | |
customQuery | Optional | CustomQuery |