Skip to content

Deal API — client.buy.deal

Version v1.3.0 · base path /buy/deal/v1 · async twin: the same methods on AsyncEbayClient, awaited.

Operations

Bases: BaseResource

get_deal_items

get_deal_items(*, category_ids: str | None = None, commissionable: str | None = None, delivery_country: str | None = None, limit: int | str | None = None, offset: int | str | None = None, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: Literal[False] = False) -> buy_deal_models.DealItemSearchResponse
get_deal_items(*, category_ids: str | None = None, commissionable: str | None = None, delivery_country: str | None = None, limit: int | str | None = None, offset: int | str | None = None, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: Literal[True]) -> httpx.Response
get_deal_items(*, category_ids: str | None = None, commissionable: str | None = None, delivery_country: str | None = None, limit: int | str | None = None, offset: int | str | None = None, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: bool = False) -> buy_deal_models.DealItemSearchResponse | httpx.Response

This method retrieves a paginated set of deal items. The result set contains all deal items associated with the specified search criteria and marketplace ID. This method can return a maximum of 10,000 items. For a list of supported sites and other restrictions, see Buy API Requirements .

get_event

get_event(event_id: str, *, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: Literal[False] = False) -> buy_deal_models.Event
get_event(event_id: str, *, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: Literal[True]) -> httpx.Response
get_event(event_id: str, *, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: bool = False) -> buy_deal_models.Event | httpx.Response

This method retrieves the details for an eBay event. The result set contains detailed information associated with the specified event ID, such as applicable coupons, start and end dates, and event terms. This method can return a maximum of 10,000 items. For a list of supported sites and other restrictions, see Buy API Requirements .

get_events

get_events(*, limit: int | str | None = None, offset: int | str | None = None, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: Literal[False] = False) -> buy_deal_models.EventSearchResponse
get_events(*, limit: int | str | None = None, offset: int | str | None = None, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: Literal[True]) -> httpx.Response
get_events(*, limit: int | str | None = None, offset: int | str | None = None, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: bool = False) -> buy_deal_models.EventSearchResponse | httpx.Response

This method returns paginated results containing all eBay events for the specified marketplace. This method can return a maximum of 10,000 items. For a list of supported sites and other restrictions, see Buy API Requirements .

get_event_items

get_event_items(*, event_ids: str, category_ids: str | None = None, delivery_country: str | None = None, limit: int | str | None = None, offset: int | str | None = None, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: Literal[False] = False) -> buy_deal_models.EventItemSearchResponse
get_event_items(*, event_ids: str, category_ids: str | None = None, delivery_country: str | None = None, limit: int | str | None = None, offset: int | str | None = None, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: Literal[True]) -> httpx.Response
get_event_items(*, event_ids: str, category_ids: str | None = None, delivery_country: str | None = None, limit: int | str | None = None, offset: int | str | None = None, x_ebay_c_marketplace_id: str | None = None, x_ebay_c_enduserctx: str | None = None, raw_response: bool = False) -> buy_deal_models.EventItemSearchResponse | httpx.Response

This method returns a paginated set of event items. The result set contains all event items associated with the specified search criteria and marketplace ID. This method can return a maximum of 10,000 items. For a list of supported sites and other restrictions, see Buy API Requirements .

Models

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.')

Image

Bases: EbayModel

height class-attribute instance-attribute

height = Field(None, description='The height of the image.')

image_url class-attribute instance-attribute

image_url = Field(None, alias='imageUrl', description='The relative path to the image location.')

text class-attribute instance-attribute

text = Field(None, description='The text associated with the image.')

width class-attribute instance-attribute

width = Field(None, description='The width of the image.')

ItemGroupTypeEnum

Bases: OpenStrEnum

seller_defined_variations class-attribute instance-attribute

seller_defined_variations = 'SELLER_DEFINED_VARIATIONS'

PriceTreatmentEnum

Bases: OpenStrEnum

minimum_advertised_price class-attribute instance-attribute

minimum_advertised_price = 'MINIMUM_ADVERTISED_PRICE'

list_price class-attribute instance-attribute

list_price = 'LIST_PRICE'

markdown class-attribute instance-attribute

markdown = 'MARKDOWN'

ProgramEnum

Bases: OpenStrEnum

ebay_plus class-attribute instance-attribute

ebay_plus = 'EBAY_PLUS'

Terms

Bases: EbayModel

full_text class-attribute instance-attribute

full_text = Field(None, alias='fullText', description='A full-text description of the terms.')

summary class-attribute instance-attribute

