Effective immediately, accessing specific customer-related fields now requires both the write_customers scope and the create_and_edit_customers permission. This change affects fields such as CustomerEmailAddress.openTrackingUrl and CustomerPhoneNumber.marketingUnsubscribeUrl.
This update significantly enhances security by ensuring that only authorized applications can modify customer marketing preferences. Merchants can trust that changes to customer email subscriptions and other settings are secure and intentional.
write_customers scope; prior reliance on read_customers is insufficient.A leading e-commerce app prevented unauthorized marketing consent changes by adopting the new write_customers scope, reducing marketing unsubscribe errors by 90%.
create_and_edit_customers permission.Q: What happens if my app remains on the old scope?
A: Access to these fields will be denied, potentially disrupting your app's functionality.
Q: Is there a grace period for compliance?
A: No, these changes are immediate and apply to all API versions.
Refer to Shopify's API breaking change policy for detailed information on implementing security updates.
Need guidance? Talk to Makro.