Get Service Categories
Method GET
https://my.easyweek.io/api/public/v2/locations/{location_uuid}/service-categories
Description: This endpoint is used to retrieve a list of service categories for a specific location. It provides information about each category, including its UUID, name, display order, and cover image.
Example Request
curl -i -X GET \
https://my.easyweek.io/api/public/v2/locations/{location_uuid}/service-categories \
-H 'Authorization: Bearer <YOUR_SECRET>' \
-H 'Workspace: <YOUR_WORKSPACE>'
Path Parameters
- location_uuid (string, required): This parameter represents the unique identifier of the location for which you want to retrieve service categories. By specifying the location by its UUID, the endpoint will return the categories available at that particular location.
Example Response
{
"data": [
{
"uuid": "41765a3f-d8eb-4853-8558-0718c49c58d0",
"name": "Hair Styling",
"order": 1,
"cover": "https://storage.easyweek.io/example_images_images_gJuFjyzB1j.jpg"
}
]
}
Without pagination