Lightspeed Retail POS API - GET Gift Card by Code

TWGerardTWGerard Member Posts: 1
I am putting together an estimate for a WooCommerce plugin to allow purchases to be made with Lightspeed POS Gift Card codes. So far in the API Documentation I have not been able to find any endpoints which I could use to retrieve the Gift Card `CreditAccount` record by code rather than ID. Is this possible with the API?

1 comment

  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 653 moderator
    Hey @TWGerard

    The endpoint documentation for Gift Cards can be found here:

    You can search for specific gift card codes this way:{{accountID}}/CreditAccount.json?code={{giftCardCode}}
    So if I hard a gift card with the code: 123456789999 a valid request for this specific gift card would be:

    I hope this helps!

    Adrian Samuel

    Software Developer

    Lightspeed HQ

Sign In or Register to comment.