Skip to content

POST/pet/{petId}

Updates a pet in the store with form data

Updates a pet resource based on the form data.

Parameters 3

NameTypeDescription
petIdrequiredpath · integerID of pet that needs to be updated
namequery · stringName of pet that needs to be updated
statusquery · stringStatus of pet that needs to be updated

ReturnsPet

Bearer token required

Response examples

200successful operation

application/json example derived from schema

{
  "name": "doggie",
  "photoUrls": [
    "string"
  ]
}

Released under the MIT License.