Hello,
I am using REST API in my application. I am unsure when this started, but I noticed that I stopped getting certain customer data (e.g. phone number) when querying the checkouts and orders endpoint. I can see the phone number in the orders themselves, but the phone field is missing when using the api.
Sounds like you might need to review this page: https://shopify.dev/docs/apps/store/data-protection/protected-customer-data
Shopify is introducing updated requirements for apps that use customer data. As of version 2022-10 of the Admin API, published, public apps must meet the protected customer data requirements. Existing apps have until August 15, 2023 to migrate to API version 2022-10.
Privacy and data protection are critical foundations for ecommerce and are important to merchants and their customers. The protected customer data requirements focus on data minimization, transparency, and security so that you can better support a merchant's path towards compliance with privacy and data protection rules.
When your app uses API version 2022-10 or later, the review process for your public, published app might require action as described in the following table:
Level Data use Partner actions
0 No customer data No action required
1 Customer data excluding name, address, phone, and email fields
Request access to protected customer data in the Partner Dashboard
Implement level 1 protected customer data requirements
2 Customer data including name, address, phone, or email fields
Request access to protected customer data and fields in the Partner Dashboard
Implement level 1 and level 2 protected customer data requirements
Participate in data protection reviews
Thanks, I separated my application to dev/prod versions and forgot to configure it again.