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

    Interface ProductTypeRemoveAttributeDefinitionAction

    Removes an AttributeDefinition and also deletes all corresponding Attributes on all Products with this ProductType. The removal of the Attributes is eventually consistent.

    Do not remove an AttributeDefinition and add a new AttributeDefinition with the same `name` in the same update request. Because the removal is eventually consistent, wait until it is complete before sending another update request for the ProductType.
    
    The `CombinationUnique` constraint is not checked when an Attribute is removed, and uniqueness violations may occur when you remove an Attribute with a `CombinationUnique` constraint.
    
    interface ProductTypeRemoveAttributeDefinitionAction {
        action: "removeAttributeDefinition";
        name: string;
    }

    Hierarchy (View Summary)

    Index
    action: "removeAttributeDefinition"
    name: string

    Name of the Attribute to remove.