APIs for redeeming gift cards

Highlighted
Shopify Partner
4 0 0

 

We are planning to integrate a gift card functionality in our application and we plan to use shopify for redeeming gift cards.

We plan to do this using the APIs.

We tried the /admin/gift_cards/count.json API but got the following response.

{

  "errors": "[API] That action is not currently supported."

}

 

We believe there are 2 options to redeem the gift card.

  1. We create an order in our application and take the gift card as an input. We would need to validate the gift card number and check its expiry. If valid, we deduct the gift card amount from the order amount and send the order to Shopify. We would also need to update the gift card balance.
  2. We create an order in our application and take the gift card as an input. We send these details to Shopify along with the gift card number and Shopify will handle deduction of the order value from the gift card amount and update the gift card balance.

 

Can you guide on which option to use and let us know the APIs that are supported to achieve this?

 

0 Likes
Highlighted
Shopify Partner
10 0 0

Here's the quote from the api docs:

"The Gift Card resource is currently only available to Shopify Plus Customers."

Page: https://docs.shopify.com/api/gift_card

Check if your shop is on the Shopify Plus plan (the really expensive one).

Checkend Apps :: We Build Shopify Apps :: Check us out --> https://apps.shopify.com/partners/sellonething
0 Likes
Highlighted
Shopify Partner
3 0 0

Hi Simon,

Is there a way I can use the discount API for my dev shop? Do I really need to get a shopify plus store, just so I can test my app?

Thanks.

 

0 Likes
Highlighted
New Member
3 0 0

We are facing the same issue...is this question resolved. Do we need to have the expensive shopify plus plan to just test our app for the Gift card APIs...

0 Likes