Interface MyCartSetLineItemDistributionChannelAction

Setting a distribution channel for a LineItem can lead to an updated price as described in LineItem Price selection.

interface MyCartSetLineItemDistributionChannelAction {
    action: "setLineItemDistributionChannel";
    distributionChannel?: ChannelResourceIdentifier;
    lineItemId: string;
}

Properties

action: "setLineItemDistributionChannel"
distributionChannel?: ChannelResourceIdentifier
  • If present, a Reference to the Channel is set for the LineItem specified by lineItemId.
    • If not present, the current Reference to a distribution channel is removed from the LineItem specified by lineItemId. The Channel must have the ProductDistribution ChannelRoleEnum.
lineItemId: string

id of the LineItem to update.

Generated using TypeDoc