Trading API887

GetBestOffers

Use this call to retrieve details of best offers for items being sold by or being bid on by the user. Offers are selected for return based on the BestOfferStatus filter (Active by default). See Enabling Best Offer for details.

Usage Details

Options:

Note the following rules and restrictions to the use of GetBestOffers:

For more information on when email addresses are returned, see Email and Address Privacy Policy.

Testing GetBestOffers

To test GetBestOffers in the Sandbox environment, you need at least two test users---one to act as the seller, the other as the bidder.

  1. List an item using the seller test user. Create a FixedPriceItem and enable Item.BestOfferDetails.BestOfferEnabled.
  2. Have other test user submit an offer on the item using PlaceOffer. You can also use the Sandbox UI (http://sandbox.ebay.com) to place the offer.
  3. Call GetBestOffers as one of the two users, providing no ItemID or BestOfferID. You should see a list of IDs of best offers related to this user.
  4. Call GetBestOffers as one of the two users, providing ItemID but no BestOfferID. You should see a list of IDs of best offers related to that listing.

Related Information

See:
    Enabling Best Offer
    Email and Address Privacy Policy

See also the reference documentation for these calls:



Back to top

GetBestOffers Input

The box below lists all fields that could be included in the call request. To learn more about an individual field or its type, click its name in the box (or scroll down to find it in the table below the box).

See also Samples.

See also the Deprecated Objects link above. Fields presented in this color are deprecated, and fields presented in this color are (or soon will be) non-operational.

The XML prototype does not include requester credentials. This is a documentation limitation only (see Standard Requester Credentials for Making Calls).

<?xml version="1.0" encoding="utf-8"?>
<GetBestOffersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <!-- Call-specific Input Fields -->
  <BestOfferID> BestOfferIDType (string) </BestOfferID>
  <BestOfferStatus> BestOfferStatusCodeType </BestOfferStatus>
  <ItemID> ItemIDType (string) </ItemID>
  <Pagination> PaginationType
    <EntriesPerPage> int </EntriesPerPage>
    <PageNumber> int </PageNumber>
  </Pagination>
  <!-- Standard Input Fields -->
  <DetailLevel> DetailLevelCodeType </DetailLevel>
  <!-- ... more DetailLevel values allowed here ... -->
  <ErrorLanguage> string </ErrorLanguage>
  <MessageID> string </MessageID>
  <OutputSelector> string </OutputSelector>
  <!-- ... more OutputSelector values allowed here ... -->
  <Version> string </Version>
  <WarningLevel> WarningLevelCodeType </WarningLevel>
</GetBestOffersRequest>
Argument Type Occurrence Meaning
Call-specific Input Fields [Jump to standard fields]
BestOfferID BestOfferIDType (string) Optional The ID of the Best Offer for which information is to be returned. See the description of GetBestOffers for details related to who makes the request and how ItemID and BestOfferID can be omitted.
BestOfferStatus BestOfferStatusCodeType Optional This optional filter controls whether only active Best Offers are retrieved or all Best Offers (even Best Offers that were declined or all no longer the "best offer"). The "All" value can only be specified if an ItemID value is also supplied in the request.
Default: Active.

Applicable values:

Active
(in/out) Depending on context, this value can indicate that a buyer's Best Offer or a seller's counter offer is in the active state. The 'Active' value can also be used in the GetBestOffers request to retrieve only the Best Offers in the active state.
All
(in/out) This value is used in the GetBestOffers request to retrieve all Best Offers in all states.

(Not all values in BestOfferStatusCodeType apply to this field.)
ItemID ItemIDType (string) Optional The ID of the listing for which Best Offer information is to be returned. See the description of GetBestOffers for details related to who makes the request and how ItemID and BestOfferID can be omitted.
Max length: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits).
Pagination PaginationType Optional Specifies how to create virtual pages in the returned list (such as total number of entries and total number of pages to return).
Pagination.EntriesPerPage int Optional This integer value is used to specify the maximum number of entries to return in a single "page" of data. This value, along with the number of entries that match the input criteria, will determine the total pages (see PaginationResult.TotalNumberOfPages) in the result set. For most Trading API calls, the maximum value is 200 and the default value is 25 entries per page.

For GetOrders, the maximum value is 100 and the default value is 25 orders per page.

For GetUserDisputes, this value is hard-coded at 200, and any pagination input is ignored.

For GetProducts, the maximum value is 20, and any higher values are ignored.
Default: 20.
Pagination.PageNumber int Optional Specifies the number of the page of data to return in the current call. Default is 1 for most calls. For some calls, the default is 0. Specify a positive value equal to or lower than the number of pages available (which you determine by examining the results of your initial request). See the documentation for other individual calls to determine the correct default value.
Min: 1. Default: 1.
Standard Input Fields  
DetailLevel DetailLevelCodeType Optional,
repeatable: [0..*]
Detail levels are instructions that define standard subsets of data to return for particular data components (e.g., each Item, Transaction, or User) within the response payload. For example, a particular detail level might cause the response to include buyer-related data in every result (e.g., for every Item), but no seller-related data. Specifying a detail level is like using a predefined attribute list in the SELECT clause of an SQL query. Use the DetailLevel element to specify the required detail level that the client application needs pertaining to the data components that are applicable to the request.

The DetailLevelCodeType defines the global list of available detail levels for all request types. Most request types support certain detail levels or none at all. If you pass a detail level that exists in the schema but that isn't valid for a particular request, eBay ignores it processes the request without it. For each request type, see the detail level tables in the Input/Output Reference to determine which detail levels are applicable and which elements are returned for each applicable detail level.

Note that DetailLevel is required input for GetMyMessages.

With GetSellerList and other calls that retrieve large data sets, please avoid using 'ReturnAll' when possible. For example, if you use GetSellerList, use GranularityLevel instead, or use GetSellerEvents. If you do use 'ReturnAll' with GetSellerList, use a small Pagination.EntriesPerPage value and a narrow EndTimeFrom/EndTimeTo date range for better performance.

Applicable values:

ReturnAll
(in) Returns all available data. With GetSellerList and other calls that retrieve large data sets, please avoid using ReturnAll when possible. For example, if you use GetSellerList, use a GranularityLevel or use the GetSellerEvents call instead. If you use ReturnAll with GetSellerList, use a small EntriesPerPage value and a short EndTimeFrom/EndTimeTo range for better performance.

(Not all values in DetailLevelCodeType apply to this field.)
ErrorLanguage string Optional Use ErrorLanguage to return error strings for the call in a different language from the language commonly associated with the site that the requesting user is registered with. Specify the standard RFC 3066 language identification tag (e.g., en_US).

ID Country
en_AU Australia
de_AT Austria
nl_BE Belgium (Dutch)
fr_BE Belgium (French)
en_CA Canada
fr_CA Canada (French)
zh_CN China
fr_FR France
de_DE Germany
zh_HK Hong Kong
en_IN India
en_IE Ireland
it_IT Italy
nl_NL Netherlands
en_SG Singapore
es_ES Spain
de_CH Switzerland
en_GB United Kingdom
en_US United States

See Tags for the Identification of Languages.

MessageID string Optional Most Trading API calls support a MessageID element in the request and a CorrelationID element in the response. If you pass in a MessageID in a request, the same value will be returned in the CorrelationID field in the response. Pairing these values can help you track and confirm that a response is returned for every request and to match specific responses to specific requests. If you do not pass a MessageID value in the request, CorrelationID is not returned.

Note: GetCategories is designed to retrieve very large sets of metadata that change once a day or less often. To improve performance, these calls return cached responses when you request all available data (with no filters). When this occurs, the MessageID and CorrelationID fields aren't applicable. However, if you specify an input filter to reduce the amount of data returned, the calls retrieve the latest data (not cached). When this occurs, MessageID and CorrelationID are applicable.
OutputSelector string Optional,
repeatable: [0..*]
You can use the OutputSelector field to restrict the data returned by a call. This field can make the call response easier to manage, especially when a large payload is returned. If you use the OutputSelector field, the output data will only include the fields you specified in the request. For example, if you are using GetItem and you only want to retrieve the URL of the View Item page (emitted in ViewItemURL field) and the item's Buy It Now price (emitted in BuyItNowPrice field), you would include two separate OutputSelector fields and set the value for each one as 'ViewItemURL' and 'BuyItNowPrice' as in the following example:

 ...
