PUT
/
pet
{
  "id": 10,
  "name": "doggie",
  "category": {
    "id": 1,
    "name": "Dogs"
  },
  "photoUrls": [
    "<string>"
  ],
  "tags": [
    {
      "id": 123,
      "name": "<string>"
    }
  ],
  "status": "available"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

Update an existent pet in the store
name
string
required
Example:

"doggie"

photoUrls
string[]
required
id
integer
Example:

10

category
object
tags
object[]
status
enum<string>

pet status in the store

Available options:
available,
pending,
sold

Response

200
application/json
Successful operation
name
string
required
Example:

"doggie"

photoUrls
string[]
required
id
integer
Example:

10

category
object
tags
object[]
status
enum<string>

pet status in the store

Available options:
available,
pending,
sold