/petUpdate an existing pet
Updates an existing pet by replacing all its fields. Supply name and photoUrls — these are required on every request as this is a full replacement. status must be one of available, pending, or sold if provided. Returns the updated pet object.
Pet object to replace. name and photoUrls are required.
The unique identifier of the pet to update.
The name of the pet.
A category object containing an id and name for the pet's category.
An array of URLs pointing to images of the pet. At least one URL is
An array of tag objects, each with an id and name, for categorising the pet.
pet status in the store
pet status in the store
id.A 404 is returned if no pet exists with the given id. Omitting name or photoUrls returns a 400. A 422 is returned when the request body fails validation — ensure all required fields are present and properly formatted.