pet
Update an existing pet.
Changed onUpdate an existing pet by Id.
put/pet
Request
- Base URL: https://petstore3.swagger.io/api/v3
- URL: https://petstore3.swagger.io/api/v3/pet
- Auth: OAuth 2 (implicit, authorization URL https://petstore3.swagger.io/oauth/authorize, scopes: write:pets, read:pets)
Request body
Example request
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
}
}Response
Successful operation
Example response
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
}
}Changes
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info