Typescript SDK Type Docs
    Preparing search index...

    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[];
    }

    Hierarchy (View Summary)

    Index

    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.