<OutputSelector>ViewItemURL</OutputSelector>
<OutputSelector>BuyItNowPrice</OutputSelector>

...

See Selecting Fields to Retrieve.

Version string Conditional The version number of the API code that you are programming against (e.g., 859). The version you specify for a call has these basic effects:
- It indicates the version of the code lists and other data that eBay should use to process your request.
- It indicates the schema version you are using.
You need to use a version that is greater than or equal to the lowest supported version.

For the SOAP API: If you are using the SOAP API, this field is required. Specify the version of the WSDL your application is using.

For the XML API: If you are using the XML API, this field has no effect. Instead, specify the version in the X-EBAY-API-COMPATIBILITY-LEVEL HTTP header. (If you specify Version in the body of an XML API request and it is different from the value in the HTTP header, eBay returns an informational warning that the value in the HTTP header was used instead.)

See:
    Routing the Request (Gateway URLs)
    eBay Schema Versioning Strategy
    Lowest Supported Version

WarningLevel WarningLevelCodeType Optional Controls whether or not to return warnings when the application passes unrecognized or deprecated elements in a request.

An unrecognized element is one that is not defined in any supported version of the schema. Schema element names are case-sensitive, so using WarningLevel can also help you remove any potential hidden bugs within your application due to incorrect case or spelling in field names before you put your application into the Production environment.

WarningLevel only validates elements; it doesn't validate XML attributes. It also doesn't control warnings related to user-entered strings or numbers, or warnings for logical errors.

We recommend that you only use this during development and debugging. Do not use this in requests performed in the Production environment.

Applicable values:

High
(in) Return warnings when the application passes unrecognized or deprecated elements in a request.
Low
(in) Do not return warnings when the application passes unrecognized or deprecated elements in a request. This is the default value if WarningLevel is not specified.

See Warning Level.



Back to top

GetBestOffers Output

The box below lists all fields that might be returned in the response. To learn more about an individual field or its type, click its name in the box (or scroll down to find it in the table below the box).

See also Samples.

See also the Deprecated Objects link above. Fields presented in this color are deprecated, and fields presented in this color are not returned (or soon will not be returned) or are not operational (or soon will be non-operational).

<?xml version="1.0" encoding="utf-8"?>
<GetBestOffersResponse xmlns="urn:ebay:apis:eBLBaseComponents">
  <!-- Call-specific Output Fields -->
  <BestOfferArray> BestOfferArrayType
    <BestOffer> BestOfferType
      <BestOfferCodeType> BestOfferTypeCodeType </BestOfferCodeType>
      <BestOfferID> BestOfferIDType (string) </BestOfferID>
      <Buyer> UserType
        <Email> string </Email>
        <FeedbackScore> int </FeedbackScore>
        <RegistrationDate> dateTime </RegistrationDate>
        <ShippingAddress> AddressType </ShippingAddress>
        <UserID> UserIDType (string) </UserID>
      </Buyer>
      <BuyerMessage> string </BuyerMessage>
      <ExpirationTime> dateTime </ExpirationTime>
      <ImmediatePayEligible> boolean </ImmediatePayEligible>
      <NewBestOffer> boolean </NewBestOffer>
      <Price currencyID="CurrencyCodeType"> AmountType (double) </Price>
      <Quantity> int </Quantity>
      <SellerMessage> string </SellerMessage>
      <Status> BestOfferStatusCodeType </Status>
    </BestOffer>
    <!-- ... more BestOffer nodes allowed here ... -->
  </BestOfferArray>
  <Item> ItemType
    <BuyItNowPrice currencyID="CurrencyCodeType"> AmountType (double) </BuyItNowPrice>
    <Currency> CurrencyCodeType </Currency>
    <ItemID> ItemIDType (string) </ItemID>
    <ListingDetails> ListingDetailsType
      <EndTime> dateTime </EndTime>
    </ListingDetails>
  </Item>
  <ItemBestOffersArray> ItemBestOffersArrayType
    <ItemBestOffers> ItemBestOffersType
      <BestOfferArray> BestOfferArrayType
        <BestOffer> BestOfferType
          <BestOfferCodeType> BestOfferTypeCodeType </BestOfferCodeType>
          <BestOfferID> BestOfferIDType (string) </BestOfferID>
          <Buyer> UserType
            <Email> string </Email>
            <FeedbackScore> int </FeedbackScore>
            <RegistrationDate> dateTime </RegistrationDate>
            <ShippingAddress> AddressType </ShippingAddress>
            <UserID> UserIDType (string) </UserID>
          </Buyer>
          <BuyerMessage> string </BuyerMessage>
          <ExpirationTime> dateTime </ExpirationTime>
          <ImmediatePayEligible> boolean </ImmediatePayEligible>
          <NewBestOffer> boolean </NewBestOffer>
          <Price currencyID="CurrencyCodeType"> AmountType (double) </Price>
          <Quantity> int </Quantity>
          <SellerMessage> string </SellerMessage>
          <Status> BestOfferStatusCodeType </Status>
        </BestOffer>
        <!-- ... more BestOffer nodes allowed here ... -->
      </BestOfferArray>
      <Item> ItemType
        <BuyItNowPrice currencyID="CurrencyCodeType"> AmountType (double) </BuyItNowPrice>
        <Currency> CurrencyCodeType </Currency>
        <ItemID> ItemIDType (string) </ItemID>
        <ListingDetails> ListingDetailsType
          <EndTime> dateTime </EndTime>
        </ListingDetails>
      </Item>
      <Role> TradingRoleCodeType </Role>
    </ItemBestOffers>
    <!-- ... more ItemBestOffers nodes allowed here ... -->
  </ItemBestOffersArray>
  <PageNumber> int </PageNumber>
  <PaginationResult> PaginationResultType
    <TotalNumberOfEntries> int </TotalNumberOfEntries>
    <TotalNumberOfPages> int </TotalNumberOfPages>
  </PaginationResult>
  <!-- Standard Output Fields -->
  <Ack> AckCodeType </Ack>
  <Build> string </Build>
  <CorrelationID> string </CorrelationID>
  <Errors> ErrorType
    <ErrorClassification> ErrorClassificationCodeType </ErrorClassification>
    <ErrorCode> token </ErrorCode>
    <ErrorParameters ParamID="string"> ErrorParameterType
      <Value> string </Value>
    </ErrorParameters>
    <!-- ... more ErrorParameters nodes allowed here ... -->
    <LongMessage> string </LongMessage>
    <SeverityCode> SeverityCodeType </SeverityCode>
    <ShortMessage> string </ShortMessage>
  </Errors>
  <!-- ... more Errors nodes allowed here ... -->
  <HardExpirationWarning> string </HardExpirationWarning>
  <Timestamp> dateTime </Timestamp>
  <Version> string </Version>
</GetBestOffersResponse>
Return Value Type Occurrence Meaning
Call-specific Output Fields [Jump to standard fields]
BestOfferArray BestOfferArrayType Conditionally All Best Offers for the item according to the filter or Best Offer id (or both) used in the input. The buyer and seller messages are returned only if the detail level is defined. Includes the buyer and seller message only if the ReturnAll detail level is used. Only returned if Best Offers have been made.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer BestOfferType Always,
repeatable: [1..*]
For GetBestOffers, each BestOffer container consists of detailed information on the Best Offer/Counter Offer, including the type of Best Offer (Best Offer, Buyer/Seller Counter Offer), amount of the Best Offer/Counter Offer, and status of Best Offer/Counter Offer.

For RespondToBestOffer, each BestOffer container provides the status ('Success' or 'Failure') of the Best Offer action (Accept, Counter, or Decline), which are defined in BestOfferActionCodeType.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer
  .BestOfferCodeType
BestOfferTypeCodeType Always This value indicates whether the corresponding offer is a Best Offer, a seller's counter offer, or a buyer counter offer to the seller's counter offer.

Applicable values:

