openapi: 3.0.0
info:
title: eBay Account Advertising_eligibility Event API
description: The Account API gives sellers the ability to configure their eBay seller accounts, including the seller's policies (eBay business policies and seller-defined custom policies), opt in and out of eBay seller programs, configure sales tax tables, and get account information.
For details on the availability of the methods in this API, see Account API requirements and restrictions.
contact:
name: eBay Inc,
license:
name: eBay API License Agreement
url: https://go.developer.ebay.com/api-license-agreement
version: v1.9.2
servers:
- url: https://api.ebay.com{basePath}
description: Production
variables:
basePath:
default: /sell/account/v1
tags:
- name: Event
paths:
/event/{event_id}:
get:
tags:
- Event
description: '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.
itemAffiliateWebUrl field to forward your buyer to the ebay.com site. '
operationId: getEvent
parameters:
- name: X-EBAY-C-MARKETPLACE-ID
in: header
description: This header identifies the eBay marketplace.itemAffiliateWebUrl field to forward your buyer to the ebay.com site. '
operationId: getEvents
parameters:
- name: limit
in: query
description: The maximum number of items, from the current result set, returned on a single page.20100
required: false
schema:
type: string
- name: offset
in: query
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.0 and the limit is set to 10, the method will retrieve items 1 through 10 from the list of items returned. If the offset is set to 10 and the limit is set to 10, the method will retrieve items 11 through 20 from the list of items returned.0
required: false
schema:
type: string
- name: X-EBAY-C-MARKETPLACE-ID
in: header
description: This header identifies the eBay marketplace.20
format: int32
next:
type: string
description: The relative path to the next set of results.
offset:
type: integer
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.0 and the limit is set to 10, the method will retrieve items 1 through 10 from the list of items returned. If the offset is set to 10 and the limit is set to 10, the method will retrieve items 11 through 20 from the list of items returned.0
format: int32
prev:
type: string
description: The relative path to the previous set of results.
total:
type: integer
description: The total number of matches for the specified search criteria.
format: int32
description: The result set for the specified event search criteria.
Terms:
type: object
properties:
fullText:
type: string
description: A full-text description of the terms.
summary:
type: string
description: A summarized description of the terms.
description: The terms for the event, provided in a full-text description and summary.
Event:
type: object
properties:
applicableCoupons:
type: array
description: A list of coupons associated with the event.
items:
$ref: '#/components/schemas/Coupon'
description:
type: string
description: The event description.
endDate:
type: string
description: The end date for the event.
eventAffiliateWebUrl:
type: string
description: The URL of the View Event page for the event, which includes the affiliate tracking ID.
eventId:
type: string
description: The unique identifier for the event.
eventWebUrl:
type: string
description: The web URL for the event.
images:
type: array
description: The images for the event.
items:
$ref: '#/components/schemas/Image'
startDate:
type: string
description: The start date for the event.
terms:
description: The terms associated with the event.
$ref: '#/components/schemas/Terms'
title:
type: string
description: The title of the event.
description: The result set for the event search.
securitySchemes:
api_auth:
type: oauth2
description: The security definitions for this API. Please check individual operations for applicable scopes.
flows:
authorizationCode:
authorizationUrl: https://auth.ebay.com/oauth2/authorize
tokenUrl: https://api.ebay.com/identity/v1/oauth2/token
scopes:
https://api.ebay.com/oauth/api_scope/sell.account.readonly: View your account settings
https://api.ebay.com/oauth/api_scope/sell.account: View and manage your account settings