Returns a list of all your service categories
/categories/serviceshttps://api.oauth.pabau.com/{api_key}/categories/services
Request
Query Parameters: | |
api_key * | |
per_page | (int) If not sent, the default is 20. Maximum 50 |
page | (int) If not sent, the first 20 result will be sent |
order | ASC or DESC. Default DESC |
Response sample
application/json
{
"success": true,
"service_categories": [
{
"id": 1,
"code": "123",
"name": "Anti-wrinkle Injections",
"image": "",
"tax_id": 0,
"disabled": 0
},
{
"id": 2,
"code": "456",
"name": "Dermal Fillers",
"image": "",
"tax_id": 0,
"disabled": 0
},
{
"id": 3,
"code": "789",
"name": "Hydrafacial",
"image": "",
"tax_id": 0,
"disabled": 1
},
{
"id": 4,
"code": "000",
"name": "Laser Hair",
"image": "",
"tax_id": null,
"disabled": 1
},