Would be great to have a webhook for whenever a Gift Card is created or updated.
We need to pass these to an external system but right now, we’re having to listen to a series of different events and then filter out the data to see if a gift card was involved, and then make additional requests to go and fetch the specific gift card data.
Having a dedicated webhook for the the below would be super helpful:
Gift Card Created
Gift Card Updated
Gift Card Expired
Gift Card Deactivated
Curious to see how other people are handling this currently.
I’ll let other devs chime in here on how they are handling tracking state changes on Gift Cards, but FYI I’ve connected with the product team who owns this space to record this as a feature request. Totally understand how useful it would be to have!
Hey Lewis - I’ve connected with our product team on this and they’re investigating how best to approach. What would be your specific use case(s) for this webhook?
Hey @Liam-Shopify - we’re needing to keep gift cards in sync with an external platform, so knowing when changes are made to gift card via a dedicated webhook event for each event type would just make everything a lot easier to maintain and ensure we’re only querying the data we actually need.
We also have another use case where a 3rd party app is creating the gift card, but their platform doesn’t omit any events when it creates or updates it (Rise.ai in this case). They also have an incredibly low rate limit when querying against their API, so trying to sync those to an external system is also pretty tricky and requires a ton of additional queries and queue systems to be set up.
So being able to directly listen to created/updated/expired/deactivated directly from the origin source (Shopify) would make it a lot easier to manage that sync and only be notified when something specifically related to a gift card has happened.