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
9f66974e-7979-494d-9a16-a4ad3a6547de