Skip to content

Buy Offer API — client.buy.offer

Version v1_beta.0.1 · base path /buy/offer/v1_beta · async twin: the same methods on AsyncEbayClient, awaited.

Operations

Bases: BaseResource

get_bidding

get_bidding(item_id: str, *, x_ebay_c_marketplace_id: str | None = None, raw_response: Literal[False] = False) -> buy_offer_models.Bidding
get_bidding(item_id: str, *, x_ebay_c_marketplace_id: str | None = None, raw_response: Literal[True]) -> httpx.Response
get_bidding(item_id: str, *, x_ebay_c_marketplace_id: str | None = None, raw_response: bool = False) -> buy_offer_models.Bidding | httpx.Response

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.

place_proxy_bid

place_proxy_bid(item_id: str, *, body: PlaceProxyBidRequest | None = None, x_ebay_c_marketplace_id: str | None = None, raw_response: Literal[False] = False) -> buy_offer_models.PlaceProxyBidResponse
place_proxy_bid(item_id: str, *, body: PlaceProxyBidRequest | None = None, x_ebay_c_marketplace_id: str | None = None, raw_response: Literal[True]) -> httpx.Response
place_proxy_bid(item_id: str, *, body: PlaceProxyBidRequest | None = None, x_ebay_c_marketplace_id: str | None = None, raw_response: bool = False) -> buy_offer_models.PlaceProxyBidResponse | httpx.Response

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.

Models

AuctionStatusEnum

Bases: OpenStrEnum

active class-attribute instance-attribute

active = 'ACTIVE'

ended class-attribute instance-attribute

ended = 'ENDED'

CurrencyCodeEnum

Bases: OpenStrEnum

aed class-attribute instance-attribute

aed = 'AED'

afn class-attribute instance-attribute

afn = 'AFN'

all class-attribute instance-attribute

all = 'ALL'

amd class-attribute instance-attribute

amd = 'AMD'

ang class-attribute instance-attribute

ang = 'ANG'

aoa class-attribute instance-attribute

aoa = 'AOA'

ars class-attribute instance-attribute

ars = 'ARS'

aud class-attribute instance-attribute

aud = 'AUD'

awg class-attribute instance-attribute

awg = 'AWG'

azn class-attribute instance-attribute

azn = 'AZN'

bam class-attribute instance-attribute

bam = 'BAM'

bbd class-attribute instance-attribute

bbd = 'BBD'

bdt class-attribute instance-attribute

bdt = 'BDT'

bgn class-attribute instance-attribute

bgn = 'BGN'

bhd class-attribute instance-attribute

bhd = 'BHD'

bif class-attribute instance-attribute

bif = 'BIF'

bmd class-attribute instance-attribute

bmd = 'BMD'

bnd class-attribute instance-attribute

bnd = 'BND'

bob class-attribute instance-attribute

bob = 'BOB'

brl class-attribute instance-attribute

brl = 'BRL'

bsd class-attribute instance-attribute

bsd = 'BSD'

btn class-attribute instance-attribute

btn = 'BTN'

bwp class-attribute instance-attribute

bwp = 'BWP'

byr class-attribute instance-attribute

byr = 'BYR'

bzd class-attribute instance-attribute

bzd = 'BZD'

cad class-attribute instance-attribute

cad = 'CAD'

cdf class-attribute instance-attribute

cdf = 'CDF'

chf class-attribute instance-attribute

chf = 'CHF'

clp class-attribute instance-attribute

clp = 'CLP'

cny class-attribute instance-attribute

cny = 'CNY'

cop class-attribute instance-attribute

cop = 'COP'

crc class-attribute instance-attribute

crc = 'CRC'

cup class-attribute instance-attribute

cup = 'CUP'

cve class-attribute instance-attribute

cve = 'CVE'

czk class-attribute instance-attribute

czk = 'CZK'

djf class-attribute instance-attribute

djf = 'DJF'

dkk class-attribute instance-attribute

dkk = 'DKK'

dop class-attribute instance-attribute

dop = 'DOP'

dzd class-attribute instance-attribute

dzd = 'DZD'

egp class-attribute instance-attribute

egp = 'EGP'

ern class-attribute instance-attribute

