Commerce Scope data type

Last update: 2024-03-07
  • Topics:
  • Schemas
    View more on this topic
  • Created for:
  • Developer

Commerce Scope is a standard Experience Data Model (XDM) data type that defines identifiers for where an event occurred within a commerce ecosystem. It distinguishes environments, websites, stores, and store views.

A diagram of the  Commerce Scope data type.

Display name Property Data type Description
Environment ID environmentID string The environment ID. A 32-digit alphanumeric ID.
Website Code websiteCode string The unique website code within an environment.
Store Code storeCode string The unique store code within a website.
Store View Code storeViewCode string The unique store view code within a store.

For more details on the data type, refer to the public XDM repository:

On this page