Gift Cards API not working for custom app

mr-easy
Shopify Partner
4 0 1

I am developing an app that is supposed to manage gift cards for a Shopify Plus Store. At first I was using a private app and everything was working well, until there was a need to make use of App Proxy which is not supported by private apps so I had to switch to custom app. After switching to custom app and setting up the proxy, the Gift Card API starts returning 404 Not Found whenever I try to generate a Gift Card. 

According to the docs: https://shopify.dev/docs/admin-api/rest/reference/plus/giftcard, it says I have to use the latest Shopify API Version which i already configured for the library that I am using. Does anyone have a proof of the Gift Cards API working for custom app or is this an issue from the Shopify API?

If anyone has a proof of the Gift Cards API, please share your code. Also, for more information, I am using NodeJS and Shopify API Node Library (https://www.npmjs.com/package/shopify-api-node). 

Thanks in advance.

0 Likes
Jason
Shopify Expert
10354 155 1990

Gift Card API access isn't enabled out of the box - even if your app defines that scope.
You would need to request it so someone at Shopify can grant access.

Have you confirmed that your app has gift card access?

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.

Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.


★ http://freakdesign.com.au ★
0 Likes