Description
The Trait object defines an individual trait for a Product.
ℹ️ Note
This object supports custom data via the data attribute.
Attributes
| Attribute | Type | Description |
|---|---|---|
id |
String | Returns the unique id for this Trait |
name |
String | Returns the name of the Trait |
position |
String | Returns the position of the Trait |
trait_category |
TraitCategory | Returns the TraitCategory this Trait belongs to |
trait_type |
TraitType | Returns the TraitType this Trait belongs to |
unit |
String | Returns the unit for the Trait |
value |
String | Returns the value for the Trait |
value_type |
String | Returns the value type for this Trait |