Skip to main content

Add a new pet to the store

POST 

/pet

Add a new pet to the store

Request

Body

required

Create a new pet in the store

    id int64
    name stringrequired
    category category
    id int64
    name string
    photoUrls string[]required
    tags tag[]
  • Array [
  • id int64
    name string
  • ]
  • status string

    Possible values: [available, pending, sold]

    pet status in the store

Responses

Successful operation

Schema
    id int64
    name stringrequired
    category category
    id int64
    name string
    photoUrls string[]required
    tags tag[]
  • Array [
  • id int64
    name string
  • ]
  • status string

    Possible values: [available, pending, sold]

    pet status in the store

Loading...