clients
Update a client (owner)
Updates the fields present in the body and leaves omitted fields unchanged; phoneNumbers replaces the whole list. Fields cannot be set to null; send an empty string to blank a text field. Send at least one field: an empty body currently fails with 500. Repeating the same request has no further effect. Returns 404 when the client does not exist in the workspace.
patch/workspaces/{workspaceId}/clients/{clientId}
Request
- Base URLhttps://vetnio.com/api/v2
- URLhttps://vetnio.com/api/v2/workspaces/{workspaceId}/clients/{clientId}
- AuthHTTP bearer
Path parameters
workspaceIdstring required
Identifier of the workspace (clinic) that owns the patients and clients. The caller must be a member of it; patients and clients are shared by all members of the workspace.
Example:furunculotic-loud-chihuahua
clientIdstring required
Client (owner) id (UUID) in this workspace. Unknown ids and ids from other workspaces return 404.
Example:e1f2a3b4-c5d6-4789-efab-901234567890
Request body
Example request
{
"name": "Alex Morgan",
"email": "alex.morgan@example.net",
"address": "4 Mill Lane, Riverside",
"zipCode": "111 43",
"phoneNumbers": [
"+46709876543"
]
}Response
Confirmation that the client was updated.
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.