POST
/
pet
/
{petId}
{
  "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.

Path Parameters

petId
integer
required

ID of pet that needs to be updated

Query Parameters

name
string

Name of pet that needs to be updated

status
string

Status of pet that needs to be updated

Response

200
application/json

successful operation

The response is of type object.