Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Is Gift Card Query On GraphQL returning Access denied for giftCards field

Is Gift Card Query On GraphQL returning Access denied for giftCards field

TheThisThat
Shopify Partner
64 3 17

When I added the GraphQL app to my store I did not see a checkbox for permissions on gift cards but I do see that you can query for them. 

https://shopify.dev/api/admin-graphql/2022-07/objects/GiftCard#queries

https://shopify.dev/api/examples/gift-cards

How do I give permission to my graphQL app to be able to query and create gift cards?

I've tried in the release candidate and am in a shopify plus store.

 

Wondering what I missed here. Thank you kindly for any help!

a little of this and a little of that
Reply 1 (1)

Umiko
Shopify Staff
42 8 14

Hi @TheThisThat!

 

You can contact partner support here with your app ID and request the gift card scopes to be added for you. 

Umiko | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me 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