Skip to main content
Published: July 26 2006, 12:16:00 PMUpdated: July 25 2022, 5:52:07 PM

Question:

I am adding my other items in my Gallery based on the GetSellerList response. But sometimes I end up adding an item that is a Second Chance Offer. How can I avoid this?

Answer:

To find out if an item was a SecondChanceOffer item, you need to look at the Item.ListingType tag and if it is PersonalOffer, then the Item was offered as a second chance offer.  You can find out all the values of the ListingTypes from the WSDL documentation.  ListingType is returned if you set your GranularityLevel to Medium or Fine.

Here is a sample GetSellerList request:

<?xml version="1.0" encoding="utf-8"?>
<
GetSellerListRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <
GranularityLevel>Medium</GranularityLevel>
  <
Version>1123</Version>
  <
StartTimeFrom>2022-01-24T23:13:56.000Z</StartTimeFrom>
  <
StartTimeTo>2022-02-26T23:13:56.000Z</StartTimeTo>
  <
Pagination>
    <
PageNumber>1</PageNumber>
    <
EntriesPerPage>50</EntriesPerPage>
  </
Pagination>
  <
RequesterCredentials>
    <
eBayAuthToken>*****</eBayAuthToken>
  </
RequesterCredentials>
</
GetSellerListRequest>

Here is the relevant portion of the Response:
<?xml version="1.0" encoding="utf-8"?>
<
GetSellerListResponse xmlns="urn:ebay:apis:eBLBaseComponents">
  <
Timestamp>2022-04-20T18:49:51.231Z</Timestamp>
  <
Ack>Success</Ack>
  <
Version>1123</Version>
  <
Build>e469_core_Bundled_3210226_R1</Build>
  <
PaginationResult>
    <
TotalNumberOfPages>1</TotalNumberOfPages>
    <
TotalNumberOfEntries>2</TotalNumberOfEntries>
  </
PaginationResult>
  <
HasMoreItems>false</HasMoreItems>
  <
ItemArray>
    <
Item>
      ....
      <
ListingType>PersonalOffer</ListingType>
      ....
    </
Item>
    <
Item>
      ....
      <
ListingType>Chinese</ListingType>
      ....
    </
Item>
  </
ItemArray>
  <
ItemsPerPage>50</ItemsPerPage>
  <
PageNumber>1</PageNumber>
  <
ReturnedItemCountActual>2</ReturnedItemCountActual>
</
GetSellerListResponse>

 

How well did this answer your question?
Answers others found helpful

Got thoughts? Click the feedback button – your insights help us improve!