ern = 'ERN'

etb class-attribute instance-attribute

etb = 'ETB'

eur class-attribute instance-attribute

eur = 'EUR'

fjd class-attribute instance-attribute

fjd = 'FJD'

fkp class-attribute instance-attribute

fkp = 'FKP'

gbp class-attribute instance-attribute

gbp = 'GBP'

gel class-attribute instance-attribute

gel = 'GEL'

ghs class-attribute instance-attribute

ghs = 'GHS'

gip class-attribute instance-attribute

gip = 'GIP'

gmd class-attribute instance-attribute

gmd = 'GMD'

gnf class-attribute instance-attribute

gnf = 'GNF'

gtq class-attribute instance-attribute

gtq = 'GTQ'

gyd class-attribute instance-attribute

gyd = 'GYD'

hkd class-attribute instance-attribute

hkd = 'HKD'

hnl class-attribute instance-attribute

hnl = 'HNL'

hrk class-attribute instance-attribute

hrk = 'HRK'

htg class-attribute instance-attribute

htg = 'HTG'

huf class-attribute instance-attribute

huf = 'HUF'

idr class-attribute instance-attribute

idr = 'IDR'

ils class-attribute instance-attribute

ils = 'ILS'

inr class-attribute instance-attribute

inr = 'INR'

iqd class-attribute instance-attribute

iqd = 'IQD'

irr class-attribute instance-attribute

irr = 'IRR'

isk class-attribute instance-attribute

isk = 'ISK'

jmd class-attribute instance-attribute

jmd = 'JMD'

jod class-attribute instance-attribute

jod = 'JOD'

jpy class-attribute instance-attribute

jpy = 'JPY'

kes class-attribute instance-attribute

kes = 'KES'

kgs class-attribute instance-attribute

kgs = 'KGS'

khr class-attribute instance-attribute

khr = 'KHR'

kmf class-attribute instance-attribute

kmf = 'KMF'

kpw class-attribute instance-attribute

kpw = 'KPW'

krw class-attribute instance-attribute

krw = 'KRW'

kwd class-attribute instance-attribute

kwd = 'KWD'

kyd class-attribute instance-attribute

kyd = 'KYD'

kzt class-attribute instance-attribute

kzt = 'KZT'

lak class-attribute instance-attribute

lak = 'LAK'

lbp class-attribute instance-attribute

lbp = 'LBP'

lkr class-attribute instance-attribute

lkr = 'LKR'

lrd class-attribute instance-attribute

lrd = 'LRD'

lsl class-attribute instance-attribute

lsl = 'LSL'

ltl class-attribute instance-attribute

ltl = 'LTL'

lyd class-attribute instance-attribute

lyd = 'LYD'

mad class-attribute instance-attribute

mad = 'MAD'

mdl class-attribute instance-attribute

mdl = 'MDL'

mga class-attribute instance-attribute

mga = 'MGA'

mkd class-attribute instance-attribute

mkd = 'MKD'

mmk class-attribute instance-attribute

mmk = 'MMK'

mnt class-attribute instance-attribute

mnt = 'MNT'

mop class-attribute instance-attribute

mop = 'MOP'

mro_1 class-attribute instance-attribute

mro_1 = 'MRO'

mur class-attribute instance-attribute

mur = 'MUR'

mvr class-attribute instance-attribute

mvr = 'MVR'

mwk class-attribute instance-attribute

mwk = 'MWK'

mxn class-attribute instance-attribute

mxn = 'MXN'

myr class-attribute instance-attribute

myr = 'MYR'

mzn class-attribute instance-attribute

mzn = 'MZN'

nad class-attribute instance-attribute

nad = 'NAD'

ngn class-attribute instance-attribute

ngn = 'NGN'

nio class-attribute instance-attribute

nio = 'NIO'

nok class-attribute instance-attribute

nok = 'NOK'

npr class-attribute instance-attribute

npr = 'NPR'

nzd class-attribute instance-attribute

nzd = 'NZD'

omr class-attribute instance-attribute

omr = 'OMR'

pab class-attribute instance-attribute

pab = 'PAB'

pen class-attribute instance-attribute

pen = 'PEN'

pgk class-attribute instance-attribute

