Hi all,
We are looking for guidance on the best way to retrieve warehouse inventory data via API.
Currently, we are using the Inventory Snapshot API, which generates the snapshot asynchronously and delivers the final data via an email link. While this works, the delay makes it unsuitable for use cases where inventory data is needed quickly.
Our questions are:
- Is there any supported API to retrieve warehouse inventory data without waiting for email delivery?
- Is it possible to retrieve inventory:
By location?
For all locations within a warehouse in a single API call?
- Are there any recommended alternatives or best practices for near-real-time inventory retrieval?
Thanks in advanced
Aislytics
Hello Aislytics,
There are strategies you can use for faster data updates depending on your use case such as the inventory change and inventory update webhooks, as well as filter available on the Inventory Snapshot to retrieve only relevant data. Which one is best depends on your goals. However, none of them are an instant speed transmission of the entire dataset of a warehouse inventory. The Inventory Snapshot is the most efficient method of retrieving this data.
If your concern is the email retrieval itself, you can pull the data using the API without using the email, you would just need to set up a task which checks for the availability of the snapshot data every X amount of time until the data is successfully retrieved. This would be done with the inventory_snapshot query using the snapshot_id returned from the inventory_snapshot_generate mutation.
Thanks,
Thank you @Nathan-Rhodes - we will check and back to you and the wider community if we require any more help with this - Again , thanks a lot for all help