Sitecore CDP guest data model for REST API
Provides the attributes for using the Sitecore CDP standard guest data model for REST API (Data model 2.0).
A guest object is the core entity of Sitecore CDP. The personal data of a customer or prospect is recorded and stored, and all relevant transactional and behavioral data is linked in a guest profile.
The following are guest model attributes:
Attribute | Description | Type | Example(s) |
---|---|---|---|
| The first seen date for the guest. | ISO 8601 Date/Time UTC |
|
| The last time the guest interacted with your brand. If the guest is currently online and is interacting with your brand, this returns the date and timestamp of when the current session started. | ISO 8601 Date/Time UTC |
|
| A required Sitecore CDP attribute that represents the level of identity obtained. | string (lowercase) |
|
| The title of the guest. | string (title case) |
|
| The first name of the guest. | string (title case) |
|
| The last name of the guest. | string (recommend title case) |
|
| The gender of the guest. | string (lowercase) |
|
| The date of birth of the guest. | ISO 8601 Date/Time UTC Validation: Date must be in the past. |
|
| The email addresses of the guest. | JSON array of strings |
|
| The phone numbers of the guest. | JSON array of strings |
|
| The preferred language of the guest. | string (2 letter ISO 639 language code) |
|
| The nationality of the guest. | string (title case) |
|
| The passport number of the guest. | string (uppercase) |
|
| The expiry date of the guest's passport. | string |
|
| The street address of the guest. | JSON array of strings (title case) |
|
| The guest's city. | string (title case) |
|
| The guest's country. | string (2 letter ISO 3166-1 Alpha-2 country code) |
|
| The guest's postcode. | string (uppercase) |
|
| The guest's state. | string (title case) |
|
| A list of subscriptions associated with the guest. | JSON array of JSON objects |
|
| A list of identifiers for the guest. | JSON array of JSON objects |
|
The following are subscription model attributes:
Attribute | Description | Type | Example(s) | Required/optional |
---|---|---|---|---|
| The subscription name. | string |
| Required |
| The subscription channel. | string |
| Required |
| The subscription point of sale (storefront). | string |
| Required |
| The subscription status. | string |
| Required |
| The effective date of the subscription. | ISO 8601 Date/Time UTC |
| Required |
The following are identifier model attributes:
Attribute | Description | Type | Example(s) | Required/optional |
---|---|---|---|---|
| The identifier provider. | string |
| Required |
| The identifier ID. | string |
| Required |
| The expiry date of the identifier. | ISO 8601 Date/Time UTC |
| Optional |
The following are the standard response attributes:
Attribute | Description | Type | Example(s) |
---|---|---|---|
| The resource fully qualified location Uniform Resource Identifier (URI). | string |
|
| The reference of the resource. | string UUID |
|
| Date and time when the resource was created in Sitecore CDP. | ISO 8601 Date/Time UTC |
|
| Date and time when the resource was updated in Sitecore CDP. | ISO 8601 Date/Time UTC |
|