Interface ProductTypeChangeLocalizedEnumValueOrderAction

Updates the order of localized enum values in an AttributeLocalizedEnumType AttributeDefinition. It can update an AttributeLocalizedEnumType AttributeDefinition or an AttributeSetType of AttributeLocalizedEnumType AttributeDefinition.

interface ProductTypeChangeLocalizedEnumValueOrderAction {
    action: "changeLocalizedEnumValueOrder";
    attributeName: string;
    values: AttributeLocalizedEnumValue[];
}

Properties

action: "changeLocalizedEnumValueOrder"
attributeName: string

Name of the AttributeDefinition to update.

Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.