UpdateExistingPet

PUT {{baseUrl}}/pet

Pet object that needs to be added to the store

Parameters

NameDescription
body *object(body)

* Example Value
* Model

json { "id": 0, "category": { "id": 0, "name": "string" }, "name": "doggie", "photoUrls": [ "string" ], "tags": [ { "id": 0, "name": "string" } ], "status": "available" }

Parameter content type

Responses

CodeDescription
400Invalid ID Supplied
404Pet not found
405Valid exception

Example

{
  "id": 0,
  "category": {
    "id": 0,
    "name": "string"
  },
  "name": "doggie",
  "photoUrls": [
    "string"
  ],
  "tags": [
    {
      "id": 0,
      "name": "string"
    }
  ],
  "status": "available"
}

Request Body

{"id"=>0, "category"=>{"id"=>0, "name"=>"string"}, "name"=>"Gina", "photoUrls"=>["string"], "tags"=>[{"id"=>0, "name"=>"string"}], "status"=>"available"}