PUT
/petUpdate an existing pet
Update an existing pet by Id.
Security
petstore_authwrite:pets, read:pets
Request bodyrequired
Pet object that needs to be updated in the store
application/json
idinteger · int64namestring requiredcategoryCategoryphotoUrlsarray requiredarray of stringtagsarrayarray ofstatusstringpet status in the store
string"available""pending""sold"
Responses
- 200 Successful operation application/json
- 400 Invalid ID supplied
- 404 Pet not found