API::No inventory change logs

namthnamth Posts: 3Member
Hi all,
My client want to create a report for recevied items, however if he was manual added inventory in Lightspeed , I can not find an API method to get inventory change logs.

2 comments

  • AlexAlex Posts: 11Member
    you would have to search Item base on timeStamp
  • jamesratcliffejamesratcliffe Posts: 160Administrator, Lightspeed Staff moderator
    Hi,

    To elaborate a bit, you can filter by the timestamp on the related ItemShop records to get items whose inventory levels has changed recently.

    This example would return items whose inventory has changed since 8:00 EDT today (October 31, 2017):
    GET /API/Account/{{accountID}}/Item.json?load_relations=["ItemShops"]&ItemShops.timeStamp=>,2017-10-31T08:00:00-0400
    James Ratcliffe
    API Integrations Specialist
    Lightspeed HQ
Sign In or Register to comment.