v2

latestOpenAPI 3.0.32026-08-07222102695.9 KB
Referral Source

Update referral source

patch/patients/{patient_id}/referral_source

Path parameters

patient_idstring int64 required

Request body

notesstring nullable
referrer_idstring int64
referral_source_type_idstring int64

referral source type id

subcategorystring nullable

Example request

{
  "referrer_id": "1",
  "referral_source_type_id": "1"
}

Response

Resource was updated

archived_atstring date-time nullable
created_atstring date-time
idstring int64
notesstring nullable
referrer_type'Patient' | 'Contact' nullable
subcategorystring nullable
updated_atstring date-time

Example response

{
  "links": {
    "self": "https://api.au1.cliniko.com/v1/patients/123/referral_source"
  },
  "patient": {
    "links": {
      "self": "https://api.au1.cliniko.com/v1/patients/1"
    }
  },
  "referral_source_type": {
    "links": {
      "self": "https://api.au1.cliniko.com/v1/referral_source_types/1"
    }
  },
  "referrer": {
    "links": {
      "self": "https://api.au1.cliniko.com/v1/patients/456"
    }
  }
}