This is designed to allow authorized clients to retrieve a list of categories. This API is intended for use in applications that require access to category data for various purposes, such as budgeting, financial analysis, or reporting. Clients need to provide a valid access token in the request header to authenticate themselves and gain access to the category information.
Method: POST
URL/Path: baseurl/account/api/partners/
E.g.: budgetree.in/account/api/partners/
Request Header:
Content-Type | application/json |
Accept | */* |
Authorization | Bearer [Your Authorization Token] |
Sample Response 200
[
{
"name": "Accessories"
},
{
"name": "Consumer Electronics"
},
{
"name": "Furniture"
}
]
Sample Response 400
response: 400 Bad Request
"No token provided"
Failure
Field Name | Data Type | Mandatory | Description | Example |
code | number | Yes | Error Code | 6652 |
message | string | Yes | Error Message | Invalid Category |
messages | array |
Status Code | Message | Description |
200 | Ok | This indicates category details are returned |
400 | Bad Request | No token provided |
498 | Unknown Status Code | Invalid token |
Last updated on: