Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.ProductAttributeInfo

Product attribute information.
Property Name Type Description Available Version
allowableValues List<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. 50.0
apiName String API name of the attribute. 50.0
availableValues List<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. 50.0
fieldEnumOrId String Field ID for custom fields or enumeration value for standard fields. 50.0
isGroupedBy Boolean Indicates if product variations are grouped by a specific attribute. 64.0
label String Label of the attribute. 50.0
objectName String Name of the object that contains the field. 50.0
options List<ConnectApi.​ProductAttribute​ValueMetadata​Representation> List of product attribute value metadata. 63.0
sequence Integer Sequence value determined by the order of the attributes under Commerce Setup for the attribute set. 50.0
viewType ConnectApi.​ProductAttributeViewType View type for product attributes. Values are:
  • ColorSwatch
  • Dropdown
  • Pill
63.0