Ebay Buy Deal
eBay Buy Deal is an eBay API for retrieving eBay deal and promotion information for buyer-facing shopping applications.
- Base URL:
https://api.ebay.com/buy/deal/v1 - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
https://api.ebay.com/identity/v1/oauth2/tokenusing yourclientId/clientSecret, then calls the API.
Operations
getdealitems— GET /deal_item — This method retrieves a paginated set of deal items. The result set contains allgetevents— GET /event — This method returns paginated results containing all eBay events for the specifigetevent— GET /event/{event_id} — This method retrieves the details for an eBay event. The result set contains detgeteventitems— GET /event_item — This method returns a paginated set of event items. The result set contains all
Inputs
clientId/clientSecret— your ebay-buy-deal OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getdealitems
clientId: <your client id>
clientSecret: <your client secret>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
clientId |
string | yes | — | OAuth client ID for ebay-buy-deal. |
clientSecret |
string | yes | — | OAuth client secret for ebay-buy-deal. |
operation |
string | yes | — | One of: getdealitems, getevents, getevent, geteventitems |
scope |
string | no | https://api.ebay.com/oauth/api_scope/buy.deal |
OAuth scopes (space-separated); default from the spec. |
event_id |
string | no | — | Path parameter event_id (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |