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
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