latestOpenAPI 3.0.0Apache 2.02026-08-201250995.7 KB

bd9694db5fce

Pets

Update a Pet (JSON)

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.

patch/api/v1/pets/{id}

Parameters

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

Request body

nicknamestring

Nickname

birthdaystring

Birthday (Y-m-d)

species_idinteger nullable

Species Id.

breed_idinteger

Breed ID.

crossbreedboolean

Set to true if crossbreed. Do not send empty value, omit the key completely

crossbreed_detailsstring

Crossbreed id (see breeds endpoint) Do not send empty value, omit the key completely

colorstring

Color

color_maskinteger[] nullable

Color mask

distinctive_marksstring

Distinctive marks

gender'male' | 'female' | 'unknown'

Gender

observationsstring nullable

Observations (Pet notes)

chip_numberstring nullable

Chip number

microchip_locationstring nullable

Microchip Location

insurance_numberstring nullable

Insurance Number

insurance_providerstring nullable

Insurance Provider

policy_idstring nullable

Policy ID

passportstring nullable

Passport

descriptionstring nullable

Description

constitutionstring

Constitution

conformationstring

Conformation

allergiesstring

Allergies

blood_type_idinteger

Blood Type Id (see blood-types endpoint) Do not send empty value, omit the key completely

hormonal_status0 | 1 | 2

Hormonal Status (0=neutered,1=normal,2=unknown)

Example request

{
  "nickname": "Fluffy",
  "birthday": "2017-11-28",
  "species_id": 1,
  "breed_id": 1,
  "color": "Pink",
  "color_mask": [
    1
  ],
  "distinctive_marks": "One spot on right ear",
  "chip_number": "123456789",
  "microchip_location": "Neck",
  "insurance_number": "123456789",
  "insurance_provider": "Petplan",
  "policy_id": "POLICY-123",
  "passport": "123456789"
}

Response

successful operation

dataData — unresolved $ref