Pets
Creating a new pet
Add a new pet to the store
Add a new pet to the store
POST/api/v3/pet
Authorization
Body
Create a new pet in the store
idinteger (int64)
Example: 10
name*string
Example: "doggie"
categoryobject
photoUrls*array of string
tagsarray of object
statusenum
pet status in the store
availablependingsold
Response
Successful operation
Body
idinteger (int64)
Example: 10
name*string
Example: "doggie"
categoryobject
photoUrls*array of string
tagsarray of object
statusenum
pet status in the store
availablependingsold
Request
Response
Updating a pet
Update an existing pet
Update an existing pet by Id
PUT/api/v3/pet
Authorization
Body
Update an existent pet in the store
idinteger (int64)
Example: 10
name*string
Example: "doggie"
categoryobject
photoUrls*array of string
tagsarray of object
statusenum
pet status in the store
availablependingsold
Response
Successful operation
Body
idinteger (int64)
Example: 10
name*string
Example: "doggie"
categoryobject
photoUrls*array of string
tagsarray of object
statusenum
pet status in the store
availablependingsold
Request
Response
Good to know: These API methods were auto-generated from an example OpenAPI file. You'll see that it's not editable – that's because the contents are synced to a URL! Any time the linked file changes, the documentation will change too.
Last updated