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

    Interface ProductRemoveVariantAction

    Either id or sku is required. Produces the ProductVariantDeleted Message. If the Product Variant to remove is part of a ProductSelectionAssignment its SKU will be automatically removed from the respective ProductVariantSelection.

    interface ProductRemoveVariantAction {
        action: "removeVariant";
        id?: number;
        sku?: string;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    action: "removeVariant"
    id?: number

    The id of the ProductVariant to remove.

    sku?: string

    The sku of the ProductVariant to remove.

    staged?: boolean

    If true, only the staged ProductVariant is removed. If false, both the current and staged ProductVariant is removed.