{"title":"StoreConnect and Salesforce objects and fields","slug":"storeconnect-object-and-field-definitions","url":"https://support.storeconnect.com/articles/storeconnect-object-and-field-definitions","url_markdown":"https://support.storeconnect.com/articles/storeconnect-object-and-field-definitions.md","subtitle":null,"summary":"StoreConnect adds custom fields to standard Salesforce objects and introduces custom objects for order management, product categorization, tax calculation, content management, and more.","type":"Help_Documentation","video_url":"","keywords":"Salesforce objects, custom objects, standard objects, object relationships, s_c__ namespace, managed package, SOQL, Object Manager, field API names, lookup relationships, master-detail, junction objects, StoreConnect data model","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"StoreConnect enhances Salesforce functionality by adding custom fields to several standard objects and also introduces numerous custom objects and fields to support a wide range of features, from order management and product categorization to tax calculation, content management and a whole bunch more.\n\n## Understanding Salesforce objects\n\nIn Salesforce, an **object** is a database table that stores a specific type of information. Each object contains **fields** (the columns in that table) and **records** (the individual rows of data). Objects can be related to one another through **lookup** and **master-detail** relationships, which allow records across different objects to be linked together.\n\nThere are two categories of objects in Salesforce:\n\n- **Standard objects** — built into the Salesforce platform (for example, Account, Contact, Order, and Product2). These exist in every Salesforce org and have well-known field sets and behaviors.\n- **Custom objects** — created by a managed package or by your org's own configuration. StoreConnect installs a large number of custom objects as part of its managed package to support storefront and commerce functionality that standard Salesforce does not provide out of the box.\n\n## How StoreConnect uses objects\n\nStoreConnect works with Salesforce objects in two ways:\n\n**Extending standard objects** — StoreConnect adds custom fields (prefixed `s_c__`) to existing standard objects. For example, the standard `Order` object gains checkout step tracking, cart reference data, and delivery fields. The standard `Product2` object gains fields for barcodes, stock management, subscriptions, and bookings. These extensions allow StoreConnect to integrate tightly with core Salesforce features like reporting, flows, and Apex.\n\n**Creating custom objects** — StoreConnect introduces its own custom objects for functionality that has no native Salesforce equivalent. These include objects for stores, themes, content blocks, pages, menus, tax configuration, promotions, stock management, point of sale, and more. All StoreConnect custom objects use the `s_c__` namespace prefix (for example, `s_c__Store__c`, `s_c__Product_Category__c`).\n\n## Key object relationships\n\nObjects in StoreConnect are connected through a network of relationships. Understanding a few core relationships helps you navigate the data model:\n\n- **Store → Products** — a `Store__c` record controls which products are available for purchase. Products (`Product2`) are associated with stores via product categories and pricing configurations.\n- **Order → Contact and Account** — when a customer places an order, the `Order` record links to the customer's `Contact` and `Account` records, preserving the standard Salesforce CRM relationship.\n- **Order → Order Items → Products** — each `Order` has related `OrderItem` records, each linked to a `Product2` and `PricebookEntry`. StoreConnect adds further detail through related objects like `s_c__Fulfillment_Item__c` and `s_c__Payment__c`.\n- **Product2 → Product Categories** — products are organized into hierarchical categories through `s_c__Product_Category__c` and the `s_c__Products_Product_Categories__c` junction object.\n- **Store → Themes and Content** — a store references a `s_c__Theme__c` for its design, and `s_c__Content_Block__c` records for reusable content areas.\n- **Store → Tax and Shipping** — tax behavior is governed by `s_c__Tax__c`, `s_c__Tax_Group__c`, and `s_c__Tax_Provider__c` records. Shipping is managed through `s_c__Shipping_Provider__c` and `s_c__Shipping_Rate__c`.\n\nMany relationships use **junction objects** (objects with two parent lookups) to create many-to-many relationships. For example, `s_c__Products_Product_Categories__c` connects products to multiple categories, and `s_c__Content_Blocks_Pages__c` connects content blocks to multiple pages.\n\n## Working with StoreConnect objects in Salesforce\n\n**Object Manager** — you can inspect all StoreConnect objects in Salesforce Setup under **Object Manager**. Custom objects are listed by their label and show their API name, fields, relationships, and page layouts.\n\n**Field API names** — when writing Salesforce flows, validation rules, SOQL queries, or integrating with the StoreConnect API, you use the field's **API name** rather than its label. StoreConnect custom fields on standard objects use the `s_c__` prefix (for example, `s_c__Checkout_Step__c` on `Order`). Fields on custom objects also use this prefix (for example, `s_c__Store__c.s_c__Currency_ISO_Code__c`).\n\n**Relationship queries** — because StoreConnect data is stored in standard Salesforce objects and relationships, you can query it using SOQL like any other Salesforce data. Lookup fields are traversable using dot notation (for example, `Order.s_c__Store__c.Name`), and child relationships can be queried using nested SELECT statements.\n\n**Flows and automation** — StoreConnect objects are fully compatible with Salesforce Flow, and Apex triggers. This means you can build custom automations that respond to StoreConnect events, such as sending a notification when an order reaches a specific checkout step, or updating a custom field when a subscription is activated.\n\n:::note\nStoreConnect custom fields and objects are delivered through a **managed package**. This means field API names include the `s_c__` namespace and cannot be modified or deleted by your org's administrators. You can, however, add your own custom fields to StoreConnect's custom objects if you need to capture additional data.\n:::\n\n## Limitations on custom fields for Salesforce objects\n\nSalesforce imposes limits on the number of custom fields allowed on each object. These limits apply to the combined total of all custom fields in the org — including those added by managed packages such as StoreConnect. Depending on your edition, the general limit is between 500 and 900 custom fields per object. Review [the latest Salesforce information](https://help.salesforce.com/s/articleView?id=005223994\u0026type=1) and [this topic](https://help.salesforce.com/s/articleView?id=platform.custom_field_allocations.htm\u0026type=5) for full details.\n\nIf your org already has custom fields on any of the standard objects StoreConnect extends, it is worth confirming that enough capacity remains before installing. The table below shows how many custom fields StoreConnect adds to each standard object:\n\n| Object | Custom fields added by StoreConnect |\n|---|---|\n| Account | 28 |\n| Asset | 6 |\n| CampaignMember | 1 |\n| Contact | 20 |\n| Lead | 3 |\n| Order | 42 |\n| OrderItem | 29 |\n| Pricebook2 | 11 |\n| PricebookEntry | 35 |\n| Product2 | 76 |\n| User | 4 |\n\n:::warning\n`PricebookEntry` has a Salesforce-imposed hard limit of 50 custom fields. StoreConnect adds 35. If your org already has custom fields on `PricebookEntry`, ensure the combined total does not exceed 50 before installing.\n:::\n\n### Checking an object's available capacity\n\nTo see how many custom fields an object can still accommodate:\n\n1. Go to **Setup**.\n2. In the Quick Find box, search for the object name (for example, **Order**).\n3. Select the object from the results.\n4. Click **Limits**.\n5. Check the **Custom Fields** row — this shows the number in use and the maximum allowed.\n\nCompare the number in use against the available limit, then subtract the StoreConnect field count from the table above to confirm there is enough headroom.\n\n## Object reference documentation\n\nFull field-level reference documentation for every StoreConnect object is available in the developer documentation:\n\n- [How the StoreConnect data model fits together](data-model-overview) — the naming conventions, which objects carry most of the relationships, and how to trace a connection from one object to another.\n- [Junction objects](junction-objects) — how many-to-many relationships work, and why a relationship you expect on an object is often on a separate record one step away.\n- [Standard objects extended by StoreConnect](standard-objects) — all standard Salesforce objects that StoreConnect adds custom fields to, with full field definitions.\n- [Custom objects created by StoreConnect](custom-objects) — the complete list of custom objects introduced by the StoreConnect managed package, with links to each object's field reference.\n\nFor a full index of all object reference articles, see [Object References](object-references).\n\nTo explore the model visually rather than by reading, the StoreConnect Console includes an interactive entity relationship diagram. See [Schema Explorer](schema-explorer)."}