Request
PATCH https://api.clinikapi.com/v1/medications/:id
Headers
Your ClinikAPI secret key (
clk_live_* or clk_test_*).Must be
application/json.Path parameters
The ID of the medication to update (e.g.
med_abc123).Body
Updated medication status. One of:
active, inactive.Updated dosage form (e.g.
"tablet", "capsule", "injection").Replacement ingredient list. Providing this field replaces the entire existing list.
Updated batch information. Providing this field replaces the existing batch object.
Response
Returns200 OK with the full updated medication resource.
The medication ID.
Updated status value.
Updated batch details, if changed.
Standard response metadata including
requestId, timestamp, status, and rate-limit fields.