eBay Trading APIVersion 1375
 

ItemSortTypeCodeType ( token )

This enumerated type contains the possible values that can be used when sorting results in the GetItemsAwaitingFeedback, GetMyeBayBuying, and GetMyeBaySelling calls. Assume that each of sort values can be used in any of the three calls above unless it is specifically called out that a certain enumeration value will not work/is not applicable to a call.

Types that use ItemSortTypeCodeType:

Calls that use one or more values of ItemSortTypeCodeType:

Enumeration Values

Value Description
BestOffer This enumeration value is used by the buyer in a GetMyeBayBuying call to sort all Best Offers made in ascending order according to the dollar amount of the Best Offer. This sort option is only applicable if the buyer has at least one pending Best Offer on an order line item.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBaySelling calls.
BestOfferCount This enumeration value is used by the GetMyeBaySelling call to sort active listings according to the number of Best Offers that the listing has received in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
BestOfferCountDescending This enumeration value is used by the GetMyeBaySelling call to sort active listings according to the number of Best Offers that the listing has received in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
BestOfferDescending This enumeration value is used by the GetMyeBayBuying call to sort all Best Offers made in descending order according to the dollar amount of the Best Offer. This sort option is only applicable if the buyer has at least one pending Best Offer on an order line item.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBaySelling calls.
BidCount This enumeration value is used to sort auction listings according to the number of bids received in ascending order. This enumeration value is only applicable to auction listings, and is not applicable to the GetItemsAwaitingFeedback call.
BidCountDescending This enumeration value is used to sort auction listings according to the number of bids received in descending order.

This enumeration value is only applicable to auction listings, and is not applicable to the GetItemsAwaitingFeedback call.
BidderCount This enumeration value is used to sort auction listings according to the number of unique bidders in ascending order. This enumeration value is only applicable to auction listings, and is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
BidderCountDescending This enumeration value is used by the GetMyeBaySelling call to sort auction listings according to the number of unique bidders in descending order.

This enumeration value is only applicable to auction listings, and is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
BuyerEmail This enumeration value is used by the GetMyeBaySelling call to sort listings according to the buyer's email address in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls, and a buyer's email address will only be exposed to the seller within two weeks of order purchase.
BuyerEmailDescending This enumeration value is used by the GetMyeBaySelling call to sort listings according to the buyer's email address in descending order. A buyer's actual email address will only be exposed to the seller within two weeks of order purchase.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
BuyerPostalCode This enumeration value is used by the GetMyeBaySelling call to sort listings according to the buyer's location in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
BuyerPostalCodeDescending This enumeration value is used by the GetMyeBaySelling call to sort listings according to the buyer's location in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
BuyerUserID This enumeration value is used by the GetMyeBaySelling call to sort listings according to the buyer's user ID in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
BuyerUserIDDescending This enumeration value is used by the GetMyeBaySelling call to sort listings according to the buyer's user ID in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
CurrentPrice This enumeration value is used to sort listings and orders according to the current/final price in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
CurrentPriceDescending This enumeration value is used to sort listings and orders according to the current/final price in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
CustomCode Reserved for internal or future use.
EndTime This enumeration value is used to sort listings and orders according to end time in ascending order.
EndTimeDescending This enumeration value is used to sort listings and orders according to end time in descending order.
FeedbackLeft This enumeration value is used to sort orders according to the type of feedback that a user left for another user in ascending order. The Feedback ratings are defined in CommentTypeCodeType.
FeedbackLeftDescending This enumeration value is used to sort orders according to the type of feedback that a user left for another user in descending order. The Feedback ratings are defined in CommentTypeCodeType.
FeedbackReceived This enumeration value is used to sort orders according to the type of feedback that a user received in ascending order. The Feedback ratings are defined in CommentTypeCodeType.
FeedbackReceivedDescending This enumeration value is used to sort orders according to the type of feedback that a user received in descending order. The Feedback ratings are defined in CommentTypeCodeType.
HighBidderUserID This enumeration value is used to sort auction listings according to the user ID of the highest bidder in ascending order. This enumeration value is only applicable to auction listings, and is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
HighBidderUserIDDescending This enumeration value is used by the GetMyeBaySelling call to sort auction listings according to the user ID of the highest bidder in descending order.

This enumeration value is only applicable to auction listings, and is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
ItemID This enumeration value is used to sort listings and orders according to Item ID value in ascending order.
ItemIDDescending This enumeration value is used to sort listings and orders according to Item ID value in descending order.
LeadCount This enumeration value is used by the seller of a classified ad listing in a GetMyeBaySelling call to sort classified ad listings according to the total number of leads (prospective buyer inquiries) in ascending order. Each lead involves an email to the buyer, and the LeadCount value includes read and unread emails.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
LeadCountDescending This enumeration value is used by the seller of a classified ad listing in a GetMyeBaySelling call to sort classified ad listings according to the total number of leads (prospective buyer inquiries) in descending order. Each lead involves an email to the buyer, and the LeadCount value includes read and unread emails.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
ListingDuration This enumeration value is used by the GetMyeBaySelling call to sort listings according to the listing duration in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
ListingDurationDescending This enumeration value is used by the GetMyeBaySelling call to sort listings according to the listing duration in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
ListingType This enumeration value is used to sort listings and orders according to the listing type in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
ListingTypeDescending This enumeration value is used to sort listings and orders according to the listing type in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
MaxBid This enumeration value is used by a buyer to sort auction listings and orders according to the maximum bid price that they placed on an auction listing in ascending order. This enumeration value is only applicable to auction listings, and is not applicable to the GetItemsAwaitingFeedback or GetMyeBaySelling calls.
MaxBidDescending This enumeration value is used by the GetMyeBayBuying call to sort auction listings and orders according to the maximum bid price that a buyer placed on an auction listing in descending order.

