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

Inconsistent (wrong) stock quantities from inventory_item as compared to inventory_item/{sku}

We are seeing an issue with the API and specifically the inventory_item endpoint when getting the full inventory list from it


https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/getInventoryItem...

 

We are using the inventory_item endpoint to get the ebay stock levels in bulk of all our products to see which ones we will need to update in terms of stock levels.

https://api.ebay.com/sell/inventory/v1/inventory_item

 

Since the 7th of November at roughly 23:00 (UTC) this endpoint seems to have stopped updating stock levels of the products returned in bulk as a list. Or from this point it at least seems the values returned are not correct.
The reason for my suspicion that it is not updating at all is that we from this time forward see an incrementally growing number of products being reported back with the wrong stock.
The endpoint is still returning the correct data for single SKU lookups.

 

I don't know if this could be something in our setup on ebay or a bug in the API or what might have caused it. But I'm sure this is happening.

 

As an example for one of our SKU:s, comparing it to the results when getting the data for just one product, defining the SKU:

 

This is the response from bulk getting the full inventory list on 

https://api.ebay.com/sell/inventory/v1/inventory_item

 

```
{:sku "1234",
 :locale "en_GB",
 :product {:title "product name",
           :aspects {:Brand ["brand name"], :Type ["Daily Use"]},
           :ean ["0123456789101"],
           :imageUrls ["image"]},
 :condition "NEW",
 :packageWeightAndSize {:weight {:value 0.0, :unit "KILOGRAM"}},
 :availability {:shipToLocationAvailability {:quantity 1}}}
```

 

And this is the response from the single SKU request for the same SKU on

https://api.ebay.com/sell/inventory/v1/inventory_item/{SKU}

 

```
{:sku "1234",
 :locale "en_GB",
 :product {:title "product name",
           :aspects {:Brand ["brand name"], :Type ["Daily Use"]},
           :ean ["0123456789101"],
           :imageUrls ["image"]},
 :condition "NEW",
 :packageWeightAndSize {:weight {:value 0.0, :unit "KILOGRAM"}, :shippingIrregular false},
 :availability {:shipToLocationAvailability {:quantity 3, :allocationByFormat {:auction 0, :fixedPrice 3}}}}
```

 

As you can see the quantity differs in the two responses here: 
:quantity 1 / :quantity 3

 

Calls were made within 5 seconds of eachother and there were no purchases for this SKU anywhere close to this time.


Viewing this SKU on the portal, we can see that 3 is the correct quantity (as returned from inventory_item/{sku} ) and that the bulk response with the full list of products is returning the wrong stock level (1).

 

For us calling all SKUs individually would take very long as we have a high number of SKUs on the platform, so for us this is not an option.

 

Don't know if anyone else has experienced the same issue and there is something we could do about it on our side, or if anyone at Ebay reviews this forum if this is potentially a bug.

 

Would be very thankful for any help regarding this.

Message 1 of 6
latest reply
5 REPLIES 5

Re: Inconsistent (wrong) stock quantities from inventory_item as compared to inventory_item/{sku}

I encountered the same issue; it seems that the value reported in :shipToLocationAvailability is completely made up. It doesn’t appear to be outdated.

Message 2 of 6
latest reply

Re: Inconsistent (wrong) stock quantities from inventory_item as compared to inventory_item/{sku}

The same issue is happening between getInventoryItem and getInventoryItems API calls. 

 

getInventoryItem is returning the current values but getInventoryItems is sometimes showing information that is over 2 weeks old. 

 

This is causing our system to think that hundreds of SKUs have the incorrect/outdated details. 

 

We have a 10-day old ticket open but are still waiting for a resolution. No notice of this issue on the API status page yet.

Message 3 of 6
latest reply

Re: Inconsistent (wrong) stock quantities from inventory_item as compared to inventory_item/{sku}

yup, exact same thing happening to me.

Message 4 of 6
latest reply

Re: Inconsistent (wrong) stock quantities from inventory_item as compared to inventory_item/{sku}

@hausofbrillianceDid you get any updates on your ticket?

Message 5 of 6
latest reply

Re: Inconsistent (wrong) stock quantities from inventory_item as compared to inventory_item/{sku}

We've received quite a few replies stating that they have "synchronized" the data but it does not appear to be fixed. We are providing them with rlogs and are still waiting for an actual fix.

Message 6 of 6
latest reply