Product Attribute Info

Product attribute information.
Property Name Type Description Filter Group and Version Available Version
allowableValues String[] Active attribute picklist values that can be used to create variations. These values are determined by the order of the picklist values in Object Manager. Small, 50.0 50.0
apiName String API name of the attribute. Small, 50.0 50.0
availableValues String[] Attribute picklist values that are available for the product in the store. These values are sorted by the order of values in the allowableValues property. Small, 50.0 50.0
fieldEnumOrId String Field ID for custom fields or enumeration value for standard fields. Small, 50.0 50.0
groupedBy Boolean Indicates if the attribute is used to determine grouping. Small, 50.0 64.0
label String Label of the attribute. Small, 50.0 50.0
objectName String Name of the object that contains the field. Small, 50.0 50.0
options Product Attribute Value Metadata[] List of product attribute value metadata. Small, 63.0 63.0
sequence Integer Sequence value determined by the order of the attributes under Commerce Setup for the attribute set. Small, 50.0 50.0
viewType String View type for product attributes. Values are:
  • ColorSwatch
  • Dropdown
  • Pill
Small, 63.0 63.0