Sale/Receipt barcode field in API

bsperrynbsperryn Posts: 1Member
Hello, I was wondering whether it was possible to get the sale/receipt barcode from the API, I can't seem to find it.
Tags:

1 comment

  • Adrian SamuelAdrian Samuel Posts: 514Moderator, Lightspeed Staff moderator
    Hey @bsperryn, not via a JSON response, you'll have to request the HTML from the API and then parse it to get the Barcode number

    You can make your request like this:
    https://api.lightspeedapp.com/API/Account/{{accountID}}/DisplayTemplate/Sale/{{saleID}}.json?template=SaleReceipt

    Adrian Samuel

    API Integrations Consultant - Strategic Solutions

    Lightspeed HQ

Sign In or Register to comment.