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

    Interface VariantRemoveAssetAction

    Removes an asset from an existing Variant's assets. The asset to remove must be specified using either assetId or assetKey.

    interface VariantRemoveAssetAction {
        action: "removeAsset";
        assetId?: string;
        assetKey?: string;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index
    action: "removeAsset"
    assetId?: string

    The id of the Asset to remove.

    assetKey?: string

    The key of the Asset to remove.

    staged?: boolean

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