Skip to content
ogygia playground
POST /pet

Add a new pet to the store

Adds a new **pet** to the store inventory. The pet's `status` defaults to `available`.

Security

  • petstore_auth write:pets, read:pets

Request bodyrequired

Pet object that needs to be added to the store

application/json

  • id integer · int64
  • name string required
  • category Category
  • photoUrls array required
    array of string
  • tags array
    array of
  • status string

    pet status in the store

    string "available""pending""sold"

Responses

  • 200 Successful operation application/json
  • 405 Invalid input