16-12-2024 9:53 AM
Hi,
I'm trying to retrieve the product list from my seller account via the API. However, I am receiving a response indicating that I have 0 items, while I can see many listings in my eBay UI. I'm using the endpoint: https://developer.ebay.com/devzone/xml/docs/reference/ebay/GetSellerList.html to get the items.
Below I have attached the request and response to get the items, in case it helps.
Any suggestions would be really helpful.
Request body-
curl --location 'https://api.ebay.com/ws/api.dll' \
--header 'X-EBAY-API-IAF-TOKEN:*****************************************
--header 'X-EBAY-API-SITEID: 0' \
--header 'X-EBAY-API-COMPATIBILITY-LEVEL: 1371' \
--header 'X-EBAY-API-CALL-NAME: GetSellerList' \
--header 'Content-Type: application/xml' \
--header 'Cookie:*****************************************************
--data '<?xml version="1.0" encoding="utf-8"?>
apis:eBLBaseComponents">
<ErrorLanguage>en_US</ErrorLanguage>
<WarningLevel>High</WarningLevel>
<!--You can use DetailLevel or GranularityLevel in a request, but not both-->
<GranularityLevel>Coarse</GranularityLevel>
<StartTimeFrom>2024-09-21</StartTimeFrom>
<StartTimeTo>2024-11-21</StartTimeTo>
<IncludeWatchCount>true</IncludeWatchCount>
<Pagination>
<EntriesPerPage>20</EntriesPerPage>
</Pagination>
</GetSellerListRequest>
'response-
<?xml version="1.0" encoding="UTF-8"?>
apis:eBLBaseComponents">
<Timestamp>2024-11-25T10:10:54.176Z</Timestamp>
<Ack>Success</Ack>
<Version>1271</Version>
<Build>E1271_CORE_APISELLING_19187371_R1</Build>
<PaginationResult>
<TotalNumberOfPages>0</TotalNumberOfPages>
<TotalNumberOfEntries>0</TotalNumberOfEntries>
</PaginationResult>
<HasMoreItems>false</HasMoreItems>
<ItemArray/>
<ItemsPerPage>20</ItemsPerPage>
<PageNumber>1</PageNumber>
<ReturnedItemCountActual>0</ReturnedItemCountActual>
</GetSellerListResponse>
16-12-2024 10:06 AM
You have managed to land on the UK boards, and you are based in the US.
If honest I cannot assist you here, but suggest you try the US community boards https://community.ebay.com/ where you should get further help.
16-12-2024 2:13 PM
Hi @moodomedia ,
Just adding to the advice already given. There is also a forum on the developers site here on different topics for API's.
Thank you,
Kat
16-12-2024 2:51 PM