Search for nearby locations
Search for nearby locations based on city name, state, postal code, and other geographical details as mentioned in the request body.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
Unique request ID
x-fabric-channel-id identifies the sales channel through which the API request is being made; primarily for multichannel use cases. It is an optional field. The default US channel is 12 while the default Canada channel is 13.
Query Parameters
Number of records to skip before returning all records. Default is 0
when no value is specified.
Maximum number of records per page
1 < x < 100
Body
Criteria to search geo location
Geo search origin. Must include postalCode
OR (city
and region
).
Response
Location geo search response
An object containing the pagination response data.
Was this page helpful?