Guest identifiers 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 |
|---|---|---|---|---|---|---|
provider | The provider of the identifier. | string (title case) | "CRM_SYSTEM", "SITECORE_IDENTITY_SYSTEM" | Not supported | Required | Required |
id | The unique ID of the identifier. | string (uppercase) | "B7524AE6-CF1C-440F-B1A2-0C9D42F5CB41" | Not supported | Required | Required |
expiryDate | The date and time after which the identifier is no longer valid. | ISO 8601 date/time UTC | "2025-08-23T16:17.000Z" | Not supported | Optional | Optional |
Here's an example that includes Personally Identifiable Information (PII) and uses upsert mode:
Here's an example that includes the identifiers attribute and uses upsert mode.
Note
When consumers are passed to Sitecore CDP using the Batch API, and the only identifying information is first_name and last_name, Sitecore CDP creates a new guest profile of type: traveller. An exception occurs when the consumer on the order has the same first and last name as the contact on the order. If the contact is successfully identified, then a new guest profile is not created. This only pertains to the Batch API.
If you have suggestions for improving this article, let us know!