pgk = 'PGK'

php class-attribute instance-attribute

php = 'PHP'

pkr class-attribute instance-attribute

pkr = 'PKR'

pln class-attribute instance-attribute

pln = 'PLN'

pyg class-attribute instance-attribute

pyg = 'PYG'

qar class-attribute instance-attribute

qar = 'QAR'

ron class-attribute instance-attribute

ron = 'RON'

rsd class-attribute instance-attribute

rsd = 'RSD'

rub class-attribute instance-attribute

rub = 'RUB'

rwf class-attribute instance-attribute

rwf = 'RWF'

sar class-attribute instance-attribute

sar = 'SAR'

sbd class-attribute instance-attribute

sbd = 'SBD'

scr class-attribute instance-attribute

scr = 'SCR'

sdg class-attribute instance-attribute

sdg = 'SDG'

sek class-attribute instance-attribute

sek = 'SEK'

sgd class-attribute instance-attribute

sgd = 'SGD'

shp class-attribute instance-attribute

shp = 'SHP'

sll class-attribute instance-attribute

sll = 'SLL'

sos class-attribute instance-attribute

sos = 'SOS'

srd class-attribute instance-attribute

srd = 'SRD'

std class-attribute instance-attribute

std = 'STD'

syp class-attribute instance-attribute

syp = 'SYP'

szl class-attribute instance-attribute

szl = 'SZL'

thb class-attribute instance-attribute

thb = 'THB'

tjs class-attribute instance-attribute

tjs = 'TJS'

tmt class-attribute instance-attribute

tmt = 'TMT'

tnd class-attribute instance-attribute

tnd = 'TND'

top class-attribute instance-attribute

top = 'TOP'

try_ class-attribute instance-attribute

try_ = 'TRY'

ttd class-attribute instance-attribute

ttd = 'TTD'

twd class-attribute instance-attribute

twd = 'TWD'

tzs class-attribute instance-attribute

tzs = 'TZS'

uah class-attribute instance-attribute

uah = 'UAH'

ugx class-attribute instance-attribute

ugx = 'UGX'

usd class-attribute instance-attribute

usd = 'USD'

uyu class-attribute instance-attribute

uyu = 'UYU'

uzs class-attribute instance-attribute

uzs = 'UZS'

vef class-attribute instance-attribute

vef = 'VEF'

vnd class-attribute instance-attribute

vnd = 'VND'

vuv class-attribute instance-attribute

vuv = 'VUV'

wst class-attribute instance-attribute

wst = 'WST'

xaf class-attribute instance-attribute

xaf = 'XAF'

xcd class-attribute instance-attribute

xcd = 'XCD'

xof class-attribute instance-attribute

xof = 'XOF'

xpf class-attribute instance-attribute

xpf = 'XPF'

yer class-attribute instance-attribute

yer = 'YER'

zar class-attribute instance-attribute

zar = 'ZAR'

zmw class-attribute instance-attribute

zmw = 'ZMW'

zwl class-attribute instance-attribute

zwl = 'ZWL'

ErrorParameter

Bases: EbayModel

name class-attribute instance-attribute

name = Field(None, description='The object of the error.')

value class-attribute instance-attribute

value = Field(None, description='The value of the object.')

PlaceProxyBidResponse

Bases: EbayModel

proxy_bid_id class-attribute instance-attribute

proxy_bid_id = Field(None, alias='proxyBidId', description='Identifier of the proxy bid created by the request. This indicates that the bid was placed and is not used for anything else.')

UserConsent

Bases: EbayModel

adult_only_item class-attribute instance-attribute

adult_only_item = Field(None, alias='adultOnlyItem', description='The type that defines the fields for buyer consent to bid on adult-only items. This field must be included in the placeProxyBid request and set to true if the buyer is bidding on an adult-only item. For more information about adult-only items on eBay, see Adult-Only items on eBay .')

Amount

Bases: EbayModel

currency class-attribute instance-attribute

currency = Field(None, description='The three-letter ISO 4217 code representing the currency of the amount in the value field.')

value class-attribute instance-attribute

value = Field(None, description='The monetary amount.')

Error

Bases: EbayModel

category class-attribute instance-attribute

category = Field(None, description='Identifies the type of erro.')

