Partner API v3:
- GET Category
⚠️ 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 category in the localtunity network with id equal to the :category_id parameter.
Example
- Resource URL: https://api.takeoutnearby.com//v3/partner/{partner_id}/category/{category_id}
curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer {access_token}" https://api.takeoutnearby.com/v3/partner/{partner_id}/category/{category_id}
Headers | |
| Content-Type: | (string, required) Must be "application/json" |
| Authorization: | (string, required) Bearer {access_token} |
Parameters | |
| partner_id: | (integer, required) The id of the partner to retrieve the category for. |
| category_id: | (integer, required) The id of the category to retrieve. |
Response 200 Status Code
{"status": "success", "results": {"id": "1004822", "name": "Apartments & Rentals", "slug": "apartmentsrentals"}}