---
schema_version: "1"
id: ed7d92633fea74d6c21bb09bb97b2f94387427fb6985d655fcfd9469982774f5
title: ProductAttribute
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_productattribute.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_productattribute.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 96f0b06ea7ce14989f101cc7f4afcdb65d3ea26f37faf2efcddcab45e1890785
description: Represents the attributes that can be associated with a product. This object is available in API version 50.0 and later.
---
# ProductAttribute

Represents the attributes that can be associated with a product. This object is available in API version 50.0 and later.

## Supported Calls

create, delete, describeLayout(), describeSObjects(), getDeleted, getUpdated, query(), retrieve(), undelete, update, upsert

## Special Access Rules

You must have the B2B Commerce license and a CMS workspace to access products.

## Fields

| Field | Details |
| --- | --- |
| CurrencyIsoCode | 
Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The default value is USD. Possible values are:

- USD—U.S. Dollar







 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

Name of the product attribute set.



 |
| ProductId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the product that the attribute is associated with. This field is unique within your organization.



 |
| Sequence | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The order that product attributes appear in.



 |
| VariantParentId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the variation parent record associated with the product attribute.



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[ProductAttributeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 55.0)

Change events are available for the object.