Explore API and data feeds within the 'Facility' documentation.
Loading...
Loading...
Discover how the Store Lookup API facilitates finding stores accepting BOPIS orders near the customer's location using the POST method.
The API allows to look up the stores accepting BOPIS orders near the customer’s location using the POST method.
https://< host >/api/storeLookup
Example: Host: https://demo-oms.hotwax.io/api/storeLookup
Content-Type: application/json
viewSize
The total number of results in the API response
N
filter
Filter records based on the passed parameters
N
point
The latitude-longitude of a specific location to find nearby stores
N
distance
The distance from the passed latitude-longitude
N
sortBy
Sort data based on the attribute, for example: "storeDistance asc" sorts results by distance
N
keyword
Keyword search (only on storeName, storeCode, and externalId)
N
fieldsToSelect
The list of fields to select, all the fields can be filtered in response
N
HTTP/1.1 200 OK
Content-Type: application/json
numFound
The number of results found
docs
The array of results found
docType
Reference index
storeCode
The ID of the facility (store) in HotWax
identifier
DocType-Identifier
country
Country
storeType
The type of the store
storeName
Store Name
externalId
The Id of the store in the external reference source
primaryFacilityGroupId
The Id of the primary facility group
primaryFacilityGroupName
primaryShopifyShopId
The Id of the primary Shopify Shop
address1
The address of the store
city
City
postalCode
Postal Code
country
Country
countryCode
Country Code
stateCode
State Code
latLon
The latitude and longitude of the facility
<day_of_week>_open
The opening time of the store on the day of a week
<day_of_week>_close
The closing time of the store on the day of a week
Filter is a parameter that allows you to narrow down the results of a query or search to only include items that meet specific criteria. For storeLookup API, users can filter results for each parameter given in the response:
country
Country
storeType
The type of the store
storeName
Store Name
externalId
The Id of the store in the external reference source
primaryFacilityGroupId
The Id of the primary facility group
primaryFacilityGroupName
The name of the primary facility group
primaryShopifyShopId
The Id of the primary Shopify Shop
city
City
postalCode
Postal Code
countryCode
Country Code
stateCode
State Code
latlon
The latitude and longitude of the facility
RETAIL
WAREHOUSE
RETAIL_STORE
OUTLET_WAREHOUSE
OUTLET_STORE
DISTRIBUTION_CENTER
Discover how the Post Code Lookup API fetches information related to postal codes, aiding developers in various applications.
The Post Code Lookup API provides developers with the ability to fetch information related to postal codes. This API offers three main functionalities:
Fetching postal codes for a given latitude and longitude within a specified range
Fetching latitude and longitude for a given postal code
Fetching latitude and longitude for a partial postal code
Fetches the postal code for a specific location based on its latitude and longitude. The API can also return postal codes for locations within a specified distance range from the provided latitude and longitude. To get the postal code, you will need to call /postcodeLookup endpoint with the POST method.
https://<host>/api/postcodeLookup
Content-Type: application/json
Note:
pt
and d
parameters are required to get the post codes
d
= 0 will fetch exact post code value for passed latitude and longitude
d
> 0 will fetch post codes within the given distance
HTTP/1.1 200 OK
Content-Type: application/json
Fetches the latitude longitude for a specific postal code. To look up the latitude longitude you will need to call the endpoint with the POST method.
https://<host>/api/postcodeLookup
Content-Type: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Fetches the latitude longitude for a partial postal code. This API fetches all the latitude and longitude matching the partial postal code. To look up the latitude longitude for a partial postal code you will need to call the endpoint with the POST method.
https://<host>/api/postcodeLookup
Content-Type: application/json
HTTP/1.1 200 OK
Content-Type: application/json
q
The query parameter
N
fq
Applies a filter to the query search results
N
pt
The latitude and longitude of the location
N
d
The distance from which postal code needs to be fetched
N
numfound
The number of results found
postcode
The postal code for the provided latitude and longitude
latitude
The latitude of the postal code
longitude
The longitude of the postal code
country
The country of the provided postal code
country-code-ID
The country code ID of the provided country
location
The latitude and longitude points of the postal code
postcode
The postal code
Y
postcode
The postal code for the provided latitude and longitude
latitude
The latitude of the postal code
longitude
The longitude of the postal code
country
The country of the provided postal code
country-code-ID
The country code ID of the provided country
location
The latitude and longitude points of the postal code
postcodelike
The partial postal code
Y
fields
The data fields or attributes that are included in the response body of the API call
Y
latitude
The latitude of the postal code
longitude
The longitude of the postal code