ConnectApi.ProductAttributeInfo

Product attribute information.

Property NameTypeDescriptionAvailable Version
allowableValuesList<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
apiNameStringAPI name of the attribute.50.0
availableValuesList<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
fieldEnumOrIdStringField ID for custom fields or enumeration value for standard fields.50.0
isGroupedByBooleanIndicates if product variations are grouped by a specific attribute.64.0
labelStringLabel of the attribute.50.0
objectNameStringName of the object that contains the field.50.0
optionsList<ConnectApi.​ProductAttribute​ValueMetadata​Representation>List of product attribute value metadata.63.0
sequenceIntegerSequence value determined by the order of the attributes under Commerce Setup for the attribute set.50.0
viewTypeConnectApi.​ProductAttributeViewTypeView type for product attributes. Values are:
  • ColorSwatch
  • Dropdown
  • Pill
63.0

See Also