DocumentationExperience PlatformExperience Data Model (XDM) Guide

Commerce Scope data type

Last update: Thu Mar 07 2024 00:00:00 GMT+0000 (Coordinated Universal Time)
  • Topics:
  • Schemas

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:

  • Populated example
  • Full schema
recommendation-more-help
62e9ffd9-1c74-4cef-8f47-0d00af32fc07