GET InventoryItems and GET InventoryItem return different quantities for the same inventory item
This is a snippet of the JSON response from https://api.ebay.com/sell/inventory/v1/inventory_item/{sku}
The quantity returned here matches my listing
"availability": {
"shipToLocationAvailability": {
"quantity": 0,
"allocationByFormat": {
"auction": 0,
"fixedPrice": 0
}
}
}
And this is a snippet of the JSON from https://api.ebay.com/sell/inventory/v1/inventory_item
Why is a quantity of 2 showing when the real quantity is 0?
midwayusa_inc
Posted 8 months ago·Last reply 6 months ago
3 comments
midwayusa_inc
OP6 months agoThe issue was that the inventory item was created via the website and those inventory items don't play nice with the RESTful APIs. They have to be migrated to work properly.
midwayusa_inc
OP7 months agoI'm still having this issue. I put in a ticket with developer support. Hopefully they'll get back to me quickly
midwayusa_inc
OP8 months agoAlso, for what it's worth the quantity is NOT set on the offer. It's set on the inventory item only.