List categories
Changed onFetch all categories (chart of accounts) for the business.
get/categories
Request
- Base URLhttps://api.boyahq.com/v1
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful response
Example response
[
{
"status": "ACTIVE",
"subcategories": [
{
"status": "ACTIVE"
}
]
}
]Changes
- breaking
the
/response's property type changed fromintegertonumberfor status - breaking
the
///response's property type changed fromintegertonumberfor status - info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
removed the
ACTIVEenum value from the/response property for the response status - info
removed the
ACTIVEenum value from the///response property for the response status - info
removed the
ARCHIVEDenum value from the/response property for the response status - info
removed the
INACTIVEenum value from the///response property for the response status
- breaking