ProductCategory
Represents a category used to organize products within a product catalog, such as a brand or flavor grouping. Categories can be nested under a parent category to form a hierarchy. This object is available in API version 68.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
No additional setup or permissions beyond standard object- and field-level security are required.
Type: reference
Properties: Create, Filter, Group, Sort
Description: The product catalog that this category belongs to. This field is a relationship field. It’s the master in a master-detail relationship (ProductCatalog is the master object).
Relationship Name: Catalog
Refers To: ProductCatalog
Type: string
Properties: Create, Filter, Group, idLookup, Nillable, Sort, Update
Description: A unique code that identifies the category. This field is unique within your organization.
Type: picklist
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description: The ISO code for the currency used for amount fields on this record, in orgs with multicurrency enabled. Possible values are: AED (UAE Dirham), USD (U.S. Dollar), and every other active currency ISO code configured for the org. The default value is USD.
Type: textarea
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: A description of the category.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the category is used for navigation purposes, such as in a storefront’s category menu. The default value is false.
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The timestamp when the current user last accessed a record related to this record.
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The timestamp when the current user last viewed this record.
Type: string
Properties: Create, Filter, Group, idLookup, Sort, Update
Description: The name of the category.
Type: int
Properties: Filter, Group, Nillable, Sort
Description: The number of products directly associated with this category. This is a calculated, read-only field.
Type: reference
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The parent category of this category, used to build a category hierarchy. This field is a relationship field.
Relationship Name: ParentCategory
Refers To: ProductCategory
Type: int
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The order in which this category is displayed relative to its sibling categories.
Type: picklist
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description: The type of category, such as a brand or a flavor grouping. Possible values are Brand and Flavour.
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.
- ProductCategoryChangeEvent: Change events are available for the object.
- ProductCategoryFeed: Feed tracking is available for the object.
- ProductCategoryHistory: History is available for tracked fields of the object.
- ProductCategoryOwnerSharingRule: Sharing rules are available for the object.
- ProductCategoryShare: Sharing is available for the object.