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

    Interface ProductSetSkuAction

    SKU cannot be changed or removed if it is associated with an InventoryEntry. If the SKU to set or unset is part of a ProductSelectionAssignment it will be automatically added or removed from the respective ProductVariantSelection.

    interface ProductSetSkuAction {
        action: "setSku";
        sku?: string;
        staged?: boolean;
        variantId: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setSku"
    sku?: string

    Value to set. Must be unique. If empty, any existing value will be removed.

    staged?: boolean

    If true, only the staged sku is updated. If false, both the current and staged sku are updated.

    variantId: number

    The id of the ProductVariant to update.