Business API v3:
- GET Categories
⚠️ 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 list of all assigned categories for the selected business.
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}/categories
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 categories for. |
Response 200 Status Code
[{"id":"1004822","name":"Apartments & Rentals", "slug": "apartmentsrentals"}, {"...":"repeat for each category"}]