Tags:
- Action Required
- Admin GraphQL API
Customer marketing URL fields now require write access
Effective immediately: The following customer-related fields now require the scope and the permission:
(deprecated)(deprecated)
Reason for change
This update addresses a security vulnerability. These fields return URLs with secret tokens that can modify customer marketing consent, such as unsubscribing a customer. Previously, apps with only the scope could access these URLs, potentially leading to unauthorized changes to customer preferences. By updating the access requirements, we aim to prevent such security risks.
According to our API breaking change policy, security fixes are implemented immediately across all API versions, bypassing the standard deprecation process.
Action required
If your app queries these fields, you must:
- Update your app to include the
access scope. Previously, thescope was sufficient. - Ensure the user making the request has the
permission.
Apps that only have the scope will now encounter an access denied error when attempting to query these fields.