Get details of a business

GET /api/businesses/:businessId

Business

Use this API to get indiviudal Business details

Params

Path parameters

  • businessId string Required

    Id of the business

Query parameters

  • lat string

    latitude of your current location

  • long string

    longitude of your current location

  • travelMode string

    your mode of travel

    Values are "driving", "walking", or "public transit".

Responses

  • 200

    OK

    Hide response attribute Show response attribute object
    • Additional properties are allowed
  • 404

    Not Found

    Hide response attributes Show response attributes object
    • message string
    • status string
    • status_code integer
  • 500

    Internal Server Error

    Hide response attributes Show response attributes object
    • message string
    • status string
    • status_code integer
GET /api/businesses/:businessId
curl \
 -X GET http://api.example.com/api/businesses/:businessId \
 -H "Authorization: $API_KEY"
Response examples (200)
{}
Response examples (200)
{}
Response examples (404)
{
  "message": "internal server error",
  "status": "error",
  "status_code": 500
}
Response examples (404)
{
  "message": "internal server error",
  "status": "error",
  "status_code": 500
}
Response examples (500)
{
  "message": "internal server error",
  "status": "error",
  "status_code": 500
}
Response examples (500)
{
  "message": "internal server error",
  "status": "error",
  "status_code": 500
}