Creating gift cards via the API

in Development
Hello
For our client we are busy developing a new marketing software. One of the requested features is that they should be able to give a specific client a gift card voucher (based on an action). Therefore we need to be able to create a gift card via the api. Our software with connected printer gives the user the possibility to print the gift card (barcode on it i assume?) and make it possibility to use the voucher at the bar or restaurant (lightspeed systeem ofc).
Question: can we create gift cards via the API? Do we receive a barcode we can print on the ticket? And can the lightspeed software at the bar read this specific voucher (with barcode).
Thank you for your quick answer.
Kind regards
Tags:
Answers
Hey @Stefancolins,
Unfortunately you're not able to create gift cards via the API
Adrian Samuel
Software Developer
Lightspeed HQ
Hey @Adrian Samuel
thank you for your reaction. Is there any other work around or how do you suggest to make this possible? Can we get the status of a gift card via the API of should we create gift cards in your backend and link them to the users' account in our system?
Hey @Adrian Samuel
did you see my comment?
kind regards
Hey @stefancolins,
You can search through each sale and see if there is a gift card associated with it but the data provided back is limited. If you're looking to create a redeemable gift voucher for specific customer, you might be interested in creating a loyalty card:
https://developers.lightspeedhq.com/resto-api/endpoints/corecustomer/#post-loyalty-card-for-a-customer
Adrian Samuel
Software Developer
Lightspeed HQ
Thank you for the information!