summary = Field(None, description='A summarized description of the terms.')

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. Default: The currency of the authenticated user's country.")

value class-attribute instance-attribute

value = Field(None, description='The monetary value, in the currency specified by the currency field.')

Coupon

Bases: EbayModel

redemption_code class-attribute instance-attribute

redemption_code = Field(None, alias='redemptionCode', description='The coupon code.')

terms class-attribute instance-attribute

terms = Field(None, description='The terms of use associated with the coupon.')

Error

Bases: EbayModel

category class-attribute instance-attribute

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

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.')

Event

Bases: EbayModel

applicable_coupons class-attribute instance-attribute

applicable_coupons = Field(None, alias='applicableCoupons', description='A list of coupons associated with the event.')

description class-attribute instance-attribute

description = Field(None, description='The event description.')

end_date class-attribute instance-attribute

end_date = Field(None, alias='endDate', description='The end date for the event.')

event_affiliate_web_url class-attribute instance-attribute

event_affiliate_web_url = Field(None, alias='eventAffiliateWebUrl', description='The URL of the View Event page for the event, which includes the affiliate tracking ID.')

event_id class-attribute instance-attribute

event_id = Field(None, alias='eventId', description='The unique identifier for the event.')

event_web_url class-attribute instance-attribute

event_web_url = Field(None, alias='eventWebUrl', description='The web URL for the event.')

images class-attribute instance-attribute

images = Field(None, description='The images for the event.')

start_date class-attribute instance-attribute

start_date = Field(None, alias='startDate', description='The start date for the event.')

terms class-attribute instance-attribute

terms = Field(None, description='The terms associated with the event.')

title class-attribute instance-attribute

title = Field(None, description='The title of the event.')

EventSearchResponse

Bases: EbayModel

events class-attribute instance-attribute

events = Field(None, description='A list of results that match the search criteria.')

href class-attribute instance-attribute

href = Field(None, description='The relative path to the current set of results.')

limit class-attribute instance-attribute

limit = Field(None, description='The maximum number of items, from the current result set, returned on a single page. Default: 20')

next class-attribute instance-attribute

next = Field(None, description='The relative path to the next set of results.')

offset class-attribute instance-attribute

offset = Field(None, description='The number of items that will be skipped in the result set. This is used with the limit field to control the pagination of the output. For example, if the offset is set to 0 and the limit is set to 10 , the method will retrieve items 1 through 10 from the list of items returned.')

prev class-attribute instance-attribute

prev = Field(None, description='The relative path to the previous set of results.')

total class-attribute instance-attribute

total = Field(None, description='The total number of matches for the specified search criteria.')

MarketingPrice

Bases: EbayModel

discount_amount class-attribute instance-attribute

discount_amount = Field(None, alias='discountAmount', description='The monetary value of the seller discount.')

discount_percentage class-attribute instance-attribute

discount_percentage = Field(None, alias='discountPercentage', description='The percentage of the seller discount based on the value returned in the originalPrice field.')

original_price class-attribute instance-attribute

original_price = Field(None, alias='originalPrice', description='The monetary value of the item prior to the discount.')

price_treatment class-attribute instance-attribute

price_treatment = Field(None, alias='priceTreatment', description='The pricing treatment (discount) that was applied to the price of the item. Note: The pricing treatment affects how and where the discounted price can be displayed.')

ShippingOption

Bases: EbayModel

shipping_cost class-attribute instance-attribute

shipping_cost = Field(None, alias='shippingCost', description='The final shipping cost for all items after all discounts are applied. Note: The price does include the value-added tax (VAT) for applicable jurisdictions when requested from supported marketplaces. In this case, users must pass the X-EBAY-C-MARKETPLACE-ID request header specifying the supported marketplace (such as EBAY_GB ) to see the VAT-inclusive pricing.')

shipping_cost_type class-attribute instance-attribute

shipping_cost_type = Field(None, alias='shippingCostType', description='The class of the shipping cost. Valid Values: FIXED or CALCULATED Code so that your app gracefully handles any future changes to this list.')

DealItem

Bases: EbayModel

additional_images class-attribute instance-attribute

additional_images = Field(None, alias='additionalImages', description='The additional images for the deal item.')

category_ancestor_ids class-attribute instance-attribute

category_ancestor_ids = Field(None, alias='categoryAncestorIds', description='The IDs of the ancestors for the primary category.')

category_id class-attribute instance-attribute

category_id = Field(None, alias='categoryId', description='The ID of the leaf category for the deal item. A leaf category is the lowest level in a category and has no children.')

commissionable class-attribute instance-attribute

