Search Location
get
Search Location
Resource URL
https://api.stubcloudprod.com/sellers /search/locations/v3
Query Parameters
Name | Values | Description |
---|---|---|
q |
Search by keyword. Example: q=San |
|
city |
One or more city names to search |
|
state |
One or more state code to search |
|
country |
One or more country code to search |
|
postalCode |
One or more postal codes to search |
|
point |
Spatial search by lat-lon and radius, data type is String, lat-long is concated using comma, e.g. point=34.7452778,-92.3275 |
|
radius |
Spatial search by lat-lon and radius, data type is double |
|
units |
Radius units, supported values: mi, km |
|
sort |
Parameter to support sorting. For ascending use asc and for descending use desc. Comma can be used as a separator to sort by multiple fields. Following are the fields on which we can use sorting - city, distance. (e.g city asc,distance desc) |
|
fieldList |
The list of fields to be displayed in the response. This parameter can be used if we would like to fetch only a subset of the default response. Valid values - numFound, *, geoNameId, city, postalCode, state, country, timeZone, location, distance |
|
start |
Return results starting from the specified index |
|
rows |
Max results to return. Example - max=500 |
Header Parameters
Name | Values | Description |
---|---|---|
Authorization
(required) |
To generate an access token, use the [generateToken API](https://beta-developer.stubhub.com/oauth/apis/post/accesstoken). |
|
Accept
(required) |
application/json |
Request Body
Make a request and see the response.
Make a request and see the response.
Make a request and see the response.
Response Error Details
-
HTTP CodeError CodeDescription
-
404404
Not found
-
401401
Not authorized
-
403403
Forbidden
-
400400
Bad request
Resource Summary |
|
Security |
|
Content Type |
application/json |
Category |
Search Location |
Working...