Creates a new attribute with the specified properties.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The name of the attribute.
1A description of the attribute.
A unique handle for the attribute.
Whether the attribute can be used for filtering products.
Whether the attribute is required for products.
The UI component type for this attribute.
select, multivalue, unit, toggle, text_area, color_picker Additional metadata for the attribute.
Array of possible values for the attribute (required when ui_component is 'select').
Array of product category IDs to associate with this attribute.
Created
Attribute object