A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I am trying to call the giftcard API request: /admin/api/2022-10/gift_cards.json
but i get this response:
Please check if your app has access to the Gift Card Resource. More info here
The Gift Card resource is available for private apps installed on Shopify Plus stores. As of API version 2021-04, the Gift Card resource is also available for custom apps installed on Shopify Plus stores.
Your app must request the write_gift_cards and read_gift_cards access scopes. Merchants that want to sell or issue gift cards also need to activate the gift card feature in the Shopify admin.
That's exactly right @jazz-jay! The scopes granted to an app can be checked via the `/admin/oauth/access_scopes.json` endpoint as well.
Hope that helps!
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