{"title":"State Object Reference","slug":"state-object-reference","url":"https://support.storeconnect.com/articles/state-object-reference","url_markdown":"https://support.storeconnect.com/articles/state-object-reference.md","subtitle":null,"summary":"A State represents a single geopolitical state or province to be used in creating a Zone which is used in both calculating tax or shipping within StoreConnect. This could be \u0026quot;NSW\u0026quot; for New South Wales, or could be North Island for New Zealand.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, State, s_c__State__c, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nA State represents a single geopolitical state or province to be used in creating a Zone which is used in both calculating tax or shipping within StoreConnect. This could be \"NSW\" for New South Wales, or could be North Island for New Zealand.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__State__c` |\n| **Label** | State |\n| **Plural Label** | States |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Code | `s_c__Code__c` | Text(3) | Yes | Two or three letter state or province code used in the selected country, e.g. \"Vic\" or \"TX\" |\n| Country | `s_c__Country_Id__c` | MasterDetail ([s_c__Country__c](country-object-reference)) | No | The Country that this State belongs to |\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__Country_Id__c` | MasterDetail | [s_c__Country__c](country-object-reference) | States |\n\n## Referenced by\n\nThese objects hold a lookup or master-detail relationship to **State** (`s_c__State__c`). Where the referring record exists to join things together, **Also links to** shows what it connects this object to.\n\n| Object | Field | Type | Relationship Name | Also links to |\n|--------|-------|------|-------------------|---------------|\n| [s_c__City__c](city-object-reference) | `s_c__State_Id__c` | Lookup | Cities | [s_c__Country__c](country-object-reference) |\n| [s_c__Postcode__c](postcode-object-reference) | `s_c__State_Id__c` | Lookup | Postcodes | [s_c__Country__c](country-object-reference) |\n| [s_c__Zone_State__c](zone-state-object-reference) | `s_c__State_Id__c` | MasterDetail | Zone_States_State | [s_c__Zone__c](zone-object-reference) |"}