Put
/pet
Security
OAuth
FlowImplicit
Authorization URLhttps://petstore.swagger.io/oauth/authorize
Scopes:
read:petsread your pets
write:petsmodify pets in your account
Body parameters
Pet object that needs to be added to the store
object
id
integer (int64)
category
object (Category)
id
integer (int64)
name
string
name
string Required
Exampledoggie
photoUrls
Array of string Required
string
tags
Array of object (Tag)
object
id
integer (int64)
name
string
status
string
pet status in the store
Valid values[
"available",
"pending",
"sold"
]
object
id
integer (int64)
category
object (Category)
id
integer (int64)
name
string
name
string Required
Exampledoggie
photoUrls
Array of string Required
string
tags
Array of object (Tag)
object
id
integer (int64)
name
string
status
string
pet status in the store
Valid values[
"available",
"pending",
"sold"
]
Responses
400
Invalid ID supplied
404
Pet not found
405
Validation exception