B2C Commerce data model
The first thing to understand about the B2C Commerce data model is simply the structure of the system itself. With Lightning Platform orgs, you will have one Production org, which serves as the system of record for nearly all code, configuration, and metadata changes. In addition, you’ll have some number of Sandboxes (depending on the Salesforce edition) that are able to synchronize and copy both data and metadata from Production to support development, integration, and testing.
With B2C Commerce, each customer has at least one Realm hosting exactly three primary instances and a larger pool of Sandboxes, each of which contains one or more sites. In the next section, we’ll cover the role of Realms, instances, and sites in B2C Commerce since all data will be stored in these structures. After that, we’ll cover the data model design considerations and options for extending within B2C Commerce.
Realms, instances, and sites
A B2C Commerce...