I currently have an app that’s live on the app store.
I’m using an older API version and am going to take the time to update to the latest API version (2022-10).
My app has a function that allows the user to create a draft order… However, with the new API version I get an error when trying to do that which says:
Okay fine I filled out the request form and will wait for approval.
However, I use a development strategy which involves running a duplicate app in my Partner’s dashboard that uses the same permissions - called “App Name (Testing)”
Then in my development environment I am using the API keys that come from this app. This way it lets me make breaking changes to my app without affecting customers. And I can use ngrok to view changes on my Development store.
My question is, how can I get access for my “App Name (Testing)”? Since, when I fill out the request form it tells me;
Your protected customer data access will be reviewed with your App Store Listing.
But I don’t want to submit an App Store Listing for this app, as it is just my dev one…
Anyone else run into this? Are there other development strategies that people use?
Only apps that are distributed on the App Store need to submit their access for review.
For test Apps or iff you’re installing on a development store, select your data use in step 1 to access protected customer data, in the Partner Dashboard and your App should be automatically granted.
Hi Liz, I have a published app that needs to migrate to access protected customer data.
I currently use a ‘test’ app copy (or staging app) to test features before I deploy them to my published app.
Partner support is telling me that I cannot get access to protected data until an app is published and approved — so I don’t see a way that I can test anything unless I just deploy code to my published app without testing it first. This seems totally anti-developer.
Per your response “For test Apps or iff you’re installing on a development store, select your data use in step 1 to access protected customer data, in the Partner Dashboard and your App should be automatically granted.” — partner support does not confirm this and has told me that my test apps cannot be granted access.
So…I’m totally confused about what to do. Can you help?
Please see the following documentation regarding access to protected custom data for development stores.
To access customer data in development, select the data and fields you’re using in the Partner Dashboard. You don’t need to submit your request for review for unpublished testing apps or apps that are installed only on development stores.
The proposed solution does not work for me. I completed Step 1 and selected the data I want, clicked save for Step 1, and skipped Step 2. (Still, the “Request access” button for “Protected customer data access” on the app settings page exists.) I installed the app( after saving step 1) on a development server, and reinstall it on another one, and the required permission doesn’t show up on the “grant access” page. And the call still gives this error message:
“errors”: “[API] This action requires merchant approval for read_customers scope.”
"To access customer data in development, select the data and fields you’re using in the Partner Dashboard. You don’t need to submit your request for review for unpublished testing apps or apps that are installed only on development stores."
{“errors”:“[API] This app is not approved to access REST endpoints with protected customer data. See https://partners.shopify.com/3213068/apps/65857814529/customer_data for more details.”}
even after completing Step 1, and reinstalling my app on the development store