---
title: "PATCH /clinic-config/erx - Update external e-prescribing (VetHubRx) settings"
method: PATCH
path: "/clinic-config/erx"
tags: ["ClinicConfig"]
---

# PATCH /clinic-config/erx - Update external e-prescribing (VetHubRx) settings

`PATCH /clinic-config/erx`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/clinic-config/erx`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/clinic-config/erx/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ErxSettingsDto: External e-prescribing (VetHubRx) settings — the per-clinic gate only. Platform credentials are environment configuration and never appear in this DTO.
  - `vetHubRxEnabled` boolean

## Response `200`

OK

- ErxSettingsDto: External e-prescribing (VetHubRx) settings — the per-clinic gate only. Platform credentials are environment configuration and never appear in this DTO.
  - `vetHubRxEnabled` boolean

## Changes

- **2026-08-26** `a57456aa87b0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/clinic-config/erx/patch.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