domain class-attribute instance-attribute

domain = Field(None, description='Name for the primary system where the error occurred. This is relevant for application errors.')

error_id class-attribute instance-attribute

error_id = Field(None, alias='errorId', description='A unique number to identify the error.')

input_ref_ids class-attribute instance-attribute

input_ref_ids = Field(None, alias='inputRefIds', description='An array of request elements most closely associated to the error.')

long_message class-attribute instance-attribute

long_message = Field(None, alias='longMessage', description='A more detailed explanation of the error.')

message class-attribute instance-attribute

message = Field(None, description="Information on how to correct the problem, in the end user's terms and language where applicable.")

output_ref_ids class-attribute instance-attribute

output_ref_ids = Field(None, alias='outputRefIds', description='An array of request elements most closely associated to the error.')

parameters class-attribute instance-attribute

parameters = Field(None, description='An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned.')

subdomain class-attribute instance-attribute

subdomain = Field(None, description='Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc.')

PlaceProxyBidRequest

Bases: EbayModel

max_amount class-attribute instance-attribute

max_amount = Field(None, alias='maxAmount', description='The amount of the proxy bid to be placed. This is the maximum amount the buyer is willing to pay for the item. Note: Currency for the bid must be the currency specified by the seller when listing the item. VAT (value added tax) does not need to be added to the proxy bid amount even if VAT applies.')
user_consent = Field(None, alias='userConsent', description='Specifies whether the buyer wants to give their consent to bid on adult-only items. For a buyer to bid on an adult-only item, you must collect their consent using this field, and they must agree to the Terms of Use. For more information about adult-only items on eBay, see Adult-Only items on eBay . Default: false')

ProxyBid

Bases: EbayModel

max_amount class-attribute instance-attribute

max_amount = Field(None, alias='maxAmount', description='The maximum amount the buyer is willing to pay for the item.')

proxy_bid_id class-attribute instance-attribute

proxy_bid_id = Field(None, alias='proxyBidId', description='Identifier of a specific proxy bid.')

Bidding

Bases: EbayModel

auction_end_date class-attribute instance-attribute

auction_end_date = Field(None, alias='auctionEndDate', description='The date the auction will end.')

auction_status class-attribute instance-attribute

auction_status = Field(None, alias='auctionStatus', description='An enumeration value that represents the current state of the auction, such as ACTIVE or ENDED . If this value is ENDED and the value of highBidder is true , this indicates the buyer has won the auction.')

bid_count class-attribute instance-attribute

bid_count = Field(None, alias='bidCount', description='The number of proxy bids that have been placed for the auction.')

current_price class-attribute instance-attribute

current_price = Field(None, alias='currentPrice', description='The amount of the highest bid, which is the current price of the item.')

current_proxy_bid class-attribute instance-attribute

current_proxy_bid = Field(None, alias='currentProxyBid', description="The buyer's proxy bid, which is the maxAmount specified in the request.")

high_bidder class-attribute instance-attribute

high_bidder = Field(None, alias='highBidder', description='Indicates if the buyer is the highest bidder. If the value is false , this indicates that either the buyer has not bid on this item or has been out-bid. If this value is true , this indicates the buyer is winning the auction and if the value of auctionStatus is ENDED , this indicates the buyer has won the auction.')

item_id class-attribute instance-attribute

item_id = Field(None, alias='itemId', description='The eBay RESTful identifier of an item being bid on, which was submitted in the request.')

reserve_price_met class-attribute instance-attribute

reserve_price_met = Field(None, alias='reservePriceMet', description='This indicates if the reserve price of the item has been met. A reserve price is set by the seller and is the minimum amount the seller is willing to sell the item for. If the highest bid is not equal to or higher than the reserve price when the auction ends, the listing ends and the item is not sold. Note: This is returned only for auctions that have a reserve price.')

suggested_bid_amounts class-attribute instance-attribute

suggested_bid_amounts = Field(None, alias='suggestedBidAmounts', description='The suggested bid amount for the next bid. Note: These are generated suggestions and do not guarantee the buyer will win the bid. This means these suggestions do not take into account the max bid amount of other bidders. The buyer can be outbid even if they submit the highest suggested bid.')