---
title: "Update a Pet (JSON)"
method: PATCH
path: "/api/v1/pets/{id}"
tags: ["Pets"]
---

# Update a Pet (JSON)

`PATCH /api/v1/pets/{id}`

Permissions needed: UPDATE_PATIENTS
Update Pet by ID, empty values will overwrite, omit key to leave unchanged.
For text-only updates (no photo). To upload a new avatar, use the multipart/form-data operation on this same path instead, since file uploads are not delivered on a native PATCH request body.

## Parameters

- `#/paths/~1api~1v1~1sales/delete/parameters/0` — unresolved $ref

## Request body

- object
  - `nickname` string — Nickname
  - `birthday` string — Birthday (Y-m-d)
  - `species_id` integer, nullable — Species Id.
  - `breed_id` integer — Breed ID.
  - `crossbreed` boolean — Set to true if crossbreed. Do not send empty value, omit the key completely
  - `crossbreed_details` string — Crossbreed id (see breeds endpoint) Do not send empty value, omit the key completely
  - `color` string — Color
  - `color_mask` integer[], nullable — Color mask
  - `distinctive_marks` string — Distinctive marks
  - `gender` 'male' | 'female' | 'unknown' — Gender
  - `observations` string, nullable — Observations (Pet notes)
  - `chip_number` string, nullable — Chip number
  - `microchip_location` string, nullable — Microchip Location
  - `insurance_number` string, nullable — Insurance Number
  - `insurance_provider` string, nullable — Insurance Provider
  - `policy_id` string, nullable — Policy ID
  - `passport` string, nullable — Passport
  - `description` string, nullable — Description
  - `constitution` string — Constitution
  - `conformation` string — Conformation
  - `allergies` string — Allergies
  - `blood_type_id` integer — Blood Type Id (see blood-types endpoint) Do not send empty value, omit the key completely
  - `hormonal_status` 0 | 1 | 2 — Hormonal Status (0=neutered,1=normal,2=unknown)

## Response `200`

successful operation

- object
  - `data` Data — unresolved $ref

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `429` — unresolved $ref

---

[API](https://skmtc.net/digitail/apis/digitail-api.md) · [All operations](https://skmtc.net/digitail/apis/digitail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitail/digitail-api/revisions/bd9694db5fce/schema)
