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

    Interface VariantChangeAssetNameAction

    Changes the name of an existing Asset on a Variant. The Asset to update must be specified using either assetId or assetKey.

    interface VariantChangeAssetNameAction {
        action: "changeAssetName";
        assetId?: string;
        assetKey?: string;
        name: LocalizedString;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index
    action: "changeAssetName"
    assetId?: string

    The id of the Asset to update.

    assetKey?: string

    The key of the Asset to update.

    New value to set. Must not be empty.

    staged?: boolean

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