08-30-2024 05:42 AM
Hello eBay Developer Community,
I'm integrating eBay's REST APIs with my Node.js backend to manage and fetch inventory data. I've encountered an issue where I received a 200 status code but no data when using the getInventoryItems endpoint after listing items with a different (non-developer) account.
Thanks for your insights!
08-30-2024 03:26 PM
I could not any better way to get list of all products including current price and stock, so I am not using Inventory API for fetching items, I use it for adding/updating items only. I use trading API to get list of all products along with stock and quantity.
You can try adding 200 products and use Trading API and you will get a list of all 200 in 1 request but with Inventory API, you can get inventory items for 200 items in 1 call but only 50 offers per call, so you will need to make 4 calls. Now imagine the time it will take If you have 10,000 items and then decide which API is better for fetching items.
09-09-2024 04:29 PM
I ended up using trade API over inventory API since there's a fewer docs I found.