Commerce Scope data type

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:

recommendation-more-help
62e9ffd9-1c74-4cef-8f47-0d00af32fc07