v1

latestOpenAPI 3.0.3AGPL 3.02026-07-1713822.7 KB
users

Update an existing pet

Update an existing pet by Id

put/getuser

Request body

idinteger
namestring required
photoUrlsstring[] required
status'available' | 'pending' | 'sold'

pet status in the store

Example request

{
  "id": 10,
  "name": "doggie",
  "category": {
    "id": 1,
    "name": "Dogs"
  }
}

Response

Successful operation

idinteger
namestring required
photoUrlsstring[] required
status'available' | 'pending' | 'sold'

pet status in the store

Example response

{
  "id": 10,
  "name": "doggie",
  "category": {
    "id": 1,
    "name": "Dogs"
  }
}
All 13 operations