Shopify scopes and data access

Hi all, First, sorry as this is more of a Shopify question rather than a Gadget question, but I figured I could get help faster here 🤷‍♂️ My gadget app has the read_customers scope, and is connected to a draft public app. I need the first_name and last_name fields from customer, but apparently Shopify will only give access to these after I submit the app for review, which is completely weird. Is there a way around that to access these fields in development? I could use a custom app, but since the app is subscription based, that would break other functionality in development. Any help appreciated!
15 Replies
Smelvin
Smelvin3mo ago
Hi Renan, You will need to fill out the "Protected Customer Data Access" in your Shopify Partners dashboard to get access. You can find it here within API access, in your App in your Partners page. I've attached a screenshot of the menu as well to find it easier.
No description
RenanVSouza
RenanVSouzaOP3mo ago
Hi Mark, thank you for your reply. I already did - however there's a banner mentioning that it will be reviewed once I submit the app. I assumed it'd give me access in development at least, but it didn't. Maybe it's a bug?
Chocci_Milk
Chocci_Milk3mo ago
That definitely sounds like an issue on Shopify’s end but let me double check something Do you mind reminding me the application URL?
RenanVSouza
RenanVSouzaOP3mo ago
Sent you a DM
Chocci_Milk
Chocci_Milk3mo ago
We tested making requests to a store's admin api on your renan env and it looks like you haven't filled out the form for the app that its connected to:
This app is not approved to use the firstName field. See https://shopify.dev/docs/apps/launch/protected-customer-data for more details.
This app is not approved to use the firstName field. See https://shopify.dev/docs/apps/launch/protected-customer-data for more details.
RenanVSouza
RenanVSouzaOP2mo ago
Well, it is filled, though 😕
No description
Chocci_Milk
Chocci_Milk2mo ago
Whats the client id for that application?
RenanVSouza
RenanVSouzaOP2mo ago
I just changed something and saved to see if Shopify "validates" it this time 258863759361
Chocci_Milk
Chocci_Milk2mo ago
That doesn't look like a client Id The middle section doesn't seem filled out. Thats the one that matters
RenanVSouza
RenanVSouzaOP2mo ago
Sorry, 6f66260f646b737b88184520044bb81c
Chocci_Milk
Chocci_Milk2mo ago
This is what my PCDA form looks like when I fill out the optional fields
No description
RenanVSouza
RenanVSouzaOP2mo ago
Hmmm I probably assumed that the fields shown there were selected by default. That's probably it, I just selected customer name
Chocci_Milk
Chocci_Milk2mo ago
Let us know if that doesn't fix it
RenanVSouza
RenanVSouzaOP2mo ago
Yes, that was it. Thank you!
Chocci_Milk
Chocci_Milk2mo ago
No problem!

Did you find this page helpful?