Get Staffer Categories
Method GET
https://my.easyweek.io/api/public/v2/locations/{location_uuid}/staffer-categories
Description: This endpoint is used to retrieve a list of categories associated with staffers at a specific location. It provides information about each category, including its name.
Example Request
curl -i -X GET \
https://my.easyweek.io/api/public/v2/locations/{location_uuid}/staffer-categories \
-H 'Authorization: Bearer <YOUR_SECRET>' \
-H 'Workspace: <YOUR_WORKSPACE>'
Path Parameters
- location_uuid (string, required): This is a parameter that represents the unique identifier of the location for which you want to retrieve categories associated with staffers. It allows you to specify the location by its UUID, and the endpoint will return the categories linked to staffers at that particular location.
Example Response
{
"data": [
{
"uuid": "b4cecf14-e42f-46b8-b501-cf6244974a31",
"name": "Hair Styling",
"order": 1
},
{
"uuid": "0be3a85c-52ab-4bb6-9580-d2f7f11dbeda",
"name": "Barbering",
"order": 2
},
{
"uuid": "66c23785-bdf0-497d-94f4-8fd74400fd1b",
"name": "Nail Care",
"order": 3
}
]
}
Without pagination