We are preparing to launch gift cards in our store. To begin with, we’ll be generating a batch of gift cards using the REST Admin API to send to one of our partner companies for them to give to their customers. We’ll also be selling gift cards through our storefront.
The reports available in Shopify let us look at total amounts redeemed broken down by day. We’d like to be able to do the same thing, but to limit the reports ONLY to this initial batch of gift cards we’ll be generating through the API, and not include cards purchased through the storefront or other cards generated through the API at a later date.
Looking for guidance on any way we can make this happen. If necessary, we can maintain a list of the gift card IDs from the batch we generate so that we know which gift cards to include data from. I’ve been able to find an endpoint that shows the current and initial balances for each gift card (GET/admin/api/2020-10/gift_cards/{gift_card_id}.json), but not one that shows the purchase/refund histories.
Appreciate any help you’re able to provide!