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

    Interface ProductSelectionExcludeProductAction

    Excludes a Product from a Product Selection with IndividualExclusion ProductSelectionMode.

    If the specified Product is already assigned to the Product Selection, but the existing Product Selection has a different Product Variant Exclusion, a [ProductPresentWithDifferentVariantSelection](ctp:api:type:ProductPresentWithDifferentVariantSelectionError) error is returned.
    
    interface ProductSelectionExcludeProductAction {
        action: "excludeProduct";
        product: ProductResourceIdentifier;
        variantExclusion?: ProductVariantExclusion;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "excludeProduct"

    ResourceIdentifier of the Product

    variantExclusion?: ProductVariantExclusion

    Defines which Variants of the Product will be excluded from the Product Selection. If not supplied all Variants are deemed to be excluded.