Business API v3:

- GET Details

⚠️ Experimental Version

This version of the API is currently in beta and may undergo changes. For production use, please consider using the current stable version (v2).

Returns a single business in the localtunity network with id equal to the :business_id parameter.

Example

- Resource URL: https://api.takeoutnearby.com/

curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer {access_token}" https://api.takeoutnearby.com/v3/business/{business_id}

Headers

Content-Type: (string, required) Must be "application/json"
Authorization: (string, required) Bearer {access_token}

Parameters

business_id: (integer, required) The id of the business to retrieve.

Response 200 Status Code

                    {"status": "success", "results":{"id":"5569554","name":"Arthur Murray Boston","phone_one":"(617) 426-3335","website":"http:\/\/arthurmurrayboston.com","description":"","timezone":"America\/New_York", "slug":"amboston", "business_locations":[{},{"...":"repeat for each business location"}]}}