---
schema_version: "1"
id: 63a8279ee3addeff31d2c9ddeffc7c982ed45e9dceff5921253c009c6b7f3eda
title: ConnectApi.ProductAttributeInfo
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_product_attribute_info.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_product_attribute_info.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 772e0b2a4aa2bac8a4dc6914820a0e0d7297f7a124232e075b7cdc6892549533
description: Product attribute information.
---
# ConnectApi.ProductAttributeInfo

Product attribute information.

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d1148171e36">Property Name</th>

              <th class="featureTableHeader vertical-align-top " id="d1148171e39">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d1148171e42">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d1148171e45">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">allowableValues</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;String&gt;
              </td>

              <td class="entry" headers="d1148171e42" data-title="Description"><span class="ph" id="allowableValues"><a name="allowableValues"><!-- --></a>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.</span></td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">50.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">apiName</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type">String</td>

              <td class="entry" headers="d1148171e42" data-title="Description"><span class="ph" id="apiName"><a name="apiName"><!-- --></a>API name of the attribute.</span></td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">50.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">availableValues</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;String&gt;
              </td>

              <td class="entry" headers="d1148171e42" data-title="Description"><span class="ph" id="availableValues"><a name="availableValues"><!-- --></a>Attribute picklist values that are available for the
                  product in the store. These values are sorted by the order of values in the
                  <samp class="codeph nolang">allowableValues</samp> property.</span></td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">50.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">fieldEnumOrId</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type">String</td>

              <td class="entry" headers="d1148171e42" data-title="Description"><span class="ph" id="fieldEnumOrId"><a name="fieldEnumOrId"><!-- --></a>Field ID for custom fields or
                  enumeration
                  value for standard fields.</span></td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">50.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">isGroupedBy</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type">Boolean</td>

              <td class="entry" headers="d1148171e42" data-title="Description">Indicates if product variations are grouped by a specific
                attribute.</td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">64.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">label</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type">String</td>

              <td class="entry" headers="d1148171e42" data-title="Description"><span class="ph" id="label"><a name="label"><!-- --></a>Label of the attribute.</span></td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">50.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">objectName</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type">String</td>

              <td class="entry" headers="d1148171e42" data-title="Description"><span class="ph" id="objectName"><a name="objectName"><!-- --></a>Name of the object that contains the field.</span></td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">50.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">options</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_order_summary.htm" title="Order summary."><samp class="codeph apex_code">ConnectApi.​ProductAttribute​ValueMetadata​Representation</samp></a>&gt;
              </td>

              <td class="entry" headers="d1148171e42" data-title="Description"><span class="ph" id="options"><a name="options"><!-- --></a>List of product attribute value metadata.</span></td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">63.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">sequence</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type">Integer</td>

              <td class="entry" headers="d1148171e42" data-title="Description"><span class="ph" id="sequence"><a name="sequence"><!-- --></a>Sequence value determined by the order of the attributes
                  under Commerce Setup for the attribute set.</span></td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">50.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d1148171e36" data-title="Property Name"><samp class="codeph apex_code">viewType</samp></td>

              <td class="entry" headers="d1148171e39" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#ProductAttributeViewTypeEnum"><samp class="codeph nolang">ConnectApi.​ProductAttributeViewType</samp></a></td>

              <td class="entry" headers="d1148171e42" data-title="Description">View type for product attributes. Values are: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph apex_code">ColorSwatch</samp></li>
                  <li class="li"><samp class="codeph apex_code">Dropdown</samp></li>
                  <li class="li"><samp class="codeph apex_code">Pill</samp></li>
                </ul>
              </td>

              <td class="entry" headers="d1148171e45" data-title="Available Version">63.0</td>

            </tr>

          </tbody>

        </table>

#### See Also

- [ConnectApi.ProductDetail](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_product_detail.htm "Details of a product.")
- [ConnectApi.ProductAttributeSetInfo](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_product_attribute_set_info.htm "Attribute set metadata.")
- [ConnectApi.ProductVariationInfo](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_product_variation_info.htm "Product variation attributes, metadata, and mappings of attribute combinations to variation product IDs.")