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

GetMyebaySelling API Not Returning Listings in Sandbox

Issue:

I added items via AddItem, AddItems, and AddFixedPriceItem. I also used RelistItem and now I'm confident that I have active listings. However, in the Sandbox environment, I can't see these listings without navigating directly to their URL, e.g., https://sandbox.ebay.com/itm/{itemId}. When accessing these URLs, I can view my listings.

GetMyebaySelling should return these listings, but the response from the endpoint does not include them:

 

xml
Copy code
<?xml version="1.0" encoding="UTF-8"?> <GetMyeBaySellingResponse xmlns="urn:ebay:apis:eBLBaseComponents"> <Timestamp>2024-06-25T20:41:47.812Z</Timestamp> <Ack>Success</Ack> <Version>1271</Version> <Build>E1271_CORE_APISELLING_19187371_R1</Build> </GetMyeBaySellingResponse>

 

 

This response does not retrieve my listings. However, using GetItem for a specific item does retrieve a single listing:

 

xml
Copy code
<?xml version="1.0" encoding="UTF-8"?> <GetItemResponse xmlns="urn:ebay:apis:eBLBaseComponents"> <Timestamp>2024-06-25T20:43:15.810Z</Timestamp> <Ack>Success</Ack> <Version>1193</Version> <Build>E1193_CORE_API_19146280_R1</Build> <Item> ... <ItemID>110555278706</ItemID> ... <Title>Harry Potter and the Infinity Stones</Title> ... </Item> </GetItemResponse>
 

It doesn't make sense that GetMyebaySelling doesn't return any of my listings while GetItem does for a specific item. I need to get all of my listings and if anyone can help me resolve this issue, I would appreciate it.
 

Thank you!

Message 1 of 4
latest reply
3 REPLIES 3

GetMyebaySelling API Not Returning Listings in Sandbox

Did you find a solution? I am having basically the same problem.

 

I've created multiple listings using the Sandbox API (and waited multiple days for the listings to turn active in case that was the problem) and get none back on any GetMyebaySelling calls with different parameters and filters. Using GetSellerList does return the listings but this method won't be useful in production due to the time constrains etc.. 

Message 2 of 4
latest reply

GetMyebaySelling API Not Returning Listings in Sandbox

Hey I am having the exact same issue,

I have tried all sorts of XML bodies

currently, I am trying this one 

<?xml version="1.0" encoding="utf-8"?>
‌‌apis:eBLBaseComponents">
  <RequesterCredentials>
    <eBayAuthToken>${accessToken}</eBayAuthToken>
  </RequesterCredentials>
  <ActiveList>
    <Sort>TimeLeft</Sort>
    <DurationInDays>100</DurationInDays>
    <Pagination>
      <EntriesPerPage>3</EntriesPerPage>
      <PageNumber>1</PageNumber>
    </Pagination>
  </ActiveList>
</GetMyeBaySellingRequest>`;

and my header looks like this 

   const response = await fetch(ebayApiUrl, {
        method: 'POST',
        headers: {
          'X-EBAY-API-CALL-NAME': callName,
          'X-EBAY-API-SITEID': '0',
          'X-EBAY-API-APP-NAME': process.env.EBAY_CLIENT_ID,
          'X-EBAY-API-DEV-NAME': process.env.EBAY_DEV_ID,
          'X-EBAY-API-CERT-NAME': process.env.EBAY_CLIENT_SECRET,
          'X-EBAY-API-COMPATIBILITY-LEVEL': '967',
          'Content-Type': 'text/xml',
        },
        body,
      });

 
but for some reason, my response is just this: 
parsedData: {
> '?xml': { '@_version': '1.0', '@_encoding': 'UTF-8' },
> GetMyeBaySellingResponse: {
> Timestamp: '2024-08-14T11:45:52.220Z',
> Ack: 'Success',
> Version: 1271,
> Build: 'E1271_CORE_APISELLING_19187371_R1',
> HardExpirationWarning: '2024-08-14 18:55:51',
> '@_xmlns': 'urn:ebay:apis:eBLBaseComponents'
> }
> }

And I as well can get the item using the GetSellerList. But the GetSellerList has application level rate limits that are too low.



 

Message 3 of 4
latest reply

GetMyebaySelling API Not Returning Listings in Sandbox

I'm in the same boat as " is-8920". Has anyone figured this out? Is it only available in production?

Message 4 of 4
latest reply