Buy Marketing API
The Marketing API retrieves eBay products based on a metric, such as Best Selling, as well as products that were also bought and also viewed.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Marketing API retrieves eBay products based on a metric, such as Best Selling, as well as products that were also bought and also viewed.
Endpoints 1
merchandised_product
- GETgetMerchandisedProducts
/merchandised_product?aspect_filter=string&category_id=string&limit=string&metric_name=stringThis method returns an array of products based on the category and metric specified. This includes details of the product, such as the eBay product ID (EPID),…
API details
- Base URL
https://api.ebay.com/buy/marketing/v1_beta- Authentication
- OAuth 2.0 (client credentials flow) with 1 scope
- Operations
- 1 operation on 1 pathGET 1
- Main resources
- merchandised_product 1
- Response formats
*/*- Description format
- OpenAPI 3.0.0, API version
v1_beta.2.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Buy Marketing API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Buy Marketing API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (client credentials flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “getMerchandisedProducts” (GET /merchandised_product?aspect_filter=string&category_id=string&limit=string&metric_name=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Buy Marketing API?
The Marketing API retrieves eBay products based on a metric, such as Best Selling, as well as products that were also bought and also viewed. It is listed under E-commerce and has 1 endpoint.
Who publishes the Buy Marketing API?
It is listed from eBay's public API description (an OpenAPI document), not published by eBay on Swastik Codes. Anyone who controls ebay.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Buy Marketing API?
Requests go to https://api.ebay.com/buy/marketing/v1_beta. Endpoint paths are added to this base URL.
How do I authenticate with the Buy Marketing API?
With OAuth 2.0 (client credentials flow) with 1 scope.
How many endpoints does the Buy Marketing API have?
1 operation on 1 path (1 GET). The largest groups are merchandised_product.
Is forking the Buy Marketing API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.