How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

eBay Location API

The Location API from eBay — 5 operation(s) for location.

eBay Location API is one of 64 APIs that eBay publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Location. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, release notes, and an AsyncAPI specification.

This API exposes 7 operations across 5 paths, and defines 11 schemas. It is described by OpenAPI 3.2.0, at version 1.17.4.

Requests are made against a single base URL, https://api.ebay.com{basePath}.

7 operations 5 paths 11 schemas 1 DELETE2 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.17.4
Base URL
https://api.ebay.com
Authentication
OAuth 2.0
Contact
eBay Inc,
Resource Areas
1

Authentication & Security 1

eBay Location API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (api_auth) using the authorizationCode flow, exposing 2 scopes.

  • api_auth — The security definitions for this API. Please check individual operations for applicable scopes.

Paths & Operations 7

Across 5 paths, the API surfaces 7 operations — 1 DELETE, 2 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Location 7
GET
/location/{merchantLocationKey}
This call retrieves all defined details of the inventory location that is specified by the merchantLocationKey path parameter. The authorization HTTP header is the only required request header for th…
getInventoryLocation 1 param → 200400404500
POST
/location/{merchantLocationKey}
Use this call to create a new inventory location. In order to create and publish an offer (and create an eBay listing), a seller must have at least one inventory location, as every offer must be asso…
createInventoryLocation 2 params body → 204400409500
DELETE
/location/{merchantLocationKey}
This call deletes the inventory location that is specified in the merchantLocationKey path parameter. Note that deleting a location will not affect any active eBay listings associated with the delete…
deleteInventoryLocation 1 param → 204400404500
POST
/location/{merchantLocationKey}/disable
This call disables the inventory location that is specified in the merchantLocationKey path parameter. Sellers can not load/modify inventory to disabled inventory locations. Note that disabling an in…
disableInventoryLocation 1 param → 200400404500
POST
/location/{merchantLocationKey}/enable
This call enables a disabled inventory location that is specified in the merchantLocationKey path parameter. Once a disabled inventory location is enabled, sellers can start loading/modifying invento…
enableInventoryLocation 1 param → 200400404500
GET
/location
This call retrieves all defined details for every inventory location associated with the seller's account. There are no required parameters for this call and no request payload. However, there are tw…
getInventoryLocations 2 params → 200400500
POST
/location/{merchantLocationKey}/update_location_details
Use this call to update non-physical location details for an existing inventory location. Specify the inventory location you want to update using the merchantLocationKey path parameter. You can updat…
updateInventoryLocation 2 params body → 204400404500

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are InventoryLocationResponse (11 properties), InventoryLocationFull (10 properties), InventoryLocation (7 properties), LocationResponse (7 properties). Each schema is shown below with its type and property counts.

GeoCoordinates
object
This type is used to express the Global Positioning System (GPS) latitude and longitude coordinates of an inventory location.
2 properties
Address
object
This type is used to define the physical address of an inventory location.
7 properties
LocationResponse
object
This type is used by the base response payload for the getInventoryLocations call.
7 properties
InventoryLocation
object
This type is used by the updateInventoryLocation call to update operating hours, special hours, phone number, and other minor details of an inventory location.
7 properties
LocationDetails
object
This type is used by the createInventoryLocation call to provide an full or partial address of an inventory location.
2 properties
Location
object
A complex type that is used to provide the physical address of a location, and it geo-coordinates.
3 properties
InventoryLocationResponse
object
This type is used by the base response of the getInventoryLocation and getInventoryLocations calls. These responses provide details about inventory location(s)…
11 properties
SpecialHours
object
This type is used to express the special operating hours of a store location on a specific date. A specialHours container is needed when the store's opening ho…
2 properties
OperatingHours
object
This type is used to express the regular operating hours of a merchant's store during the days of the week.
2 properties
InventoryLocationFull
object
This type is used by the createInventoryLocation call to provide details on the inventory location, including the location's name, physical address, operating…
10 properties
Interval
object
This type is used by the intervals container to define the opening and closing times of a store's working day. Local time (in Military format) is used, with th…
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ebay-location-api-openapi.yml Raw ↑

Other APIs eBay publishes across the network.

eBay Advertising_eligibility API
eBay Bidding API
eBay Category_tree API
eBay Charity_org API
eBay Config API
eBay Country API
eBay Custom_policy API
eBay Customer_service_metric API
eBay Customer_service_metric_task API
eBay Deal_item API
eBay Destination API
eBay Event API
Where this information came from

This is an independent, third-party profile of eBay Location API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.