Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Developing with Sitecore CDP
    • Authentication
    • Base URL
    • Batch file formatting requirements
        • Guest data model
        • Send additional guest data
        • Guest extension data model
        • Guest extension data model for flight
        • Guest identifiers data model
        • Using guest profile migration
        • Guest migration data model
        • Using guest delete
        • Guest delete data model
  1. Batch API Guest
  1. Sitecore CDP Developer Documentation
  2. Batch API

Guest migration data model

When you create a batch file, ensure that you include all required attributes in addition to any attributes from the following table:

AttributeDescriptionTypeExample(s)Required/optional
refA unique ID of the record that the organization generates for the purpose of identification outside of Sitecore CDP.string UUID"888E80C5-370E-4EE8-80D7-3A89DC064509"Required
schemaThe type of record contained in the value field that is being imported.string"migration"Required
modeSupports migration of guest entities including orders, browsing history, and flow execution history.string"guest"Required
valueThe container for the migrateFrom and migrateTo attributes.containerN/ARequired
migrateFromThe container for the identifiers array for the guest record.containerN/ARequired
identifiersThe container for the provider and the id for the guest that is being migrated.containerN/ARequired
providerThe provider of the identifier.string"IDENTITY_SYSTEM"Required
idThe unique ID of the identifier.string"BX_201504"Required
migrateToThe container for the identifiers array for the guest record.containerN/ARequired
{
   "ref":"888E80C5-370E-4EE8-80D7-3A89DC064509",
   "schema":"migration",
   "mode":"guest",
   "value":{
      "migrateFrom":{
         "identifiers":[
            {
               "provider":"IDENTITY_SYSTEM",
               "id":"BX_201504"
            }
         ]
      },
      "migrateTo":{
         "identifiers":[
            {
               "provider":"IDENTITY_SYSTEM",
               "id":"BX_201505"
            }
         ]
      }
   }
}
If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use