eBay

Negotiation API

The Negotiations API gives sellers the ability to proactively send discount offers to buyers who have shown an "interest" in their listings. By sending buyers…

E-commerce#openapi#ecommerce

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 Negotiations API gives sellers the ability to proactively send discount offers to buyers who have shown an "interest" in their listings. By sending buyers discount offers on listings where they have shown an interest, sellers can increase the velocity of their sales. There are various ways for a buyer to show interest in a listing. For example, if a buyer adds the listing to their Watch list, or if they add the listing to their shopping cart and later abandon the cart, they are deemed to have shown an interest in the listing. In the offers that sellers send, they can discount their listings by either a percentage off the listing price, or they can set a new discounted price that is lower than the original listing price. For details about how seller offers work, see Sending offers to buyers .

Endpoints 2

offer

  • GETfindEligibleItems/find_eligible_items?limit=string&offset=stringThis method evaluates a seller's current listings and returns the set of IDs that are eligible for a seller-initiated discount offer to a buyer. A listing ID…
  • POSTsendOfferToInterestedBuyers/send_offer_to_interested_buyersThis method sends eligible buyers offers to purchase items in a listing at a discount. When a buyer has shown interest in a listing, they become…

API details

Base URL
https://api.ebay.com{basePath}
Authentication
OAuth 2.0 (authorization code flow) with 2 scopes
Operations
2 operations on 2 pathsGET 1POST 1
Main resources
offer 2
Response formats
application/json
Description format
OpenAPI 3.0.0, API version v1.1.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Negotiation API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Negotiation API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “findEligibleItems” (GET /find_eligible_items?limit=string&offset=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Negotiation API?

The Negotiations API gives sellers the ability to proactively send discount offers to buyers who have shown an "interest" in their listings. By sending buyers… It is listed under E-commerce and has 2 endpoints.

Who publishes the Negotiation 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 Negotiation API?

Requests go to https://api.ebay.com{basePath}. Endpoint paths are added to this base URL.

How do I authenticate with the Negotiation API?

With OAuth 2.0 (authorization code flow) with 2 scopes.

How many endpoints does the Negotiation API have?

2 operations on 2 paths (1 GET, 1 POST). The largest groups are offer.

Is forking the Negotiation API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.