Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Developing with Sitecore CDP
    • Provide personal data
    • Rectify personal data
    • Delete guest data
    • Suppress identity profiling
    • Audit log
  1. Rectify personal data
  1. 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.

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