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

    Interface VariantSetAssetKeyAction

    Sets the key of an existing Asset on a Variant.

    interface VariantSetAssetKeyAction {
        action: "setAssetKey";
        assetId: string;
        assetKey?: string;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index
    action: "setAssetKey"
    assetId: string

    The id of the Asset to update.

    assetKey?: string

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

    staged?: boolean

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