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

    Interface VariantSetAssetDescriptionAction

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

    interface VariantSetAssetDescriptionAction {
        action: "setAssetDescription";
        assetId?: string;
        assetKey?: string;
        description?: LocalizedString;
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index
    action: "setAssetDescription"
    assetId?: string

    The id of the Asset to update.

    assetKey?: string

    The key of the Asset to update.

    description?: LocalizedString

    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.