Cannot download all items from our inventory using any of multiple ebay APIs
We are currently utilizing the following eBay Inventory API endpoint to retrieve item details for title updates on our side:
Endpoint:
api.ebay.com/sell/inventory/v1/bulk_get_inventory_item
However, we are encountering the following error in the response when querying active items:
[message] => We didn't find the resource/entity you are requesting. Please verify the request
To assist with troubleshooting, I have attached a JSON file containing both the request and response payloads.
Today I checked one of the Item IDs in the list of around 100 products that we cannot seem to get item info on, downloaded the full list of items from ebay.com/sh/reports/downloads and verified that the item id is indeed present in the full item list. Then went into postman, and tried using https://api.ebay.com/buy/browse/v1/item/{{item_id}} for that item and was returned the response:
{
"errors": [
{
"errorId": 11001,
"domain": "API_BROWSE",
"category": "REQUEST",
"message": "The specified item Id was not found."
}
]
}
we've tried multiple APIs but cannot seem to pull all items.
My original code used the api /reports/reportRequests?reportType=ITEM&reportVersion=v4 to try to pull pages of items based on 3 month periods of time from our first product being created on ebay till the present, but even that lacked all items in the list.
Any suggestions as to why not all are accessible or better yet, what api we need to be using to pull a list of all active inventory items? we have one API that seems to return everything except for item titles and we were trying the api at the top of the page to back fill in the titles and get all but around 100. We tried emailing two people at ebay: baadnesen@ebay.com and hecollins@ebay.com but never got any response. I will try emailing them again with more information and specifics of the items we cannot seem to use API to get item information on, but I'm rather expecting to still be ignored by them.
express_med
OP9 months agoI have found a solution that works. The call i was trying to make to https://api.ebay.com/buy/browse/v1/item/{{item_id}} does indeed work, but I have to change the item id url format. The correct format needs to be like this:
https://api.ebay.com/buy/browse/v1/item/v1|{{item_id}} |0
when the item id number is prefixed by v1| and suffixed by |0 then the api call works and does return the item title for the missing downloads