Update an existing pet

SecurityOAuth2: petstore_auth
Request
Request Body schema:

Pet object that needs to be added to the store

id
integer <int64>
object (Category)
name
required
string
photoUrls
required
Array of strings
Array of objects (Tag)
status
string

pet status in the store

Enum: "available" "pending" "sold"
put
/pet
Request samples
{ "id": 0, "category": { "id": 0, "name": "string" }, "name": "doggie", "photoUrls": [ "string" ], "tags": [ ], "status": "available" }
Responses

200

OK

400

Invalid ID supplied

404

Pet not found

405

Validation exception