Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eBay inventory API: Get InventoryItems Always return 0 Results

Tags:

ebay-api

I have a problem about ebay API.

When I call the inventory_item API I get an empty result. My request is

https://api.ebay.com/sell/inventory/v1/inventory_item?limit=2&offset=0

Response body is:

{
    "total": 0,
    "size": 0
}

Then I call the inventory_item API By SKU, of course I failed again.

My request is:

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

(80003953 is my sku in ebay sell platform)

Response body is:

{
    "errors": [
        {
            "errorId": 25710,
            "domain": "API_INVENTORY",
            "subdomain": "Selling",
            "category": "REQUEST",
            "message": "We didn't find the entity you are requesting. Please verify the request"
        }
    ]
}

I'm confirm my authorization and sku are correct!

like image 691
Susan Cai Avatar asked Sep 02 '25 16:09

Susan Cai


1 Answers

Perhaps you are trying to get items that are created by Ebay-GUI.

This case was already discribed here

So it turns out that eBay's Inventory API is fairly new. Only items created via the Inventory API's can be queried with the Inventory API.

In my case, using the old Trading-API solved the problem.

like image 111
Giga Avatar answered Sep 08 '25 02:09

Giga