Interface ProductTypeChangePlainEnumValueOrderAction

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

interface ProductTypeChangePlainEnumValueOrderAction {
    action: "changePlainEnumValueOrder";
    attributeName: string;
    values: AttributePlainEnumValue[];
}

Properties

action: "changePlainEnumValueOrder"
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.

Generated using TypeDoc