This enumeration value is only applicable to auction listings, and is not applicable to the GetItemsAwaitingFeedback or GetMyeBaySelling calls.
NewLeadCount This enumeration value is used by the seller of a classified ad listing in a GetMyeBaySelling call to sort classified ad listings according to the number of new leads (prospective buyer inquiries) in ascending order. Each lead involves an email to the buyer, and the NewLeadCount value only includes unread emails.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
NewLeadCountDescending This enumeration value is used by the seller of a classified ad listing in a GetMyeBaySelling call to sort classified ad listings according to the number of new leads (prospective buyer inquiries) in descending order. Each lead involves an email to the buyer, and the NewLeadCount value only includes unread emails.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
Price This enumeration value is used to sort listings according to item price value in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
PriceDescending This enumeration value is used to sort listings according to item price value in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
Quantity This enumeration value is used to sort fixed-price listings and orders according to item quantity in ascending order. This enumeration value is only applicable to fixed-price listings, and is not applicable to the GetItemsAwaitingFeedback call.
QuantityAvailable This enumeration value is used to sort order line items according to quantity available for purchase in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call, and it is only relevant to the WatchList container of the GetMyeBayBuying call.
QuantityAvailableDescending This enumeration value is used to sort order line items according to quantity available for purchase in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call, and it is only relevant to the WatchList container of the GetMyeBayBuying call.
QuantityDescending This enumeration value is used to sort fixed-price listings and orders according to item quantity in descending order.

This enumeration value is only applicable to fixed-price listings, and is not applicable to the GetItemsAwaitingFeedback call.
QuantityPurchased This enumeration value is used to sort purchased line items according to the quantity purchased by the buyer in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
QuantityPurchasedDescending This enumeration value is used to sort purchased line items according to the quantity purchased by the buyer in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
QuantitySold This enumeration value is used by the GetMyeBaySelling call to sort order line items according to the quantity sold in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
QuantitySoldDescending This enumeration value is used by the GetMyeBaySelling call to sort order line items according to the quantity sold in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
QuestionCount This enumeration value is used by the GetMyeBaySelling call to sort listings and orders according to the number of questions that the listing has received in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
QuestionCountDescending This enumeration value is used by the GetMyeBaySelling call to sort listings and orders according to the number of questions that the listing has received in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
ReservePrice This enumeration value is used to sort auction listings and orders according to the reserve price in ascending order. This enumeration value is only applicable when a seller wants to retrieve information on their own auction listings that have reserve prices set on them. This enumeration is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
ReservePriceDescending This enumeration value is used by the GetMyeBaySelling call to sort auction listings and orders according to the reserve price in descending order. This enumeration value is only applicable when a seller wants to retrieve information on their own auction listings that have reserve prices set on them.

This enumeration is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
SellerEmail This enumeration value is used by the GetMyeBayBuying call to sort listings and orders according to the seller's email address in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBaySelling calls.
SellerEmailDescending This enumeration value is used by the GetMyeBayBuying call to sort listings and orders according to the seller's email address in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBaySelling calls.
SellerUserID This enumeration value is used to sort listings and orders according to the seller's user ID in ascending (alphabetical) order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBaySelling calls.
SellerUserIDDescending This enumeration value is used by the GetMyeBayBuying call to sort listings and orders according to the seller's user ID in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBaySelling calls.
ShippingServiceCost This enumeration value is used to sort orders according to the cost to ship one unit of the order line item in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
ShippingServiceCostDescending This enumeration value is used to sort orders according to the cost to ship one unit of the order line item in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
StartPrice This enumeration value is used to sort listings or orders according to the starting price value in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
StartPriceDescending This enumeration value is used to sort listings or orders according to the starting price value in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
StartTime This enumeration value is used to sort listings and orders according to start time in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
StartTimeDescending This enumeration value is used to sort listings and orders according to start time in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
TimeLeft This enumeration value is used to sort active listings and orders according to the time left before listing ends (in ascending order).

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
TimeLeftDescending This enumeration value is used to sort active listings and orders according to the time left before listing ends (in descending order).

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
Title This enumeration value is used to sort listings or orders according to listing title in ascending (alphabetical) order.
TitleDescending This enumeration value is used to sort listings or orders according to listing title in descending (alphabetical) order.
TotalPrice This enumeration value is used to sort orders according to item price value in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
TotalPriceDescending This enumeration value is used to sort orders according to item price value in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback call.
UserID This enumeration value is used to sort listings and orders according to the eBay user ID of the order partner/owner of listing in ascending order.
UserIDDescending This enumeration value is used to sort listings and orders according to the eBay user ID of the order partner/owner of listing in descending order.
WatchCount This enumeration value is used by the GetMyeBaySelling call to sort listings and orders according to the number of users watching the listing in ascending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
WatchCountDescending This enumeration value is used by the GetMyeBaySelling call to sort listings and orders according to the number of users watching the listing in descending order.

This enumeration value is not applicable to the GetItemsAwaitingFeedback or GetMyeBayBuying calls.
  * See the Enumeration Index to see exact use of each enumeration value in the API.