Partner 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 available categories for selected partner.
Example
- Resource URL: https://api.voorheesvip.com//v3/partner/{partner_id}/categories
curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer {access_token}" https://api.voorheesvip.com/v3/partner/{partner_id}/categories
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 categories for. |
Response 200 Status Code
{"status": "success", "results":[{"id":"1004822","name":"Apartments & Rentals", "slug": "apartmentsrentals"}, {"...":"repeat for each category"}]}