Get Item using barcode

IanIan Posts: 2Member
I am trying to get an item via API using the barcode but am getting a Bad Request response. The format I am using is

API/Account/{AccountID}/Item?UPC=123456789012

as documented in https://developers.lightspeedhq.com/retail/introduction/introduction/

Can anyone suggest why this is not working?

3 comments

  • LeahLeah Posts: 56Moderator, Lightspeed Staff moderator
    UPC needs to be lowercase. You can also use itemCode to return all matches within itemID, upc and ean 
    API Support
    Lightspeed HQ
  • IanIan Posts: 2Member
    upc and itemCode both appear to work, thank you.

    It is, however, a little frustrating to have lost so much time due to inaccurate documentation.
  • LeahLeah Posts: 56Moderator, Lightspeed Staff moderator
    I will correct that immediately, thank you for bringing it to our attention.
    API Support
    Lightspeed HQ
Sign In or Register to comment.