cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

inventory_item is returning zero items?

I have a small catalog of about 3k items. For years I have been able to use the .net ebay SDK to get all inventory items from my catalog and then update inventory counts. I am rewriting everything for the newer RESTful API and now when I call inventory_item I get zero items returned.

 

{
    "total": 0,
    "size": 0
}
I am not adding any query parameters. According to the docs I should be getting a paginated response. My scores are fine. I am not getting any errors just zero items.
 
 
I can get orders out of the API. Inventory is my only issue.
Message 1 of 4
latest reply
3 REPLIES 3

inventory_item is returning zero items?

Hi @monellpets4u,

 

You can use the bulkMigrateListing call to convert existing eBay Listings to the corresponding Inventory API objects. If an eBay listing is successfully migrated to the Inventory API model, new Inventory Location, Inventory Item, and Offer objects are created and you can use the Inventory API to fetch/manage the listing.

 

For more information, refer to the guide here: https://developer.ebay.com/api-docs/sell/static/inventory/migrating-listings.html

Best Regards,
eBay Developer Support
Message 2 of 4
latest reply

inventory_item is returning zero items?

Hi Team,

We are facing a similar challenge. Is there an alternative method available to update the listings on the Seller Hub and access inventory items using getInventoryItems without relying on the bulkMigrateListing API call?


Thank you for your help!

Message 3 of 4
latest reply

inventory_item is returning zero items?

Hi Team,

 

So, if I understand correctly, when I create my listings using good ol' browser, I can't access them using RESTful API, unless I do the conversion every time I create new listings.

So, the question  is if that practise will ever change? If there will be times when we wouldn't need to do the conversion for listings creates using browsers?

 

Thanks.

Message 4 of 4
latest reply