Buy Offer API (v1_beta.0.1)

Download OpenAPI specification:Download

Note: This is a (Limited Release) API available only to select developers approved by business units. The Buy Offer API enables Partners to place proxy bids for a buyer and retrieve the auctions where the buyer is bidding. By placing a proxy bid, the buyer is agreeing to purchase the item if they win the auction.

bidding

getBidding

This method retrieves the bidding details that are specific to the buyer of the specified auction. This must be an auction where the buyer has already placed a bid. To retrieve the bidding information you use a user access token and pass in the item ID of the auction. You can also retrieve general bidding details about the auction, such as minimum bid price and the count of unique bidders, using the Browse API getItem method. URLs for this method Production URL: https://api.ebay.com/buy/offer/v1_beta/bidding/{item_id} Sandbox URL: https://api.sandbox.ebay.com/buy/offer/v1_beta/bidding/{item_id} Restrictions For a list of supported sites and other restrictions, see API Restrictions.

Authorizations:
Authorization_Code
path Parameters
item_id
required
string

The eBay RESTful identifier of an item that you want the buyer's bidding information. This ID is returned by the Browse and Feed API methods. RESTful Item ID example: v1|2**********2|0 For more information about item ID for RESTful APIs, see the Legacy API compatibility section of the Buy APIs Overview. Restriction: The buyer must have placed a bid for this item.

header Parameters
X-EBAY-C-MARKETPLACE-ID
required
string

The ID of the eBay marketplace where the buyer is based. Note: This value is case sensitive. For example:   X-EBAY-C-MARKETPLACE-ID = EBAY_US For a list of supported sites see, API Restrictions.

Responses

Response samples

Content type
application/json
{
  • "auctionEndDate": "string",
  • "auctionStatus": "string",
  • "bidCount": 0,
  • "currentPrice": {
    },
  • "currentProxyBid": {
    },
  • "highBidder": true,
  • "itemId": "string",
  • "reservePriceMet": true,
  • "suggestedBidAmounts": [
    ]
}

placeProxyBid

This method uses a user access token to place a proxy bid for the buyer on a specific auction item. The item must offer AUCTION as one of the buyingOptions. To place a bid, you pass in the item ID of the auction as a URI parameter and the buyer's maximum bid amount (maxAmount ) in the payload. By placing a proxy bid, the buyer is agreeing to purchase the item if they win the auction. After this bid is placed, if someone else outbids the buyer a bid, eBay automatically bids again for the buyer up to the amount of their maximum bid. When the bid exceeds the buyer's maximum bid, eBay will notify them that they have been outbid. To find auctions, you can use the Browse API to search for items and use a filter to return only auction items. For example: /buy/browse/v1/item_summary/search?q=iphone&filter=buyingOptions:{AUCTION} URLs for this method Production URL: https://api.ebay.com/buy/offer/v1_beta/bidding/{item_id}/place_proxy_bid Sandbox URL: https://api.sandbox.ebay.com/buy/offer/v1_beta/bidding/{item_id}/place_proxy_bid Restrictions For a list of supported sites and other restrictions, see API Restrictions.

Authorizations:
Authorization_Code
path Parameters
item_id
required
string

The eBay RESTful identifier of an item you want to bid on. This ID is returned by the Browse and Feed API methods. RESTful Item ID Example: v1|2**********2|0 For more information about item ID for RESTful APIs, see the Legacy API compatibility section of the Buy APIs Overview.

header Parameters
X-EBAY-C-MARKETPLACE-ID
required
string

The ID of the eBay marketplace where the buyer is based. Note: This value is case sensitive. For example:   X-EBAY-C-MARKETPLACE-ID = EBAY_US For a list of supported sites see, API Restrictions.

Request Body schema: application/json
object (Amount)

The type that defines the fields for a monetary value and its currency.

object (UserConsent)

The type that defines the fields for collecting the buyers consent.

Responses

Request samples

Content type
application/json
{
  • "maxAmount": {
    },
  • "userConsent": {
    }
}

Response samples

Content type
application/json
{
  • "proxyBidId": "string"
}