Description

Update an existing pet

Path parameters

None

Query parameters

None

Body parameters

Pet object that needs to be added to the store

NameTypeDescriptionRequired?
id integer <int64>
category object<Category>
name string REQUIRED
photoUrls array REQUIRED
tags array
status string Values: available pending sold
pet status in the store

Content types:

  • application/json

  • application/xml

Responses

CodeReturns
400 Invalid ID supplied
404 Pet not found
405 Validation exception

Content types:

  • application/xml

  • application/json