List all the services in the company with their basic information
/serviceshttps://api.oauth.pabau.com/{api_key}/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,
"total": 2,
"services": [
{
"id": 1,
"service_name": "Laser",
"price": "80.00",
"duration": "00:05",
"category_name": "Laser Test",
"service_color": "#81c784",
"most_frequent_color": "Green",
"disabledusers": "",
"tax_id": null,
"tax": null,
"product_id": 2,
"category": "category A",
"is_active": 1
},
{
"id": 2,
"service_name": "Filler",
"price": "70.00",
"duration": "00:05",
"category_name": "Filler Test",
"service_color": "#fff176",
"most_frequent_color": "Green",
"disabledusers": "",
"tax_id": null,
"tax": null,
"product_id": 3,
"category": "category B",
"is_active": 1
}
]
}