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
10360 158 2003

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
Cross-Apps
Shopify Partner
12 0 0

We are working now 2 month on a custom gift card app which is somehow blocked because we can't create any cards using the API.
Now I'm waiting for response from Shopify... and my customers are waiting for any useful information.

Our previous app was Rise.io which worked well but was too expensive for us (we have 6 shops with > 12k orders per shop).

Why is Rise.io able to use some apis which are not documented like "write_gift_card_adjustments", if I tried this scope on my app I get an error with my application.
Somehow this app is able to create gift cards on usual Shopify stores as well (not only plus) and works perfect (can use checkout gift card field etc.)
On the Shopify side I can see that a code is generated via Rise.io.

So we started working as we thought it was possible to create a custom gift card app for all Shopify stores and invested much time and money.

Please help on how to progress with this issue.

0 Likes