diff --git a/Facility/Post code lookup.md b/Facility/Post code lookup.md index 5a701ecbe..13a7fdc07 100644 --- a/Facility/Post code lookup.md +++ b/Facility/Post code lookup.md @@ -11,7 +11,7 @@ The Post Code Lookup API provides developers with the ability to fetch informati ## Fetch Postal Code for Latitude Longitude in a Given Range -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. +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. ### Request @@ -172,7 +172,7 @@ Content-Type: application/json ## Fetch latitude longitude for a partial postal code -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. +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. ### Request diff --git a/Facility/Store lookup.md b/Facility/Store lookup.md index dd1e3fe88..c8390f7e8 100644 --- a/Facility/Store lookup.md +++ b/Facility/Store lookup.md @@ -1,19 +1,19 @@ # Store Lookup API -The API allows to look up the 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. ## Request -### Endpoint +#### Endpoint `https://< host >/api/storeLookup` Example: Host: https://demo-oms.hotwax.io/api/storeLookup -### Header +#### Header Content-Type: application/json -### Body +#### Body ``` { "viewSize": 40, @@ -26,7 +26,7 @@ Content-Type: application/json } ``` -### Parameters +#### Parameters | Parameter | Description | Required (Y/N) | |---------------|-----------------------------------------------------------|----------| @@ -40,13 +40,13 @@ Content-Type: application/json ## Response -### Status Code +#### Status Code HTTP/1.1 200 OK -### Headers +#### Headers Content-Type: application/json -### Body +#### Body ``` "response": @@ -125,8 +125,8 @@ Content-Type: application/json

-## Note: -### Filters +### Note: +#### Filters 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: @@ -146,7 +146,7 @@ Filter is a parameter that allows you to narrow down the results of a query or s | `latlon` | The latitude and longitude of the facility | -### Valid values of storeType +#### Valid values of storeType