Webhook/Subscription for Retail API

rickyeckhardtrickyeckhardt Member Posts: 2

Does the Retail API support a webhook or have a subscription to watch for inventory changes?


I have a third-party app, Fitted Retail, that needs to watch for changes in inventory and then push those changes to a 3rd party app.


Is this interaction possible using the Retail API?

Tags:

4 comments

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 137 moderator

    Unfortunately, webhooks are not available for Retail yet.

    You can use the Item endpoint and load the ItemShops as a relation to get the inventory levels. To find items whose inventory has changed you can check the ItemShop's timestamp. Example:

    /Item.json?load_relations=["ItemShops"]&ItemShops.timeStamp=>,2021-05-01T00:00:00
    


  • rickyeckhardtrickyeckhardt Member Posts: 2

    Thank you for the reply.

    I'll work with that.

  • nickmurdocknickmurdock Member Posts: 2

    Is there a timeline on when webhooks will be added for the retail API?

  • Ali_MasoumieAli_Masoumie Moderator, Lightspeed Staff Posts: 137 moderator

    Hi,

    Unfortunately, we do not have an estimated time yet for when we will be adding webhooks for Retail.

Sign In or Register to comment.