Guest extension data model
When you create a batch file, ensure that you include all required attributes in addition to any attributes from the following table:
|
Attribute |
Description |
Type |
Example(s) |
Insert |
Upsert |
Migration |
|---|---|---|---|---|---|---|
|
|
The first seen date for the guest. |
ISO 8601 Date/Time UTC |
|
Not supported |
Optional |
Optional |
|
|
The last time the guest interacted with your brand. |
ISO 8601 Date/Time UTC |
|
Not supported |
Optional |
Optional |
|
|
A required Sitecore CDP attribute that represents the level of identity obtained. |
string (lowercase) |
|
Not supported |
Optional |
Optional |
|
|
The title of the guest. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
The first name of the guest. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
The last name of the guest. |
string (recommend title case) |
|
Not supported |
Optional |
Optional |
|
|
The gender of the guest. |
string (lowercase) |
|
Not supported |
Optional |
Optional |
|
|
The date of birth of the guest. |
ISO 8601 Date/Time UTC Validation: Date must be in the past. |
|
Not supported |
Optional |
Optional |
|
|
The email address of the guest. |
string (recommend lowercase) |
Not supported |
Optional |
Optional | |
|
|
The phone numbers of the guest. |
JSON array of strings |
|
Not supported |
Optional |
Optional |
|
|
The preferred language of the guest. |
string (2 letter ISO 639 language code) |
|
Not supported |
Optional |
Optional |
|
|
The nationality of the guest. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
The passport number of the guest. |
string (uppercase) |
|
Not supported |
Optional |
Optional |
|
|
The expiry date of the guest's passport. |
string yyyy-MM-ddTHH:mmZ |
|
Not supported |
Optional |
Not supported |
|
|
The street address of the guest. |
JSON array of strings (title case) |
|
Not supported |
Optional |
Optional |
|
|
The guest's city. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
The guest's country. |
string (2 letter ISO 3166-1 Alpha-2 country code) |
|
Not supported |
Optional |
Optional (Uppercase) |
|
|
The guest's postcode. |
string (uppercase) |
|
Not supported |
Optional |
Optional |
|
|
The guest's state. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
A list of identifiers for the guest. |
JSON array of JSON objects |
|
Not supported |
Optional |
Optional |
|
|
A list of extensions associated with the guest. |
JSON array of JSON objects |
|
Required |
Required |
Required |
|
|
You must set the value to |
string enum |
|
Required |
Required |
Required |
|
|
You must set the value to |
string |
|
Required |
Required |
Required |
|
|
One or many name/value pair attributes for custom data. The name must follow attribute naming guidelines. |
Supported types for the "value": string: , boolean: |
|
Required |
Required |
Required |
{ "ref":"9d94ee11-7043-4b71-980c-a777d00a7b46", "schema":"guest", "mode":"upsert", "value":{ "guestType":"customer", "firstSeen":"2025-03-07T16:15:11.000Z", "lastSeen":"2025-08-23T16:17:16.000Z", "identifiers":[ { "provider":"IDENTITY_SYSTEM", "id":"B7524AE6-CF1C-440F-B1A2-0C9D42F5CB41", "expiryDate":"2025-08-23T16:17:16.000Z" } ], "extensions":[ { "name":"ext", "key":"default", "loyaltyTier":"level2", "rewardBalance": 5012.25, "memberSince":"2020-10-08T00:00", "vipMember": true, "loyaltyNumber": 123456789 } ] } }
|
Attribute |
Description |
Type |
Example(s) |
Insert |
Upsert |
Migration |
|---|---|---|---|---|---|---|
|
|
The first seen date for the guest. |
ISO 8601 Date/Time UTC |
|
Not supported |
Optional |
Optional |
|
|
The last time the guest interacted with your brand. |
ISO 8601 Date/Time UTC |
|
Not supported |
Optional |
Optional |
|
|
A required Sitecore CDP attribute that represents the level of identity obtained. |
string (lowercase) |
|
Not supported |
Optional |
Optional |
|
|
The title of the guest. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
The first name of the guest. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
The last name of the guest. |
string (recommend title case) |
|
Not supported |
Optional |
Optional |
|
|
The gender of the guest. |
string (lowercase) |
|
Not supported |
Optional |
Optional |
|
|
The date of birth of the guest. |
ISO 8601 Date/Time UTC Validation: Date must be in the past. |
|
Not supported |
Optional |
Optional |
|
|
The email address of the guest. |
string (recommend lowercase) |
Not supported |
Optional |
Optional | |
|
|
The phone numbers of the guest. |
JSON array of strings |
|
Not supported |
Optional |
Optional |
|
|
The preferred language of the guest. |
string (2 letter ISO 639 language code) |
|
Not supported |
Optional |
Optional |
|
|
The nationality of the guest. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
The passport number of the guest. |
string (uppercase) |
|
Not supported |
Optional |
Optional |
|
|
The expiry date of the guest's passport. |
string yyyy-MM-ddTHH:mmZ |
|
Not supported |
Optional |
Not supported |
|
|
The street address of the guest. |
JSON array of strings (title case) |
|
Not supported |
Optional |
Optional |
|
|
The guest's city. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
The guest's country. |
string (2 letter ISO 3166-1 Alpha-2 country code) |
|
Not supported |
Optional |
Optional (Uppercase) |
|
|
The guest's postcode. |
string (uppercase) |
|
Not supported |
Optional |
Optional |
|
|
The guest's state. |
string (title case) |
|
Not supported |
Optional |
Optional |
|
|
A list of identifiers for the guest. |
JSON array of JSON objects |
|
Not supported |
Optional |
Optional |
|
|
A list of extensions associated with the guest. |
JSON array of JSON objects |
|
Required |
Required |
Required |
|
|
The name of the data extension. |
string (uppercase recommended) |
|
Not supported |
Required |
Required |
|
|
Key that uniquely identifies the data extension. |
string (title case recommended) |
|
Not supported |
Required |
Required |
|
|
Data extensions data. |
string (title case) |
|
Not supported |
Required/Optional depending on extension |
Optional |
Certain data extensions require all fields to be present in order to not be deleted by the import. Consult your Sitecore CDP representative if you have questions.
{ "ref":"9d94ee11-7043-4b71-980c-a777d00a7b46", "schema":"guest", "mode":"upsert", "value":{ "firstSeen":"2025-03-07T16:15:11.000Z", "lastSeen":"2025-08-23T16:17:16.000Z", "guestType":"customer", "title":"Mr", "firstName":"John", "lastName":"Does", "gender":"male", "dateOfBirth":"1985-12-24T00:00Z", "email":"[email protected]", "nationality":"Irish", "passportNumber":"PZ4A9565", "passportExpiry":"2026-12-24T00:00Z", "street":[ "Apartment 15", "West Drive Avenue" ], "city":"Dublin", "country":"IE", "postCode":"D2", "state":"Dublin", "identifiers":[ { "provider":"IDENTITY_SYSTEM", "id":"B7524AE6-CF1C-440F-B1A2-0C9D42F5CB41", "expiryDate":"2025-08-23T16:17:16.000Z" } ], "extensions":[ { "name":"loyalty", "key":"flyWithMe", "tier":"gold", "milesBalance":"50125", "memberSince":"2020-10-08T00:00", "loyaltyNumber":"123456789" } ] } }