The GetMyeBaySelling request is similar to the GetMyeBayBuying request: values in the request can be provided to customize the return list. A sample GetMyeBaySelling request to return active listings is illustrated below:
<?xml version="1.0" encoding="UTF-8"?> <GetMyeBaySellingRequest xmlns="urn:ebay:apis:eBLBaseComponents"> <RequesterCredentials> <eBayAuthToken>ABC...123</eBayAuthToken> </RequesterCredentials> <ActiveList> <Sort>TimeLeft</Sort> <Pagination> <EntriesPerPage>10</EntriesPerPage> <PageNumber>1</PageNumber> </Pagination> </ActiveList> </GetMyeBaySellingRequest>
The following example shows how Item
nodes appear under the ActiveList
container of the GetMyeBaySelling response.
<ActiveList> <ItemArray> <Item> <ItemID>9********3</ItemID> <ListingDetails> <ConvertedStartPrice currencyID="USD">2.89</ConvertedStartPrice> <ConvertedReservePrice currencyID="USD">0.0</ConvertedReservePrice> <StartTime>2023-07-21T18:41:04.000Z</StartTime> </ListingDetails> <ListingType>Chinese</ListingType> <Quantity>1</Quantity> <ReservePrice currencyID="MYR">0.0</ReservePrice> <SellingStatus> <ConvertedCurrentPrice currencyID="USD">2.89</ConvertedCurrentPrice> <CurrentPrice currencyID="MYR">11.0</CurrentPrice> <ReserveMet>true</ReserveMet> </SellingStatus> <StartPrice currencyID="MYR">11.0</StartPrice> <TimeLeft>PT28M17S</TimeLeft> <Title>Test Auction Title</Title> <QuantityAvailable>1</QuantityAvailable> </Item> ... more Item nodes ... </ItemArray> <PaginationResult> <TotalNumberOfPages>1147</TotalNumberOfPages> <TotalNumberOfEntries>3440</TotalNumberOfEntries> </PaginationResult> </ActiveList>