How can I send gift cards via email using a private app?

Hello Team,

Vishal Here,

I have store with URL uuashop.myshopify.com, in which I want to send a gift card to recipients on their email, for that i have made a private app. I got recipient data in order API, I want to send an email to the recipient through my custom PHP(Private App) code I want to view gift card URL for the recipient, In Shopify Notification setting backed liquid language has provide an gift_card.URL that provide a view gift card to the customer how I get gift card view URL in our private app when customer view gift card visit to https://checkout.shopify.com how I getting this URL is Our Private app email template.

If we got the value gift_card.url of in any API

Basic requirement is when customer buy a gift card email send to recipient i am trying with private app in PHP sending email with server scheduled cronjob main problem is getting gift card view URL getting in private app. if is it possible please help me.

1 Like