This guide connects affiliate-toolkit to the eBay Partner Network. Once the eBay shop is set up, you can search eBay from your WordPress backend, import products, build search lists and show eBay offers in your price comparison, with your campaign ID in every link.
You need:
- affiliate-toolkit with the eBay module installed and activated. The module is included in every pass; see Installation of affiliate-toolkit.
- An account in the eBay Partner Network with a campaign.
- A developer account in the eBay Developers Program for the API keys.
Create your API keys
affiliate-toolkit uses eBay's Browse API. For it you need three keys: App ID, Dev ID and Cert ID.
In the eBay Partner Network you find the menu item eBay APIs, which takes you to the eBay Developers Program. Register a developer account there, ideally with the same e-mail address as your partner account. After logging in, create a keyset for your application.

Use the keys for Production. Sandbox keys only work in eBay's test environment and lead to errors in affiliate-toolkit.
Get your campaign ID
The campaign ID makes sure that sales are credited to your account. It works like the tracking ID at Amazon. In the eBay Partner Network, click Campaigns in the menu and copy the ID of your campaign. If you do not have one yet, create a new campaign first.

Requirements and limits of the API
eBay has no sales-based rules for API access like Amazon. eBay does review the sites that use its API, though, and can block access if it is misused.
By default, the Browse API allows 5,000 calls per day, independent of your sales. If you need more, you can request a higher limit from eBay; this goes through an application review.
Create the eBay shop
- Go to affiliate-toolkit → Shops and click Add new Shop.
- Enter a title. It is only used in the backend.
- Select eBay API as Data supplier.
- Enter App ID, Dev ID and Cert ID, choose the eBay Website and enter your Campaign ID.
- Click Publish. affiliate-toolkit requests an access token from eBay and sends a test search. If everything is correct, Status shows Connected; otherwise you see Not connected with the error message.

Fields of the eBay shop
| Field | Description |
|---|---|
| App ID / Dev ID / Cert ID | Your Production keys from the eBay Developers Program. All three are required. |
| eBay Website | The marketplace you advertise, for example eBay Germany, eBay United States, eBay UK, eBay France or eBay Motors. 22 marketplaces are available. |
| Campaign ID | The ID of your campaign in the eBay Partner Network. It is added to every eBay link. |
| Custom ID | Optional. eBay passes it on as reference ID in your reports, so you can tell apart sales from different websites or placements. |
| Marketplace Account Deletion - Endpoint / Token | Read-only values that affiliate-toolkit generates for your site. You copy them into your eBay developer account, see the next section. |
Notifications about deleted eBay accounts
eBay users can ask eBay to delete their personal data. eBay then informs all partners that store or show eBay data, including developers who use the eBay APIs. To receive these notifications, eBay requires an endpoint for every application.
affiliate-toolkit provides this endpoint for you. Copy Marketplace Account Deletion - Endpoint and Marketplace Account Deletion - Token from your eBay shop and enter them in your developer account under Alerts & Notifications.

Import products in the backend
Open affiliate-toolkit → Product import, select your eBay shop and search by keyword, EAN or GTIN.

Tick the products you want and import them. They are updated automatically from then on. A full walkthrough is in How to import and display your first product.
Add a product by its item number
If you already have the listing open on eBay, copy its item number. You find it on every eBay product page.

Go to affiliate-toolkit → Products → Add new Product, select your eBay shop and paste the item number. Classic item numbers work as well as item group IDs of listings with variations. After saving, the product is available in your product database.
Create search lists
A list is a group of products that affiliate-toolkit keeps up to date. eBay shops support search lists and advanced search lists. How lists work is explained in How to import and display your first list.
Advanced search
The advanced search combines a keyword and a category with filters of the Browse API, for example condition, price and price currency, buying options, maximum delivery costs, delivery country, sellers to include or exclude, categories to exclude, number of bids, start and end time, promoted items only and charity only. It needs some understanding of the API. All filters are described in eBay's Browse API search documentation.
The shop shows "Credientials are empty". What is missing?
App ID, Dev ID and Cert ID must all be filled in. Enter the three Production keys from the eBay Developers Program and save again.
The status shows an authentication error. What can I do?
Check that you copied the Production keys, not the Sandbox keys, and that there are no spaces at the start or end. If the keys are correct, create a new keyset in the developer account.
Do I need one shop per eBay country?
Yes, if you want to advertise several marketplaces. Each shop uses one eBay website; create one shop per country and use the matching campaign ID.
How many requests can I send?
By default, 5,000 Browse API calls per day. affiliate-toolkit needs requests for searches, imports and the regular product updates, so keep the update interval in mind if you have many eBay products.