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

    Interface ProductTailoringRemoveAssetAction

    Either variantId or sku is required to reference a ProductVariant that exists. The Asset to remove must be specified using either assetId or assetKey.

    interface ProductTailoringRemoveAssetAction {
        action: "removeAsset";
        assetId?: string;
        assetKey?: string;
        sku?: string;
        staged?: boolean;
        variantId?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "removeAsset"
    assetId?: string

    The id of the Asset to remove.

    assetKey?: string

    The key of the Asset to remove.

    sku?: string

    The sku of the tailored ProductVariant to update.

    staged?: boolean

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

    variantId?: number

    The id of the tailored ProductVariant to update.