Discussing APIs and development related to customers, discounts, and order management.
Hi Team,
I am using the 2024-04 version of Shopify api. I am working with Retrieve Customer API and am seeing a weird behavior of first_name, last_name, email and phone fields missing from the response. Can you please help me understand this behavior. Thanks in advance!
https://your-development-store.myshopify.com/admin/api/2024-04/customers.json
https://your-development-store.myshopify.com/admin/api/2024-04/customers/207119551.json
Thanks,
VKH
I am using a free trial version of Shopify. Can you confirm if the basic version of Shopify API(2024-04) does not return PII(Personally Identifiable Information) like first_name, last_name, phone, email in its retrieve customer api response.
Thanks,
VKH
Hey @VKH ,
This isn't necessarily a limitation of the API version, but a limitation on the store plan. In order to access PII through a custom app, the store will need to be on the Shopify plan or higher.
If you're looking to do some testing, I would recommend setting up a development store for that: https://help.shopify.com/en/partners/dashboard/managing-stores/development-stores
Development stores have all of the features of the advanced plan, so you won't experience this limitation.
Hope that helps,
- Kyle G.
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog