Admin GraphQL API2024-07
Introducing the new Data Sale Opt Out API
As of GraphQL Admin API version 2024-07, you can now set and query a customer's data sale / sharing opt out status. This allows customers to be opted out of data sale / sharing in support of compliance with US state laws like CCPA/CPRA. The Admin API now includes the following updates:
- Set dataSaleOptOut: Set the data sale / sharing opt out status of a customer
- Query dataSaleOptOut: Query the data sale / sharing opt out status of a customer
To learn more about data sale / sharing opt-outs, refer to the Shopify Help Center and the Customer Privacy API.
Was this section helpful?