Sale/Receipt barcode field in API

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

1 comment

  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 654 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:{{accountID}}/DisplayTemplate/Sale/{{saleID}}.json?template=SaleReceipt

    Adrian Samuel

    Software Developer

    Lightspeed HQ

Sign In or Register to comment.