Skip to content

Updates a pet in the store with form data

Request

Security
petstore_auth(Required scopes: write:petsread:pets)
Path
petIdinteger, (int64)required

ID of pet that needs to be updated

Bodyapplication/x-www-form-urlencoded
namestring

Updated name of the pet

statusstring

Updated status of the pet

curl -i -X POST \
  'https://innovario.apishowdown.com/_mock/petstore/pet/{petId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d name=string \
  -d status=string

Responses

Invalid input