Skip to main content
GET
/
barbers
/
{barberId}
/
recurringAppointments
List recurring appointments
curl --request GET \
  --url https://api.guile.app/barbers/{barberId}/recurringAppointments \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "frequency": "daily",
      "startDate": "2023-12-25",
      "active": true,
      "customerReference": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "givenName": "<string>",
        "surname": "<string>"
      },
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "barber": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "givenName": "<string>",
        "surname": "<string>",
        "preferredName": "<string>"
      },
      "location": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "shopName": "<string>"
      },
      "services": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "cost": "456.78",
          "duration": "<string>"
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "endDate": "2023-12-25"
    }
  ],
  "count": 1
}

Path Parameters

barberId
string<uuid>
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

Query Parameters

customerId
string<uuid>

Filter recurring appointments by customer ID. The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

Response

Ok. The operation succeeded.

A list of recurring appointments.

items
object[]
required
count
integer<int16>
required
Required range: x >= 0