commissionable = Field(None, description='A boolean value specifying whether the listing has commission.')

deal_affiliate_web_url class-attribute instance-attribute

deal_affiliate_web_url = Field(None, alias='dealAffiliateWebUrl', description='The deal associated with the item with affiliate attribution.')

deal_end_date class-attribute instance-attribute

deal_end_date = Field(None, alias='dealEndDate', description='The date after which the deal ends.')

deal_start_date class-attribute instance-attribute

deal_start_date = Field(None, alias='dealStartDate', description='The date on which the deal starts.')

deal_web_url class-attribute instance-attribute

deal_web_url = Field(None, alias='dealWebUrl', description='The web URL for the deal associated with the item.')

energy_efficiency_class class-attribute instance-attribute

energy_efficiency_class = Field(None, alias='energyEfficiencyClass', description='A string value specifying the Energy Efficiency class.')

image class-attribute instance-attribute

image = Field(None, description='The primary image for the deal item.')

item_affiliate_web_url class-attribute instance-attribute

item_affiliate_web_url = Field(None, alias='itemAffiliateWebUrl', description='The item web URL with affiliate attribution.')

item_group_id class-attribute instance-attribute

item_group_id = Field(None, alias='itemGroupId', description='The unique identifier for the deal item group. This is the parent item ID for the seller-defined variations. Note: This field is returned for multiple-SKU items.')

item_group_type class-attribute instance-attribute

item_group_type = Field(None, alias='itemGroupType', description='An enumeration value that indicates the type of item group. An item group contains items that have various aspect differences, such as color, size, or storage capacity.')

item_id class-attribute instance-attribute

item_id = Field(None, alias='itemId', description='The unique identifier for the deal item. Note: This field is only returned for single-SKU items.')

item_web_url class-attribute instance-attribute

item_web_url = Field(None, alias='itemWebUrl', description='The web URL for the deal item.')

legacy_item_id class-attribute instance-attribute

legacy_item_id = Field(None, alias='legacyItemId', description='The legacy item ID associated with the deal item.')

marketing_price class-attribute instance-attribute

marketing_price = Field(None, alias='marketingPrice', description='The original price for the deal item, and the discount amount and percentage.')

price class-attribute instance-attribute

price = Field(None, description='The price for the deal item. Note: The price does include the value-added tax (VAT) for applicable jurisdictions when requested from supported marketplaces. In this case, users must pass the X-EBAY-C-MARKETPLACE-ID request header specifying the supported marketplace (such as EBAY_GB ) to see the VAT-inclusive pricing. For more information on VAT, refer to VAT Obligations in the EU .')

qualified_programs class-attribute instance-attribute

qualified_programs = Field(None, alias='qualifiedPrograms', description='A list of programs applicable to the item.')

shipping_options class-attribute instance-attribute

shipping_options = Field(None, alias='shippingOptions', description='The cost required to ship the deal item. Note: For items with calculated shipping, this array is only returned if the X-EBAY-C-ENDUSERCTX header is supplied.')

title class-attribute instance-attribute

title = Field(None, description='The title of the deal item.')

unit_price class-attribute instance-attribute

unit_price = Field(None, alias='unitPrice', description='The price per unit for the deal item. Some European countries require listings for certain types of products to include the price per unit so that buyers can accurately compare prices. For example: "unitPricingMeasure": "100g", "unitPrice": { "value": "7.99", "currency": "GBP"')

unit_pricing_measure class-attribute instance-attribute

unit_pricing_measure = Field(None, alias='unitPricingMeasure', description='The designation used to specify the quantity of the deal item, such as size, weight, volume, and count. This helps buyers compare prices. For example, the following tells the buyer that the item is 7.99 per 100 grams. "unitPricingMeasure": "100g", "unitPrice": { "value": "7.99", "currency": "GBP"')

DealItemSearchResponse

Bases: EbayModel

deal_items class-attribute instance-attribute

deal_items = Field(None, alias='dealItems', description='A list of deal items that match the search criteria.')

href class-attribute instance-attribute

href = Field(None, description='The relative path to the current set of results.')

limit class-attribute instance-attribute

limit = Field(None, description='The maximum number of items, from the current result set, returned on a single page. Default: 20')

next class-attribute instance-attribute

next = Field(None, description='The relative path to the next set of results.')

offset class-attribute instance-attribute

offset = Field(None, description='The number of items that will be skipped in the result set. This is used with the limit field to control the pagination of the output. For example, if the offset is set to 0 and the limit is set to 10 , the method will retrieve items 1 through 10 from the list of items returned.')

