Business API v3:

- PUT 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).

Assigns a category from the selected business.

Example

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

curl -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer {access_token}" https://api.voorheesvip.com/v3/business/{business_id}/category/{category-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 assign the category to.
category_id: (integer, required) The id of the category to assign to the business.

Response 200 Status Code

                    {"status":"success", "result":{"id":"5569554","categories":[{"id":"1004822","name":"Apartments & Rentals", "slug": "apartmentsrentals"}, {"...":"repeat for each category"}]}}