Skip to main content

Update an existing pet

PUT 

/pet

Update an existing pet by Id

Request

Body

required

Update an existent 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...