PUT
/
api
/
v1
/
reasons
/
{reason_id}
curl --request PUT \
  --url https://api.byblend.com/api/v1/reasons/{reason_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Physical location",
  "description": "Patient cannot access physical pharmacy due to natural disasters or similar event.",
  "parent_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708"
}'
{
  "id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
  "created_at": "2025-03-15T12:00:00Z",
  "updated_at": "2025-03-15T12:00:00Z",
  "name": "Adherence or Compliance",
  "description": "Issues related to patient adherence and medication compliance.",
  "is_global": true,
  "parent_id": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

reason_id
string
required

Unique (UUID) identifier fofor the compounding reason

Body

application/json

Response

200 - application/json

Compounding reason updated successfully

The response is of type object.