How to resend the gift card e-mail to the customer via API

HendersonP1
Tourist
4 0 1

Hey y'all!

We have setup our refund system and when we issue a refund back to a used gift card we would like to re-send the email containing the full gift card code to the customer. So far we have been manually going to the giftcard and click on "resend to customer" button.

We are wondering if there's a way to automate this process? The main issue is that even though we have the gift card ID the API endpoint for retrieving the gift card info only returns the last 4 digits of the gift card.

Thank you very much to the awesome community back this forum!

Replies 0 (0)