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

    Interface VariantSetAttributesAction

    Sets the attributes of the Variant. Existing attributes will be replaced with the new ones.

    interface VariantSetAttributesAction {
        action: "setAttributes";
        attributes: Attribute[];
        staged?: boolean;
    }

    Hierarchy (View Summary)

    Index
    action: "setAttributes"
    attributes: Attribute[]

    Attributes to set for the Variant according to the respective AttributeDefinition.

    staged?: boolean

    Whether only the staged attributes are updated. If false, both the current and staged attributes are updated.