Solved

Gift Cards API not working for custom app

mr-easy
Shopify Partner
10 0 3

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.

Accepted Solution (1)

Jason
Shopify Expert
11190 225 2283

This is an accepted solution.

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 in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★

View solution in original post

Replies 5 (5)

Jason
Shopify Expert
11190 225 2283

This is an accepted solution.

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 in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★
itai_handler
Shopify Partner
3 0 1

Great! Thanks @Jason 
And how one can start approaching them for that access?
Any tips to how should I talk to first? and what to say?

Zenoti
Shopify Partner
11 0 0

Hi @Jason ,

Can you please mention any contact or email or the process to avail shopify expert support?

 

Cross-Apps
Shopify Partner
22 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.

mr-easy
Shopify Partner
10 0 3

@Cross-Apps Like Jason said, Shopify Team must grant the access specifically for your app, that is the only way we could get it to work.