{"title":"Trait Object Reference","slug":"trait-object-reference","url":"https://support.storeconnect.com/articles/trait-object-reference","url_markdown":"https://support.storeconnect.com/articles/trait-object-reference.md","subtitle":null,"summary":"Traits provide the join between a specific Trait_Value__c, Trait_Type__c and Trait_Category__c and a Product2 object.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Trait, s_c__Trait__c, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nTraits provide the join between a specific Trait_Value__c, Trait_Type__c and Trait_Category__c and a Product2 object.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Trait__c` |\n| **Label** | Trait |\n| **Plural Label** | Traits |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Description | `s_c__Description__c` | TextArea | No | Description of the trait. |\n| Display Name | `s_c__Display_Name__c` | Text(255) | Yes | Name of the trait to be displayed to the user. This is autogenerated from the Trait Category, Trait Type, and Trait Value, but can be overwritten as desired. |\n| Product | `s_c__Product_Id__c` | Lookup ([Product2](product2-object-reference)) | No | Product where the trait belongs to. |\n| Trait Category | `s_c__Trait_Category_Id__c` | Lookup ([s_c__Trait_Category__c](trait-category-object-reference)) | Yes | Category of this trait. For example, colour or size. |\n| Trait Type | `s_c__Trait_Type_Id__c` | Lookup ([s_c__Trait_Type__c](trait-type-object-reference)) | Yes | Type of this trait. For example, text or number. |\n| Trait Value | `s_c__Trait_Value_Id__c` | Lookup ([s_c__Trait_Value__c](trait-value-object-reference)) | Yes | Value of this trait. For example, red, or 14. |\n| StoreConnect External ID | `s_c__sC_Id__c` | Text(36) | No | StoreConnect External ID, do not modify in Salesforce |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Product_Id__c` | Lookup | [Product2](product2-object-reference) | Traits |\n| `s_c__Trait_Category_Id__c` | Lookup | [s_c__Trait_Category__c](trait-category-object-reference) | Traits |\n| `s_c__Trait_Type_Id__c` | Lookup | [s_c__Trait_Type__c](trait-type-object-reference) | Traits |\n| `s_c__Trait_Value_Id__c` | Lookup | [s_c__Trait_Value__c](trait-value-object-reference) | Traits |"}