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

    Interface ProductTypeChangeAttributeNameAction

    Renames an AttributeDefinition and also renames all corresponding Attributes on all Products with this ProductType. The renaming of the Attributes is eventually consistent.

    If the AttributeDefinition name to be changed does not exist, an [AttributeNameDoesNotExist](ctp:api:type:AttributeNameDoesNotExistError) error is returned.
    
    interface ProductTypeChangeAttributeNameAction {
        action: "changeAttributeName";
        attributeName: string;
        newAttributeName: string;
    }

    Hierarchy (View Summary)

    Index
    action: "changeAttributeName"
    attributeName: string

    Name of the AttributeDefinition to update.

    newAttributeName: string

    New user-defined name of the Attribute that must be unique within the ProductType.

    To use the same `name` in multiple ProductTypes, each AttributeDefinition must have the same `type`; otherwise, an [AttributeDefinitionTypeConflict](ctp:api:type:AttributeDefinitionTypeConflictError) error is returned.
    For `enum` or `lenum` Types and sets of these AttributeTypes, the enum values can be different for each ProductType.