prev class-attribute instance-attribute

prev = Field(None, description='The relative path to the previous set of results.')

total class-attribute instance-attribute

total = Field(None, description='The total number of matches for the search criteria.')

EventItem

Bases: EbayModel

additional_images class-attribute instance-attribute

additional_images = Field(None, alias='additionalImages', description='The additional images for the event item.')

category_ancestor_ids class-attribute instance-attribute

category_ancestor_ids = Field(None, alias='categoryAncestorIds', description='The IDs of the ancestors for the primary category.')

category_id class-attribute instance-attribute

category_id = Field(None, alias='categoryId', description='The ID of the leaf category for the event item. A leaf category is the lowest level in a category and has no children.')

energy_efficiency_class class-attribute instance-attribute

energy_efficiency_class = Field(None, alias='energyEfficiencyClass', description='A string value specifying the Energy Efficiency class.')

event_id class-attribute instance-attribute

event_id = Field(None, alias='eventId', description='The unique event identifier associated with the item.')

image class-attribute instance-attribute

image = Field(None, description='The image for the event item.')

item_affiliate_web_url class-attribute instance-attribute

item_affiliate_web_url = Field(None, alias='itemAffiliateWebUrl', description='The item web URL with affiliate attribution.')

item_group_id class-attribute instance-attribute

item_group_id = Field(None, alias='itemGroupId', description='The unique identifier for the event item group. This is the parent item ID for the seller-defined variations. Note: This field is returned for multiple-SKU items.')

item_group_type class-attribute instance-attribute

item_group_type = Field(None, alias='itemGroupType', description='An enumeration value that indicates the type of item group. An item group contains items that have various aspect differences, such as color, size, or storage capacity.')

item_id class-attribute instance-attribute

item_id = Field(None, alias='itemId', description='The unique identifier for the event item. Note: This field is only returned for single-SKU items.')

item_web_url class-attribute instance-attribute

item_web_url = Field(None, alias='itemWebUrl', description='The web URL for the event item.')

legacy_item_id class-attribute instance-attribute

legacy_item_id = Field(None, alias='legacyItemId', description='The legacy item ID associated with the event item.')

marketing_price class-attribute instance-attribute

marketing_price = Field(None, alias='marketingPrice', description='The original price for the event item, and the discount amount and percentage.')

price class-attribute instance-attribute

price = Field(None, description='The applicable price for the event item.')

qualified_programs class-attribute instance-attribute

qualified_programs = Field(None, alias='qualifiedPrograms', description='A list of programs applicable to the event item.')

shipping_options class-attribute instance-attribute

shipping_options = Field(None, alias='shippingOptions', description='The cost required to ship the event item. Note: For items with calculated shipping, this array is only returned if the X-EBAY-C-ENDUSERCTX header is supplied.')

title class-attribute instance-attribute

title = Field(None, description='The title of the event item.')

unit_price class-attribute instance-attribute

unit_price = Field(None, alias='unitPrice', description='The price per unit for the event item. Some European countries require listings for certain types of products to include the price per unit so that buyers can accurately compare prices. For example: "unitPricingMeasure": "100g", "unitPrice": { "value": "7.99", "currency": "GBP"')

unit_pricing_measure class-attribute instance-attribute

unit_pricing_measure = Field(None, alias='unitPricingMeasure', description='The designation used to specify the quantity of the event item, such as size, weight, volume, and count. This helps buyers compare prices. For example, the following tells the buyer that the item is 7.99 per 100 grams. "unitPricingMeasure": "100g", "unitPrice": { "value": "7.99", "currency": "GBP"')

EventItemSearchResponse

Bases: EbayModel

event_items class-attribute instance-attribute

event_items = Field(None, alias='eventItems', description='A list of event items that match the search criteria.')

href class-attribute instance-attribute

href = Field(None, description='The relative path to the current set of results.')

limit class-attribute instance-attribute

limit = Field(None, description='The maximum number of items, from the current result set, returned on a single page. Default: 20')

next class-attribute instance-attribute

next = Field(None, description='The relative path to the next set of results.')

offset class-attribute instance-attribute

offset = Field(None, description='The number of items that will be skipped in the result set. This is used with the limit field to control the pagination of the output. For example, if the offset is set to 0 and the limit is set to 10 , the method will retrieve items 1 through 10 from the list of items returned.')

prev class-attribute instance-attribute

prev = Field(None, description='The relative path to the previous set of results.')

total class-attribute instance-attribute

total = Field(None, description='The total number of matches for the specified search criteria.')