Resend Gift Card email via API

Mircea_Piturca
Shopify Partner
1547 44 346

Hello,

Is there a way to programmatically resent gift card email confirmation via email? 

I understood there is an undocumented REST API for this but was unable to make it work: POST /admin/gift_cards/#{gift_card_id}/shares.json

We have many unused gift cards and we would like to remind customers that they can use those cards for future sale events.

Thank you

Finally—Add variant descriptions to your products
Replies 3 (3)

D7ive
Visitor
1 0 1

Ran into the same, did you manage to find a solution for this?

Echo125
Visitor
1 0 0

Any solution yet?

danbisso
Shopify Partner
1 0 0

You can send a POST request to that endpoint: 
/admin/gift_cards/<id>/shares.json
But you need to reach out to Shopify Support for them to enable the endpoint on a per-store basis.
If the endpoint not enabled for a particular store, calls to it will return a 404.