Beauty Fort API v5

GET nearest-collection-point

This endpoint returns the nearest collection point to a given location.

Endpoint

https://api.beautyfort.com/nearest-collection-point

Request

The type of this request is GET and takes the following parameters:

CountryCode * ISO 3166 Alpha-2 two-letter country code
Locale * ISO 639-1 code
PostCode * Location postcode
Town ** Location town
StreetName Location street name
* Required
** Some prodivders may require this field

Example:

CountryCode GB
Locale en
PostCode M171SB
Town Manchester
StreetName Guinness Road Trading Estate

Response

If successful you should be returned a 200 code.
The format of this response is JSON and looks like this:

{
  "message": [
    {
      "Name": "Courier Name, 
      "ID": "999999",
      "DisplayName": "Beauty Fort Ltd",
      "Address1": "Guinness Road Trading Estate",
      "Address2": "Trafford Park",
      "Address3": "",
      "TownCity": "Manchester",
      "Postcode": "1460",
      "County": "",
      "CountryCode": "UK",
      "Distance": "0.9",
      "DistanceUnit": "km",
      "Longitude": -2.3335129180401584,
      "Latitude": 53.4760715963168,
      "OpeningHours": "Mon: 0845-1900\nTue - Fri: 0845-2115\nSat: 1000-2115\nSun: 1200-1800"
    }
  ],
  "error": ""
}