@gradientedge/commercetools-utils
    Preparing search index...

    Interface CartDiscountValueGiftLineItem

    interface CartDiscountValueGiftLineItem {
        distributionChannel?: ChannelReference;
        product: ProductReference;
        supplyChannel?: ChannelReference;
        type: "giftLineItem";
        variantId: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    distributionChannel?: ChannelReference

    Channel must have the ChannelRoleEnum ProductDistribution.

    Reference to a Product.

    A Gift Line Item can be present on a Cart even if the referenced Product is unpublished.
    
    supplyChannel?: ChannelReference

    Channel must have the ChannelRoleEnum InventorySupply.

    type: "giftLineItem"
    variantId: number

    ProductVariant of the Product.