v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Fetch Day Packages Information

This API endpoint retrieves appointment-level service details for a day package invoice item, including service info, therapist, room, and equipment for each booked appointment.

get/{api_url}/v1/appointments/{appointment_group_id}/day_packages

Path parameters

appointment_group_idstring required

Unique identifier of the appointment group for which day package details are retrieved.

Query parameters

invoice_item_idstring

Unique identifier of the day package invoice item.

Response

200

OR

Example response

{
  "day_package": {
    "description": "day_package",
    "appointments": [
      {
        "appointment_id": "ae697bfd-a119-4c1c-a5a6-93af1cba5fe0",
        "service": {
          "id": "378c6dd0-e675-4d0b-9fc6-c73a3d9db44c",
          "name": "AAA service"
        },
        "price": 500.02,
        "start_time": "2026-03-12T10:00:00",
        "end_time": "2026-03-12T10:15:00",
        "therapist": {
          "id": "48eac5e6-ea9e-43eb-8668-477d1e2e434d",
          "name": "Emp Th"
        },
        "room": {
          "id": "b1a8860d-836e-4238-aa9a-f2f46b5ccb90",
          "name": "ROOM 1"
        },
        "equipment": {
          "id": "e08e62c3-bdf1-4126-8af3-32f1ae587903",
          "name": "hair dryer"
        }
      }
    ]
  }
}