I'd like to access the staffMember field of the Refund object, but the documentation (https://shopify.dev/docs/api/admin-graphql/2023-04/objects/StaffMember) suggests I need to be on a Shopify Advanced store (which we are) and have the read_users permission, which should be able to be added by Shopify Support.
I tried contacting support and they weren't much use - they were suggesting we speak to Partner support but, as I'm developing custom apps that are specifically tailored for our internal system and would be of no use on any other store, we don't have a partner account.
Has anybody successfully added the read_users permission on a custom app (previously private apps)?
I know that you're just creating the single integration for the shop, but I'd highly recommend creating a partner account anyways. It's much easier to manage API client membership, it allows to to use CLI tools, there's a dedicated screen for migration reporting to notify you about the "health" of your API client (if it's making deprecated calls), you get access to App Extensions, and you get access to Partner Support to do these kind of things for you.
You can try your luck with Support, by giving them the same information (and a link to this forum post) and asking them to escalate to Partner Support — but you're generally going to have an easier time by using a partner account (which is also free).
Hope this helps!
Thanks for the reply, Shayne.
I take it this is the link: https://www.shopify.com/partners am I right?
Do I need to use the email address we used to set up our Shopify Store, or can I use my own?
Hey @Jedi_Lofty - you've got it - that's the correct link and you can definitely use your own email address if you'd like. Just to expand a tiny bit on what Shayne had mentioned, with a partner account, you can essentially get a more streamlined experience when it comes to building apps, even if they're just single integrations. There's a bit more info here on how this works through our CLI tooling that Shayne mentioned if you'd like to check that out.
But, the basic overview is that as long as you have access to your shop as a staff member or account owner who has the ability to manage/install apps, you can just create your app's basic "scaffold", including install authorization methods, etc through the partner tooling and install it on the shop as you regularly would through the merchant admin (after you create the app and generate an install link through the CLI). This might be an easier way to request access scopes, etc.
Partner Support would be able to help you out further once you have an account set up and can get in touch with some of our more technical teams on your behalf for troubleshooting further if need be - so setting up a Partner Account would be the best bet here. Hope this helps!
Al | Shopify Developer Support
I wish I'd known this before I wrote our apps - apparently they can't be transferred from our store to my partner account, but have to be recreated, so it looks like I'm just going to have to do without that functionality.
Thanks for the suggestions, though.