Theme switcher

Update an existing pet

Body Parameters

idinteger

Unique identifier for the pet to be updated

namestring Required

Name assigned to the pet

categoryobject

Category to which the pet belongs, including its ID and name

Show child attributes

photoUrlsarray Required

Array of URLs pointing to photos of the pet

Show child attributes

tagsarray

List of tags associated with the pet for filtering and searching purposes

Show child attributes

statusstring

Current availability status of the pet in the store (e.g., available, pending, sold)

teststring
status-oldstring

Response

200
Object

Successful operation

Response Attributes

idinteger

Unique identifier for the pet to be updated

namestring Required

Name assigned to the pet

categoryobject

Category to which the pet belongs, including its ID and name

Show child attributes

photoUrlsarray Required

Array of URLs pointing to photos of the pet

Show child attributes

tagsarray

List of tags associated with the pet for filtering and searching purposes

Show child attributes

statusstring

Current availability status of the pet in the store (e.g., available, pending, sold)

400
Object

Invalid ID supplied

404
Object

Pet not found

422
Object

Validation exception

Was this section helpful?

PUT

/

Select
1

Response

Was this section helpful?