PractitionerRotas

Retrieve a practitioner rota by ID

Returns the PractitionerRota identified by practitionerRotaId. The rota record includes the practitioner_id it belongs to. Equivalent to calling the nested GET /shop/practitioners/{practitionerId}/rotas/{rotaId} endpoint but doesn't require the practitioner ID in the URL.

get/shop/practitioner-rotas/{practitionerRotaId}

Response

A single PractitionerRota object.

Example response

{
  "data": {
    "scheduling_week_interval": 2,
    "availability_rules": [
      {
        "week_num": 1,
        "weekday": "monday",
        "time_from": "09:00",
        "time_to": "17:00",
        "offerings": [
          {
            "offering_name": "Twilight massage",
            "offering_type": "appointment"
          }
        ]
      }
    ]
  }
}

Changes