BuyerBestOffer
(out) This value indicates that the offer is an original Best Offer made by a prospective buyer to the seller.
BuyerCounterOffer
(out) This value indicates that the offer is a prospective buyer's counter offer against the seller's counter offer.
CustomCode
(out) Reserved for internal or future use.
SellerCounterOffer
(out) This value indicates that the offer is a seller's counter offer against the seller's original Best Offer.



DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer
  .BestOfferID
BestOfferIDType (string) Always Unique identifier for a Best Offer. This identifier is created once a prospective buyer makes a Best Offer on an item.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer.Buyer UserType Always Container consisting of information about the prospective buyer who made the Best Offer.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer.Buyer
  .Email
string Conditionally Email address for the user. Please see the links below to the topics related to anonymous user information and static email addresses. You cannot retrieve an email address for any user with whom you do not have an order relationship, regardless of site. An email address of another user is only returned if you and the other user are in an order relationship, within a certain time of order line item creation (although this limitation isn't applicable to the GetAllBidders call in the case of motor vehicles categories.) Based on Trust and Safety policies, the time is unspecified and can vary by site.

Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on.

For the order retrieval calls, the buyer's registration email address is only returned if the buyer is registered on the DE, AT, or CH sites, regardless of the seller's registration site and the site to which the seller sends the request.
Max length: 64 for US. May differ for other countries. Note: The eBay database allocates up to 128 characters for this field .

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See:
    Working with Anonymous User Information
    Static Email Addresses in Trading API Calls

BestOfferArray.BestOffer.Buyer
  .FeedbackScore
int Always The aggregate feedback score for a user. A user's feedback score is the net positive feedback minus the net negative feedback left for the user. Feedback scores are a quantitative expression of the desirability of dealing with a user as a buyer or a seller in either side of an order. Each order line item can result in one feedback entry for a given user (the buyer can leave feedback for the seller, and the seller can leave feedback for the buyer.). That one feedback can be positive, negative, or neutral. The aggregated feedback counts for a particular user represent that user's overall feedback score (referred to as a "feedback rating" on the eBay site). If the user has chosen to make their feedback private and that user is not the user identified in the request's authentication token, FeedbackScore is not returned and FeedbackPrivate is returned with a value of true.

In GetMyeBayBuying and GetMyeBaySelling, feedback information (FeedbackScore and FeedbackRatingStar) is returned in BidList.ItemArray.Item.Seller. For GetMyeBayBuying, the feedback score of each seller with an item having received a bid from the buyer is returned. For GetMyeBaySelling, the feedback score of the seller is returned.

GetMyeBayBuying and GetMyeBaySelling also return feedback information (FeedbackScore and FeedbackRatingStar) in BidList.ItemArray.Item.SellingStatus.HighBidder. GetMyeBayBuying returns feedback information on the high bidder of each item the buyer is bidding on. GetMyeBaySelling returns feedback information on the high bidder of each item the seller is selling.

Since a bidder's user info is anonymous, the real feedback score will be returned only to that bidder, and to the seller of an item that the user is bidding on. For all other users, the value -99 is returned.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See Working with Anonymous User Information.

BestOfferArray.BestOffer.Buyer
  .RegistrationDate
dateTime Always Indicates the date the specified user originally registered with eBay.

Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See Working with Anonymous User Information.

BestOfferArray.BestOffer.Buyer
  .ShippingAddress
AddressType Conditionally Contains the shipping address of a bidder who has made a best offer for an item.

You cannot retrieve a shipping address for any user with whom you do not have an order relationship, regardless of site. The shipping address of another user is returned only if you and the other user are in an order relationship, within a certain time of order line item creation.

Because a bidder's user information is anonymous, this container is returned only to that bidder, and to the seller of an item that the user is bidding on.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer.Buyer
  .UserID
UserIDType (string) Conditionally Unique eBay user ID for the user.

Since a bidder's user info is anonymous, this tag contains the actual value of an ID only for that bidder, and for the seller of an item that the user is bidding on. For other users, the actual value is replaced by an anonymous value, according to these rules:

When bidding on items, UserID is replaced with the value "a****b" where a and b are random characters from the UserID. For example, if the UserID = IBidALot, it might be displayed as, "I****A".

Note that in this format, the anonymous bidder ID can change for each auction.

For GetMyeBayBuying only, when bidding on items: UserID is replaced with the value "a****b" where a and b are random characters from the UserID.

When bidding on items listed on the the Philippines site: UserID is replaced with the value "Bidder X" where X is a number indicating the order of that user's first bid. For example, if the user was the third bidder, UserID = Bidder 3.

Note that in this Philippines site format, the anonymous bidder ID stays the same for a given auction, but is different for different auctions. For example, a bidder who is the third and then the seventh bidder in an auction will be listed for both bids as "Bidder 3". However, if that same bidder is the first bidder on a different auction, the bidder will be listed for that auction as "Bidder 1", not "Bidder 3".

For GetMyeBayBuying only, when bidding on items listed on the UK and AU sites: UserID is replaced with the string "High Bidder".

For PlaceOffer, see also SellingStatus.HighBidder.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See Working with Anonymous User Information.

BestOfferArray.BestOffer
  .BuyerMessage
string Conditionally A prospective buyer has the option to include a comment when placing a Best Offer or making a counter offer to the seller's counter offer. This field will display that comment.
Max length: 500 (in bytes).

DetailLevel: ReturnAll.
BestOfferArray.BestOffer
  .ExpirationTime
dateTime Always Timestamp indicating when a Best Offer will naturally expire (if the seller has not accepted or declined the offer).

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer
  .ImmediatePayEligible
boolean Conditionally This flag indicates if the seller is able to require immediate payment from the buyer for a Best Offer. This flag will only be returned if the Best Offer is part of eBay's Best Offer Beta program (value of NewBestOffer is 'true').

If the Immediate Payment for Best Offers feature is enabled for a listing, and a buyer's Best Offer for the item is accepted by the seller, that buyer will be expected to pay immediately for the item, or that buyer will run the risk of losing the item to another buyer since that item will remain on sale until payment is made.

For more information about the Best Offer Beta feature, see the Best Offer Beta Help Page.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer
  .NewBestOffer
boolean Conditionally The value of this boolean field will indicate whether or not the Best Offer is part of eBay's Best Offer Beta program, which allows sellers to require immediate payment from the buyer if both the seller and the buyer agree on a Best Offer. A 'true' value indicates that the Best Offer is part of the Best Offer Beta program, and a 'false' value indicates that the Best Offer is a standard Best Offer.

Currently, Immediate Payment for Best Offers will be supported by the Computers & Tablets, Jewelry & Watches, and Art categories, but this feature will get enabled in more categories going forward.

If the Immediate Payment for Best Offers feature is enabled for a listing, and a buyer's Best Offer for the item is accepted by the seller, that buyer will be expected to pay immediately for the item, or that buyer will run the risk of losing the item to another buyer since that item will remain on sale until payment is made.

For more information about the Best Offer Beta feature, see the Best Offer Beta Help Page.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer.Price AmountType (double) Always The amount of the Best Offer or counter offer.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer.Price
  [ attribute currencyID ]
CurrencyCodeType Always The amount of the Best Offer or counter offer.

For a list of possible enumeration values, see CurrencyCodeType.
BestOfferArray.BestOffer
  .Quantity
int Always The quantity of items for which the buyer is making a Best Offer.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer
  .SellerMessage
string Conditionally A seller has the option to include a comment when making a counter offer to the prospective buyer's Best Offer. This field will display that comment.
Max length: 500 (in bytes).

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
BestOfferArray.BestOffer
  .Status
BestOfferStatusCodeType Always The status of the Best Offer or counter offer. For PlaceOffer, the only applicable values are Accepted, AdminEnded, Declined, and Expired.

Applicable values:

Accepted
(out) Depending on context, this value can indicate that the buyer's Best offer was accepted by the seller, or that the seller's counter offer was accepted by the buyer.
Active
(in/out) Depending on context, this value can indicate that a buyer's Best Offer or a seller's counter offer is in the active state. The 'Active' value can also be used in the GetBestOffers request to retrieve only the Best Offers in the active state.
AdminEnded
(out) This value indicates that the Best Offer was ended by an eBay administrator.
All
(in/out) This value is used in the GetBestOffers request to retrieve all Best Offers in all states.
Countered
(out) This value indicates that a buyer's Best Offer has triggered a counter offer from the seller.
CustomCode
(out) Reserved for internal or future use.
Declined
(out) Depending on context, this value can indicate that the buyer's Best offer was declined by the seller, or that the seller's counter offer was declined by the buyer.
Expired
(out) Depending on context, this value can indicate that the buyer's Best Offer expired due to the passing of 48 hours with no seller response (accept, decline, counter offer), or that the seller's counter offer expired due to the passing of 48 hours with no buyer response (accept, decline, another Best Offer).
Pending
(out) This value indicates that the buyer's Best Offer on an item is awaiting the seller's response (accept, decline, counter offer). A buyer's Best Offer expires after 48 hours without a seller's response.
PendingBuyerConfirmation
(out) This value indicates that the seller is waiting on the buyer to commit to buying the item at the counter offer price.
PendingBuyerPayment
(out) This value indicates that the buyer has accepted the seller's counter offer, but the seller is still awaiting on payment from the buyer. If the buyer does not pay within 48 hours, the counter offer will expire.
Retracted
(out) Depending on context, this value can indicate that the buyer has retracted the Best Offer, or that the seller has retracted the counter offer.



DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
Item ItemType Conditionally The item for which Best Offers are being returned. Only returned if Best Offers have been made.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
Item.BuyItNowPrice AmountType (double) Conditionally For auction listings, the Buy It Now feature allows a user to purchase the item at a Buy It Now price and end the auction immediately. Use this field to specify the Buy It Now price. Including and specifying a BuyItNowPrice value enables the Buy It Now feature for the auction listing.

There is a minimum percentage value that the Buy It Now price must be set above the Start Price. This minimum percentage value varies by site. To see the valid values for your site, call GeteBayDetails with DetailName set to ListingStartPriceDetails, and then look for the ListingStartPriceDetails.MinBuyItNowPricePercent field in the response. If this value is 40.0 (percent), that means that your Buy It Now price on your auction listing must exceed the Start Price by 40 percent to be valid.

This feature is not applicable to fixed-price listings, Ad Format listings, or Half.com listings.

Once an auction has bids (and the high bid exceeds the Reserve Price, if specified), the listing is no longer eligible for Buy It Now (with some exceptions noted below). However, calls like GetItem still return the BuyItNowPrice that the seller originally set for the listing. Use the GetItem call and look for the inclusion of the Item.ListingDetails.BuyItNowAvailable flag in the output to determine whether the item can still be purchased using Buy It Now. You can also view the Item.SellingStatus.BidCount value in other item retrieval calls to determine whether an auction with Buy It Now has bids or not.

There might be price limits imposed for Buy It Now items, subject to the seller's PayPal account or the payment method used. Such limits cannot be determined via the eBay API and are not covered in eBay's API documentation because they can vary for each user.

To remove this value when revising or relisting an item, use DeletedField.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See:
    Seller Limits
    GeteBayDetails
    Revising US eBay Motors Listings

Item.BuyItNowPrice
  [ attribute currencyID ]
CurrencyCodeType Always For auction listings, the Buy It Now feature allows a user to purchase the item at a Buy It Now price and end the auction immediately. Use this field to specify the Buy It Now price. Including and specifying a BuyItNowPrice value enables the Buy It Now feature for the auction listing.

There is a minimum percentage value that the Buy It Now price must be set above the Start Price. This minimum percentage value varies by site. To see the valid values for your site, call GeteBayDetails with DetailName set to ListingStartPriceDetails, and then look for the ListingStartPriceDetails.MinBuyItNowPricePercent field in the response. If this value is 40.0 (percent), that means that your Buy It Now price on your auction listing must exceed the Start Price by 40 percent to be valid.

This feature is not applicable to fixed-price listings, Ad Format listings, or Half.com listings.

Once an auction has bids (and the high bid exceeds the Reserve Price, if specified), the listing is no longer eligible for Buy It Now (with some exceptions noted below). However, calls like GetItem still return the BuyItNowPrice that the seller originally set for the listing. Use the GetItem call and look for the inclusion of the Item.ListingDetails.BuyItNowAvailable flag in the output to determine whether the item can still be purchased using Buy It Now. You can also view the Item.SellingStatus.BidCount value in other item retrieval calls to determine whether an auction with Buy It Now has bids or not.

There might be price limits imposed for Buy It Now items, subject to the seller's PayPal account or the payment method used. Such limits cannot be determined via the eBay API and are not covered in eBay's API documentation because they can vary for each user.

To remove this value when revising or relisting an item, use DeletedField.

For a list of possible enumeration values, see CurrencyCodeType.
Item.Currency CurrencyCodeType Conditionally Currency associated with the item's price information. 3-letter ISO 4217 currency code that corresponds to the site specified in the listing request. Also applicable as input to AddItem and related calls when you list items to Half.com (specify USD). You cannot modify a listing's currency when you revise or relist an item.

To see the list of currently supported currency codes, call GeteBayDetails with DetailName set to CurrencyDetails, and then look for the CurrencyDetails.Currency fields in the response.

Applicable values: See Currency.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See:
    GeteBayDetails
    Field Differences for eBay Sites

Item.ItemID ItemIDType (string) Conditionally The ID that uniquely identifies the item listing. The ID is generated by eBay after an item is listed. You cannot choose or revise this value.

Also applicable to Half.com. For Half.com, you can specify either ItemID or SellerInventoryID in a ReviseItem request to uniquely identify the listing.

In order retrieval calls (such as, GetOrders), use the OrderLineItemID (which is a concatenation of ItemID and TransactionID to uniquely identify an order line item. With multi-quantity listings, a single ItemID can be associated with more than one TransactionID. (For single-quantity listings, the TransactionID is 0.)

In GetItemRecommendations, the item ID is required when the value of ListingFlow is ReviseItem or RelistItem, but it is not applicable when the value of ListingFlow is AddItem.
Note: Although we represent item IDs as strings in the schema, we recommend you store them as 64-bit signed integers. If you choose to store item IDs as strings, allocate at least 19 characters (assuming decimal digits are used) to hold them. eBay will increase the size of IDs over time. Your code should be prepared to handle IDs of up to 19 digits. For more information about item IDs, see Common FAQs on eBay Item IDs and other eBay IDs in the Knowledge Base.
Max length: 19 (Note: the eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits).

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
Item.ListingDetails ListingDetailsType Always Various details about a listing, some of which are calculated or derived after the item is listed. These include the start and end time, converted (localized) prices, and certain flags that indicate whether the seller specified fields whose values are not visible to the requesting user. For GetMyeBayBuying, returned as a self-closed element if no listings meet the request criteria.

Not applicable to Half.com.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
Item.ListingDetails.EndTime dateTime Conditionally Time stamp (in GMT) when the listing is scheduled to end (calculated based on the values of StartTime and ListingDuration) or the actual end time if the item has ended.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray ItemBestOffersArrayType Conditionally A collection of details about the Best Offers received for a specific item. Empty if there are no Best Offers.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers
ItemBestOffersType Conditionally,
repeatable: [0..*]
A collection of details about the best offers received for a specific item. Empty if there are no best offers. Includes the buyer and seller messages only if the ReturnAll detail level is used.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
BestOfferArrayType Conditionally All Best Offers for the item according to the filter or Best Offer ID (or both) used in the input. The buyer and seller messages are returned only if the detail level is defined. Includes the buyer and seller message only if detail level ReturnAll is used. Only returned if a Best Offer has been made.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer
BestOfferType Always,
repeatable: [1..*]
For GetBestOffers, each BestOffer container consists of detailed information on the Best Offer/Counter Offer, including the type of Best Offer (Best Offer, Buyer/Seller Counter Offer), amount of the Best Offer/Counter Offer, and status of Best Offer/Counter Offer.

For RespondToBestOffer, each BestOffer container provides the status ('Success' or 'Failure') of the Best Offer action (Accept, Counter, or Decline), which are defined in BestOfferActionCodeType.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.BestOfferCodeType
BestOfferTypeCodeType Always This value indicates whether the corresponding offer is a Best Offer, a seller's counter offer, or a buyer counter offer to the seller's counter offer.

Applicable values:

BuyerBestOffer
(out) This value indicates that the offer is an original Best Offer made by a prospective buyer to the seller.
BuyerCounterOffer
(out) This value indicates that the offer is a prospective buyer's counter offer against the seller's counter offer.
CustomCode
(out) Reserved for internal or future use.
SellerCounterOffer
(out) This value indicates that the offer is a seller's counter offer against the seller's original Best Offer.



DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.BestOfferID
BestOfferIDType (string) Always Unique identifier for a Best Offer. This identifier is created once a prospective buyer makes a Best Offer on an item.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Buyer
UserType Always Container consisting of information about the prospective buyer who made the Best Offer.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Buyer.Email
string Conditionally Email address for the user. Please see the links below to the topics related to anonymous user information and static email addresses. You cannot retrieve an email address for any user with whom you do not have an order relationship, regardless of site. An email address of another user is only returned if you and the other user are in an order relationship, within a certain time of order line item creation (although this limitation isn't applicable to the GetAllBidders call in the case of motor vehicles categories.) Based on Trust and Safety policies, the time is unspecified and can vary by site.

Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on.

For the order retrieval calls, the buyer's registration email address is only returned if the buyer is registered on the DE, AT, or CH sites, regardless of the seller's registration site and the site to which the seller sends the request.
Max length: 64 for US. May differ for other countries. Note: The eBay database allocates up to 128 characters for this field .

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See:
    Working with Anonymous User Information
    Static Email Addresses in Trading API Calls

ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Buyer.FeedbackScore
int Always The aggregate feedback score for a user. A user's feedback score is the net positive feedback minus the net negative feedback left for the user. Feedback scores are a quantitative expression of the desirability of dealing with a user as a buyer or a seller in either side of an order. Each order line item can result in one feedback entry for a given user (the buyer can leave feedback for the seller, and the seller can leave feedback for the buyer.). That one feedback can be positive, negative, or neutral. The aggregated feedback counts for a particular user represent that user's overall feedback score (referred to as a "feedback rating" on the eBay site). If the user has chosen to make their feedback private and that user is not the user identified in the request's authentication token, FeedbackScore is not returned and FeedbackPrivate is returned with a value of true.

In GetMyeBayBuying and GetMyeBaySelling, feedback information (FeedbackScore and FeedbackRatingStar) is returned in BidList.ItemArray.Item.Seller. For GetMyeBayBuying, the feedback score of each seller with an item having received a bid from the buyer is returned. For GetMyeBaySelling, the feedback score of the seller is returned.

GetMyeBayBuying and GetMyeBaySelling also return feedback information (FeedbackScore and FeedbackRatingStar) in BidList.ItemArray.Item.SellingStatus.HighBidder. GetMyeBayBuying returns feedback information on the high bidder of each item the buyer is bidding on. GetMyeBaySelling returns feedback information on the high bidder of each item the seller is selling.

Since a bidder's user info is anonymous, the real feedback score will be returned only to that bidder, and to the seller of an item that the user is bidding on. For all other users, the value -99 is returned.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See Working with Anonymous User Information.

ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Buyer
  .RegistrationDate
dateTime Always Indicates the date the specified user originally registered with eBay.

Since a bidder's user info is anonymous, this tag will be returned only to that bidder, and to the seller of an item that the user is bidding on.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See Working with Anonymous User Information.

ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Buyer
  .ShippingAddress
AddressType Conditionally Contains the shipping address of a bidder who has made a best offer for an item.

You cannot retrieve a shipping address for any user with whom you do not have an order relationship, regardless of site. The shipping address of another user is returned only if you and the other user are in an order relationship, within a certain time of order line item creation.

Because a bidder's user information is anonymous, this container is returned only to that bidder, and to the seller of an item that the user is bidding on.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Buyer.UserID
UserIDType (string) Conditionally Unique eBay user ID for the user.

Since a bidder's user info is anonymous, this tag contains the actual value of an ID only for that bidder, and for the seller of an item that the user is bidding on. For other users, the actual value is replaced by an anonymous value, according to these rules:

When bidding on items, UserID is replaced with the value "a****b" where a and b are random characters from the UserID. For example, if the UserID = IBidALot, it might be displayed as, "I****A".

Note that in this format, the anonymous bidder ID can change for each auction.

For GetMyeBayBuying only, when bidding on items: UserID is replaced with the value "a****b" where a and b are random characters from the UserID.

When bidding on items listed on the the Philippines site: UserID is replaced with the value "Bidder X" where X is a number indicating the order of that user's first bid. For example, if the user was the third bidder, UserID = Bidder 3.

Note that in this Philippines site format, the anonymous bidder ID stays the same for a given auction, but is different for different auctions. For example, a bidder who is the third and then the seventh bidder in an auction will be listed for both bids as "Bidder 3". However, if that same bidder is the first bidder on a different auction, the bidder will be listed for that auction as "Bidder 1", not "Bidder 3".

For GetMyeBayBuying only, when bidding on items listed on the UK and AU sites: UserID is replaced with the string "High Bidder".

For PlaceOffer, see also SellingStatus.HighBidder.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See Working with Anonymous User Information.

ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.BuyerMessage
string Conditionally A prospective buyer has the option to include a comment when placing a Best Offer or making a counter offer to the seller's counter offer. This field will display that comment.
Max length: 500 (in bytes).

DetailLevel: ReturnAll.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.ExpirationTime
dateTime Always Timestamp indicating when a Best Offer will naturally expire (if the seller has not accepted or declined the offer).

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer
  .ImmediatePayEligible
boolean Conditionally This flag indicates if the seller is able to require immediate payment from the buyer for a Best Offer. This flag will only be returned if the Best Offer is part of eBay's Best Offer Beta program (value of NewBestOffer is 'true').

If the Immediate Payment for Best Offers feature is enabled for a listing, and a buyer's Best Offer for the item is accepted by the seller, that buyer will be expected to pay immediately for the item, or that buyer will run the risk of losing the item to another buyer since that item will remain on sale until payment is made.

For more information about the Best Offer Beta feature, see the Best Offer Beta Help Page.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.NewBestOffer
boolean Conditionally The value of this boolean field will indicate whether or not the Best Offer is part of eBay's Best Offer Beta program, which allows sellers to require immediate payment from the buyer if both the seller and the buyer agree on a Best Offer. A 'true' value indicates that the Best Offer is part of the Best Offer Beta program, and a 'false' value indicates that the Best Offer is a standard Best Offer.

Currently, Immediate Payment for Best Offers will be supported by the Computers & Tablets, Jewelry & Watches, and Art categories, but this feature will get enabled in more categories going forward.

If the Immediate Payment for Best Offers feature is enabled for a listing, and a buyer's Best Offer for the item is accepted by the seller, that buyer will be expected to pay immediately for the item, or that buyer will run the risk of losing the item to another buyer since that item will remain on sale until payment is made.

For more information about the Best Offer Beta feature, see the Best Offer Beta Help Page.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Price
AmountType (double) Always The amount of the Best Offer or counter offer.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Price
  [ attribute currencyID ]
CurrencyCodeType Always The amount of the Best Offer or counter offer.

For a list of possible enumeration values, see CurrencyCodeType.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Quantity
int Always The quantity of items for which the buyer is making a Best Offer.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.SellerMessage
string Conditionally A seller has the option to include a comment when making a counter offer to the prospective buyer's Best Offer. This field will display that comment.
Max length: 500 (in bytes).

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.BestOfferArray
  .BestOffer.Status
BestOfferStatusCodeType Always The status of the Best Offer or counter offer. For PlaceOffer, the only applicable values are Accepted, AdminEnded, Declined, and Expired.

Applicable values:

Accepted
(out) Depending on context, this value can indicate that the buyer's Best offer was accepted by the seller, or that the seller's counter offer was accepted by the buyer.
Active
(in/out) Depending on context, this value can indicate that a buyer's Best Offer or a seller's counter offer is in the active state. The 'Active' value can also be used in the GetBestOffers request to retrieve only the Best Offers in the active state.
AdminEnded
(out) This value indicates that the Best Offer was ended by an eBay administrator.
All
(in/out) This value is used in the GetBestOffers request to retrieve all Best Offers in all states.
Countered
(out) This value indicates that a buyer's Best Offer has triggered a counter offer from the seller.
CustomCode
(out) Reserved for internal or future use.
Declined
(out) Depending on context, this value can indicate that the buyer's Best offer was declined by the seller, or that the seller's counter offer was declined by the buyer.
Expired
(out) Depending on context, this value can indicate that the buyer's Best Offer expired due to the passing of 48 hours with no seller response (accept, decline, counter offer), or that the seller's counter offer expired due to the passing of 48 hours with no buyer response (accept, decline, another Best Offer).
Pending
(out) This value indicates that the buyer's Best Offer on an item is awaiting the seller's response (accept, decline, counter offer). A buyer's Best Offer expires after 48 hours without a seller's response.
PendingBuyerConfirmation
(out) This value indicates that the seller is waiting on the buyer to commit to buying the item at the counter offer price.
PendingBuyerPayment
(out) This value indicates that the buyer has accepted the seller's counter offer, but the seller is still awaiting on payment from the buyer. If the buyer does not pay within 48 hours, the counter offer will expire.
Retracted
(out) Depending on context, this value can indicate that the buyer has retracted the Best Offer, or that the seller has retracted the counter offer.



DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.Item
ItemType Conditionally The item for which Best Offers are being returned. Only returned if a Best Offer has been made.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.Item
  .BuyItNowPrice
AmountType (double) Conditionally For auction listings, the Buy It Now feature allows a user to purchase the item at a Buy It Now price and end the auction immediately. Use this field to specify the Buy It Now price. Including and specifying a BuyItNowPrice value enables the Buy It Now feature for the auction listing.

There is a minimum percentage value that the Buy It Now price must be set above the Start Price. This minimum percentage value varies by site. To see the valid values for your site, call GeteBayDetails with DetailName set to ListingStartPriceDetails, and then look for the ListingStartPriceDetails.MinBuyItNowPricePercent field in the response. If this value is 40.0 (percent), that means that your Buy It Now price on your auction listing must exceed the Start Price by 40 percent to be valid.

This feature is not applicable to fixed-price listings, Ad Format listings, or Half.com listings.

Once an auction has bids (and the high bid exceeds the Reserve Price, if specified), the listing is no longer eligible for Buy It Now (with some exceptions noted below). However, calls like GetItem still return the BuyItNowPrice that the seller originally set for the listing. Use the GetItem call and look for the inclusion of the Item.ListingDetails.BuyItNowAvailable flag in the output to determine whether the item can still be purchased using Buy It Now. You can also view the Item.SellingStatus.BidCount value in other item retrieval calls to determine whether an auction with Buy It Now has bids or not.

There might be price limits imposed for Buy It Now items, subject to the seller's PayPal account or the payment method used. Such limits cannot be determined via the eBay API and are not covered in eBay's API documentation because they can vary for each user.

To remove this value when revising or relisting an item, use DeletedField.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See:
    Seller Limits
    GeteBayDetails
    Revising US eBay Motors Listings

ItemBestOffersArray
  .ItemBestOffers.Item
  .BuyItNowPrice
  [ attribute currencyID ]
CurrencyCodeType Always For auction listings, the Buy It Now feature allows a user to purchase the item at a Buy It Now price and end the auction immediately. Use this field to specify the Buy It Now price. Including and specifying a BuyItNowPrice value enables the Buy It Now feature for the auction listing.

There is a minimum percentage value that the Buy It Now price must be set above the Start Price. This minimum percentage value varies by site. To see the valid values for your site, call GeteBayDetails with DetailName set to ListingStartPriceDetails, and then look for the ListingStartPriceDetails.MinBuyItNowPricePercent field in the response. If this value is 40.0 (percent), that means that your Buy It Now price on your auction listing must exceed the Start Price by 40 percent to be valid.

This feature is not applicable to fixed-price listings, Ad Format listings, or Half.com listings.

Once an auction has bids (and the high bid exceeds the Reserve Price, if specified), the listing is no longer eligible for Buy It Now (with some exceptions noted below). However, calls like GetItem still return the BuyItNowPrice that the seller originally set for the listing. Use the GetItem call and look for the inclusion of the Item.ListingDetails.BuyItNowAvailable flag in the output to determine whether the item can still be purchased using Buy It Now. You can also view the Item.SellingStatus.BidCount value in other item retrieval calls to determine whether an auction with Buy It Now has bids or not.

There might be price limits imposed for Buy It Now items, subject to the seller's PayPal account or the payment method used. Such limits cannot be determined via the eBay API and are not covered in eBay's API documentation because they can vary for each user.

To remove this value when revising or relisting an item, use DeletedField.

For a list of possible enumeration values, see CurrencyCodeType.
ItemBestOffersArray
  .ItemBestOffers.Item.Currency
CurrencyCodeType Conditionally Currency associated with the item's price information. 3-letter ISO 4217 currency code that corresponds to the site specified in the listing request. Also applicable as input to AddItem and related calls when you list items to Half.com (specify USD). You cannot modify a listing's currency when you revise or relist an item.

To see the list of currently supported currency codes, call GeteBayDetails with DetailName set to CurrencyDetails, and then look for the CurrencyDetails.Currency fields in the response.

Applicable values: See Currency.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.

See:
    GeteBayDetails
    Field Differences for eBay Sites

ItemBestOffersArray
  .ItemBestOffers.Item.ItemID
ItemIDType (string) Conditionally The ID that uniquely identifies the item listing. The ID is generated by eBay after an item is listed. You cannot choose or revise this value.

Also applicable to Half.com. For Half.com, you can specify either ItemID or SellerInventoryID in a ReviseItem request to uniquely identify the listing.

In order retrieval calls (such as, GetOrders), use the OrderLineItemID (which is a concatenation of ItemID and TransactionID to uniquely identify an order line item. With multi-quantity listings, a single ItemID can be associated with more than one TransactionID. (For single-quantity listings, the TransactionID is 0.)

In GetItemRecommendations, the item ID is required when the value of ListingFlow is ReviseItem or RelistItem, but it is not applicable when the value of ListingFlow is AddItem.
Note: Although we represent item IDs as strings in the schema, we recommend you store them as 64-bit signed integers. If you choose to store item IDs as strings, allocate at least 19 characters (assuming decimal digits are used) to hold them. eBay will increase the size of IDs over time. Your code should be prepared to handle IDs of up to 19 digits. For more information about item IDs, see Common FAQs on eBay Item IDs and other eBay IDs in the Knowledge Base.
Max length: 19 (Note: the eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits).

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.Item
  .ListingDetails
ListingDetailsType Always Various details about a listing, some of which are calculated or derived after the item is listed. These include the start and end time, converted (localized) prices, and certain flags that indicate whether the seller specified fields whose values are not visible to the requesting user. For GetMyeBayBuying, returned as a self-closed element if no listings meet the request criteria.

Not applicable to Half.com.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.Item
  .ListingDetails.EndTime
dateTime Conditionally Time stamp (in GMT) when the listing is scheduled to end (calculated based on the values of StartTime and ListingDuration) or the actual end time if the item has ended.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
ItemBestOffersArray
  .ItemBestOffers.Role
TradingRoleCodeType Conditionally Indicates whether the eBay user is in the Buyer or Seller role for the corresponding Best Offer.

Applicable values:

Buyer
(in/out) The eBay user is acting as the buyer for the order(s). In GetOrders, this value should be passed into the OrderRole field in the request to retrieve orders in which the calling eBay user is the buyer in the order.
CustomCode
(in/out) This value is reserved for future or internal use.
Seller
(in/out) The eBay user is acting as the seller for the order(s). In GetOrders, this value should be passed into the OrderRole field in the request to retrieve orders in which the calling eBay user is the seller in the order.



DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
PageNumber int Conditionally Specifies the number of the page of data to return in the response. Default is 1 for most calls. For some calls, the default is 0. Specify a positive value equal to or lower than the number of pages available (which you determine by examining the results of your initial request). See the documentation for other individual calls to determine the correct default value. For GetOrders, PageNumber is only applicable to Half.com (is not applicable to eBay.com).
Min: 1. Default: 1.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
PaginationResult PaginationResultType Conditionally Provides information about the data returned, including the number of pages and the number of entries.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
PaginationResult
  .TotalNumberOfEntries
int Conditionally Indicates the total number of entries that could be returned by repeated call requests. Returned with a value of 0 if no entries are available.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
PaginationResult
  .TotalNumberOfPages
int Conditionally Indicates the total number of pages of data that could be returned by repeated requests. Returned with a value of 0 if no pages are available.

DetailLevel: ReturnAll. Also returned if DetailLevel is not provided on input.
Standard Output Fields  
Ack AckCodeType Always A token representing the application-level acknowledgement code that indicates the response status (e.g., success). The AckCodeType list specifies the possible values for the Ack field.

Applicable values:

CustomCode
(out) Reserved for internal or future use.
Failure
(out) Request processing failed
Success
(out) Request processing succeeded
Warning
(out) Request processing completed with warning information being included in the response message

(Not all values in AckCodeType apply to this field.)
Build string Always This refers to the specific software build that eBay used when processing the request and generating the response. This includes the version number plus additional information. eBay Developer Support may request the build information when helping you resolve technical issues.
CorrelationID string Conditionally Most Trading API calls support a MessageID element in the request and a CorrelationID element in the response. If you pass in a MessageID in a request, the same value will be returned in the CorrelationID field in the response. Pairing these values can help you track and confirm that a response is returned for every request and to match specific responses to specific requests. If you do not pass a MessageID value in the request, CorrelationID is not returned.

Note: GetCategories is designed to retrieve very large sets of metadata that change once a day or less often. To improve performance, these calls return cached responses when you request all available data (with no filters). When this occurs, the MessageID and CorrelationID fields aren't applicable. However, if you specify an input filter to reduce the amount of data returned, the calls retrieve the latest data (not cached). When this occurs, MessageID and CorrelationID are applicable.
Errors ErrorType Conditionally,
repeatable: [0..*]
A list of application-level errors (if any) that occurred when eBay processed the request.

See Error Handling.

Errors.ErrorClassification ErrorClassificationCodeType Conditionally API errors are divided between two classes: system errors and request errors.

Applicable values:

CustomCode
(out) Reserved for internal or future use.
RequestError
(out) An error has occurred either as a result of a problem in the sending application or because the application's end-user has attempted to submit invalid data (or missing data). In these cases, do not retry the request. The problem must be corrected before the request can be made again. If the problem is due to something in the application (such as a missing required field), the application must be changed. If the problem is a result of end-user data, the application must alert the end-user to the problem and provide the means for the end-user to correct the data. Once the problem in the application or data is resolved, resend the request to eBay with the corrected data.
SystemError
(out) Indicates that an error has occurred on the eBay system side, such as a database or server down. An application can retry the request as-is a reasonable number of times (eBay recommends twice). If the error persists, contact Developer Technical Support. Once the problem has been resolved, the request may be resent in its original form.

Errors.ErrorCode token Conditionally A unique code that identifies the particular error condition that occurred. Your application can use error codes as identifiers in your customized error-handling algorithms. See the "Errors by Number" document.
Errors.ErrorParameters ErrorParameterType Conditionally,
repeatable: [0..*]
This optional element carries a list of context-specific error variables that indicate details about the error condition. These are useful when multiple instances of ErrorType are returned.
Errors.ErrorParameters
  [ attribute ParamID ]
string Conditionally This optional element carries a list of context-specific error variables that indicate details about the error condition. These are useful when multiple instances of ErrorType are returned.
Errors.ErrorParameters.Value string Conditionally The value of the variable (e.g., the attribute set ID)
Errors.LongMessage string Conditionally A more detailed description of the condition that raised the error.
Errors.SeverityCode SeverityCodeType Conditionally Indicates whether the error is a severe error (causing the request to fail) or an informational error (a warning) that should be communicated to the user.

Applicable values:

CustomCode
(out) Reserved for internal or future use.
Error
(out) The request that triggered the error was not processed successfully. When a serious application-level error occurs, the error is returned instead of the business data.

If the source of the problem is within the application (such as a missing required element), change the application before you retry the request.
  • If the problem is due to end-user input data, please alert the end-user to the problem and provide the means for them to correct the data. Once the problem in the application or data is resolved, you can attempt to re-send the request to eBay.
  • If the source of the problem is on eBay's side, An application can retry the request as-is a reasonable number of times (eBay recommends twice). If the error persists, contact Developer Technical Support. Once the problem has been resolved, the request may be resent in its original form.


See the Compatible Application Check section of the eBay Features Guide for more information.
Warning
(out) The request was processed successfully, but something occurred that may affect your application or the user. For example, eBay may have changed a value the user sent in. In this case, eBay returns a normal, successful response and also returns the warning.

When a warning occurs, the error is returned in addition to the business data. In this case, you do not need to retry the request (as the original request was successful). However, depending on the cause or nature of the warning, you might need to contact either the end user or eBay to effect a long term solution to the problem to prevent it from reoccurring in the future.

Errors.ShortMessage string Conditionally A brief description of the condition that raised the error.
HardExpirationWarning string Conditionally Expiration date of the user's authentication token. Only returned within the 7-day period prior to a token's expiration. To ensure that user authentication tokens are secure and to help avoid a user's token being compromised, tokens have a limited life span. A token is only valid for a period of time (set by eBay). After this amount of time has passed, the token expires and must be replaced with a new token.
Timestamp dateTime Always This value represents the date and time when eBay processed the request. The time zone of this value is GMT and the format is the ISO 8601 date and time format (YYYY-MM-DDTHH:MM:SS.SSSZ). See the Time Values section in the eBay Features Guide for information about this time format and converting to and from the GMT time zone.

Note: GetCategories and other Trading API calls are designed to retrieve very large sets of metadata that change once a day or less often. To improve performance, these calls return cached responses when you request all available data (with no filters). When this occurs, this time value reflects the time the cached response was created. Thus, this value is not necessarily when the request was processed. However, if you specify an input filter to reduce the amount of data returned, the calls retrieve the latest data (not cached). When this occurs, this time value does reflect when the request was processed.
Version string Always The version of the response payload schema. Indicates the version of the schema that eBay used to process the request. See the Standard Data for All Calls section in the eBay Features Guide for information on using the response version when troubleshooting CustomCode values that appear in the response.



Back to top

GetBestOffers Detail Controls


DetailLevel

The DetailLevel input field influences which call-specific fields may be returned. (All standard output fields are returned regardless of DetailLevel.)

The none column indicates the fields that are returned when you do not specify a DetailLevel.

YThe field is always returned.
(Y)The field is conditionally returned. See the field documentation for clarification of conditions.
-The field is not returned.

Output Field none ReturnAll
BestOfferArray(Y)(Y)
BestOfferArray.BestOfferYY
BestOfferArray.BestOffer.BestOfferCodeTypeYY
BestOfferArray.BestOffer.BestOfferIDYY
BestOfferArray.BestOffer.BuyerYY
BestOfferArray.BestOffer.Buyer.Email(Y)(Y)
BestOfferArray.BestOffer.Buyer.FeedbackScoreYY
BestOfferArray.BestOffer.Buyer.RegistrationDateYY
BestOfferArray.BestOffer.Buyer.ShippingAddress(Y)(Y)
BestOfferArray.BestOffer.Buyer.UserID(Y)(Y)
BestOfferArray.BestOffer.BuyerMessage-(Y)
BestOfferArray.BestOffer.ExpirationTimeYY
BestOfferArray.BestOffer.ImmediatePayEligible(Y)(Y)
BestOfferArray.BestOffer.NewBestOffer(Y)(Y)
BestOfferArray.BestOffer.PriceYY
BestOfferArray.BestOffer.QuantityYY
BestOfferArray.BestOffer.SellerMessage(Y)(Y)
BestOfferArray.BestOffer.StatusYY
Item(Y)(Y)
Item.BuyItNowPrice(Y)(Y)
Item.Currency(Y)(Y)
Item.ItemID(Y)(Y)
Item.ListingDetailsYY
Item.ListingDetails.EndTime(Y)(Y)
ItemBestOffersArray(Y)(Y)
ItemBestOffersArray.ItemBestOffers(Y)(Y)
ItemBestOffersArray.ItemBestOffers.BestOfferArray(Y)(Y)
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOfferYY
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer
  .BestOfferCodeType
YY
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer
  .BestOfferID
YY
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer.BuyerYY
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer.Buyer
  .Email
(Y)(Y)
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer.Buyer
  .FeedbackScore
YY
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer.Buyer
  .RegistrationDate
YY
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer.Buyer
  .ShippingAddress
(Y)(Y)
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer.Buyer
  .UserID
(Y)(Y)
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer
  .BuyerMessage
-(Y)
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer
  .ExpirationTime
YY
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer
  .ImmediatePayEligible
(Y)(Y)
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer
  .NewBestOffer
(Y)(Y)
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer.PriceYY
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer
  .Quantity
YY
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer
  .SellerMessage
(Y)(Y)
ItemBestOffersArray.ItemBestOffers.BestOfferArray.BestOffer
  .Status
YY
ItemBestOffersArray.ItemBestOffers.Item(Y)(Y)
ItemBestOffersArray.ItemBestOffers.Item.BuyItNowPrice(Y)(Y)
ItemBestOffersArray.ItemBestOffers.Item.Currency(Y)(Y)
ItemBestOffersArray.ItemBestOffers.Item.ItemID(Y)(Y)
ItemBestOffersArray.ItemBestOffers.Item.ListingDetailsYY
ItemBestOffersArray.ItemBestOffers.Item.ListingDetails.EndTime(Y)(Y)
ItemBestOffersArray.ItemBestOffers.Role(Y)(Y)
PageNumber(Y)(Y)
PaginationResult(Y)(Y)
PaginationResult.TotalNumberOfEntries(Y)(Y)
PaginationResult.TotalNumberOfPages(Y)(Y)



Back to top

GetBestOffers Samples

New to making API calls? Please see Routing the Request.

Note: Some item IDs, user IDs, or other data in these samples might no longer be active on eBay. If necessary, you can substitute current eBay data in your requests.

Sample: Basic Call

Returns all the best offers made for a particular ItemID.

Description

The following call queries for all best offers made for a particular ItemID. DetailLevel is set to ReturnAll, which causes the response to include all messages from prospective buyers, if they exist.

Input

XML format (HTTP POST). Also available are the .txt version of this XML.

<?xml version="1.0" encoding="utf-8"?>
<GetBestOffersRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <RequesterCredentials>
    <eBayAuthToken>ABC...123</eBayAuthToken>
  </RequesterCredentials>
  <ItemID>704268440</ItemID>
  <DetailLevel>ReturnAll</DetailLevel>
  <BestOfferStatus>All</BestOfferStatus>
</GetBestOffersRequest>

Output

XML format.
<?xml version="1.0" encoding="UTF-8" ?>
<GetBestOffersResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2007-12-11T18:50:14.956Z</Timestamp>
<Ack>Success</Ack>
<Version>539</Version>
<Build>e539_core_Bundled_5642307_R1</Build>
<BestOfferArray>
  <BestOffer>
    <BestOfferID>2068807</BestOfferID>
    <ExpirationTime>2007-12-13T18:44:53.000Z</ExpirationTime>
    <Buyer>
      <Email>booksgalorebuyer@yahoo.com</Email>
      <FeedbackScore>500</FeedbackScore>
      <RegistrationDate>1995-01-01T00:00:00.000Z</RegistrationDate>
      <UserID>testuser_booksgalorebuyer</UserID>
    </Buyer>
    <Price currencyID="USD">15.0</Price>
    <Status>Pending</Status>
    <Quantity>1</Quantity>
    <BestOfferCodeType>BuyerBestOffer</BestOfferCodeType>
  </BestOffer>
  <BestOffer>
    <BestOfferID>2068806</BestOfferID>
    <ExpirationTime>2007-12-13T18:44:16.000Z</ExpirationTime>
    <Buyer>
      <Email>testuser_braggybuyer@yahoo.com</Email>
      <FeedbackScore>1</FeedbackScore>
      <RegistrationDate>2004-02-05T00:00:00.000Z</RegistrationDate>
      <UserID>testuser_braggybuyer</UserID>
    </Buyer>
    <Price currencyID="USD">14.0</Price>
    <Status>Pending</Status>
    <Quantity>1</Quantity>
    <BestOfferCodeType>BuyerBestOffer</BestOfferCodeType>
  </BestOffer>
  </BestOfferArray>
  <Item>
    <BuyItNowPrice currencyID="USD">23.0</BuyItNowPrice>
    <ListingDetails>
    <EndTime>2007-12-18T18:42:38.000Z</EndTime>
    </ListingDetails>
    <Location>city, WA</Location>
    <Title>Wizard Outfit</Title>
  </Item>
</GetBestOffersResponse>



Back to top

GetBestOffers Change History

Version Description
863
2014-02-25
  • BestOffer.Buyer.ShippingAddress (added): This container returns the shipping address of a bidder who has made a best offer for an item. Because a bidder's user information is anonymous, this container is returned only to that bidder, and to the seller of an item that the user is bidding on.
849
2013-11-05
  • BestOffer.NewBestOffer (added): This boolean field will indicate whether the Best Offer is a traditional Best Offer ('false' value) or if the Best Offer is part of the Best Offer Beta program where a Best Offer that has been accepted by the seller is not binding until the buyer either pays for, or commits to buying the item.
  • BestOffer.ImmediatePayEligible (added): This boolean field will indicate whether the seller is eligible to require immediate payment for the Best Offer. This field is only returned if the Best Offer is part of the Best Offer Beta program.
821
2013-04-24
  • BestOfferArray.BestOffer.Status (modified): Two new values added to BestOfferStatusCodeType. 'PendingBuyerConfirmation' will be returned if the seller is waiting on the buyer to commit to buying the item at the counter offer price. 'PendingBuyerPayment' will be returned if the seller is still awaiting on payment from the buyer. If the buyer does not pay within 48 hours, the counter offer will expire.
663
2010-03-31
  • (modified) You can now omit both ItemID and BestOfferID when calling GetBestOffers. In such, it returns a list of up to 1,000 IDs for best offers submitted by the user (as a bidder) and up to 10,000 IDs for best offers received by the user (as a seller). When the filter "All" is used in this case (when both ItemID and BestOfferID are omitted), its behavior is not "all" but is instead "active best offers only" (i.e. the same as Active).
637
2009-09-30
  • ItemBestOfferArrayType.ItemBestOffers (added): A collection of details about the best offers received for a specific item.
  • ItemBestOffersType.Role,ItemBestOffersType.BestOfferArray,ItemBestOffersType.Item, (added): All best offers for the item according to the filter or best offer id (or both) used in the input.
  • GetBestOffersRequestType.Pagination (added): Specifies how to create virtual pages in the returned list (such as total number of entries and total number of pages to return).
  • GetBestOffersResponseType.ItemBestOfferArray,GetBestOffersResponseType.PageNumber,GetBestOffersResponseType.PaginationResult (added): All best offers for the item according to the filter or best offer id (or both) used in the input.
539
2007-11-14
  • (added) A buyer can make a GetBestOffers call to see the buyer's best offer (BestOfferID, etc.) and the current state of the best offer (e.g., whether the seller has made a counter offer).
517
2007-06-13
  • DetailLevel (added): The ReturnAll detail level has been added to GetBestOffers. If you specify ReturnAll in the DetailLevel field, the response can include the BuyerMessage field in the BestOffer container.
499
2007-02-07
  • GetBestOffers (modified): GetBestOffers now returns Best Offers that come in through Classified Ad listings.



Back to top

User-Contributed Notes

 

Copyright © 2005–2014 eBay, Inc. All rights reserved. This documentation and the API may only be used in accordance with the eBay Developers Program and API License Agreement.