Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Developing with Sitecore CDP
Data privacy
Before you start sending data
Integrating with Sitecore CDP
Stream API
Batch API
REST APIs
Data lake export service
  • Sitecore CDP for developers
  • Data privacy compliance with Sitecore CDP
  • Rectify personal data

Rectify personal data

If a guest requests that you update their personal data, this can be facilitated through the use of Sitecore CDP APIs. The following is a scenario in which a guest requests an update to their personal data.

For example, a guest requests that their gender data is rectified from male to female.

To rectify a guest's data:

  1. Complete the locate guest function in the REST API to locate the guest's unique guestRef.

  2. Follow the update guest function in the REST API to rectify the data in the guest record. For example, pass a string value of Female to the gender attribute.

  3. To locate all orders associated with the guest, perform the locate orders function using the REST API. This provides you with the orderRef attribute required for the update order contact and update order consumer functions.

  4. For each order on which the guest is a contact, perform the update order contact function using the REST API.

  5. For each order on which the guest is a consumer, perform the update order consumer function using the REST API.

The guest's profile is now rectified with the correct personal information. Any orders on which the guest is a contact and/or consumer will also have the correct personal information.

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore