Discussions
Best method to get inventory availability?
I have a script that pulls inventory availability. Currently, I create a basic search with a filter for items that have changed in the past "x" days, so I only get items that recently had changes (such as received inventory or sales). I iterate through those and call the getItemAvailability method to grab availability. The script takes a long time to run for 2000-5000 items that change during the previous 4 days. It's about 10-15 minutes per thousand items roughly. Note that I need to know the vendor for the item to customize some data that I push to our website.