New Gift Card API

jonasverhulstjonasverhulst Member Posts: 2

Dear,

We are currenty programming an API-link between Lightspeed and Woocommerce. We were able to create a gift card in Lightspeed when bought on the Woocommerce web store. However, we are having trouble programming the other way around.

In short, we can't find an API that allows us to get the gift card barcode of gift cards that were sold in Lightspeed. Since we want to make those gift cards valid on the Woocommerce store as well, we would need them to be created in Woocommerce. Or is there another way to get a list of valid gift cards?

Best regards,

Jonas

1 comment

  • LeahLeah Moderator, Lightspeed Staff Posts: 219 moderator

    Hi @jonasverhulst, Gift cards are listed at the CreditAccount endpoint. Both credit accounts and gift cards are returned at this endpoint, so you can use the ?giftCard=true filter to return only the gift cards.

    API Support
    Lightspeed HQ
Sign In or Register to comment.