Create a vendor category
Creates a vendor category for the company and returns it. Requires the vendor_categories:write permission.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Body
application/json
namestringrequiredThe category name shown to staff, for example "Electrical". Between 1 and 150 characters, and it must not match a category the company already has.
Response
200 · The category that was created.
idstringrequiredThe new category.
namestringrequiredThe category name.