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

Inventory item getOffers() always return 404 Not Found

Hi,

when I call the Inventory API getOffer() for an online and active SKU I always received an error "404 Not Found - This Offer is not available".

I tryed with different SKU and market place but the response is always the same. 

As an example this item https://www.ebay.it/itm/264408123392 with item group SKU "VIT25DBR" and specific variation SKU "VIT25DBR 1" with:

https://api.ebay.com/sell/inventory/v1/offer?sku=VIT25DBR 1

 

Also is there is a way to retrieve all the offers?

 

Message 1 of 7
latest reply
6 REPLIES 6

Re: Inventory item getOffers() always return 404 Not Found

You don't need the '?sku=' part, and need to pass the listing ID not the SKU - try with the URL: 

https://api.ebay.com/sell/inventory/v1/offer/264408123392

 (Relevant API documentation here)

 

There's also a getOffers endpoint for getting your listings for a particular SKU, or the inventory tasks methods for getting all of the listings on your account. The second one requires setting up a task, then polling another URL until it completes before you get the results.

Message 2 of 7
latest reply

Re: Inventory item getOffers() always return 404 Not Found

Working fine for me.

zntswholesaleglobal_0-1749024921866.png

 

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 3 of 7
latest reply

Re: Inventory item getOffers() always return 404 Not Found

Hi @inuttdev ,

also calling with the listing ID is not working:

valveit_srl_0-1749025655326.png

 

I'll try the inventory task method you suggested.

 

Message 4 of 7
latest reply

Re: Inventory item getOffers() always return 404 Not Found

How did you create inventory? Via the REST API?

C# wrapper for eBay REST API
https://github.com/CMS365-PTY-LTD/EbaySharp
Message 5 of 7
latest reply

Re: Inventory item getOffers() always return 404 Not Found

Solved.

Item was not correctly migrate to new Inventory API. Need to call bulkMigrateListing to update it.

Message 6 of 7
latest reply

Re: Inventory item getOffers() always return 404 Not Found

It was an old inventary created with XML feeds.

Message 7 of 7
latest reply