UpdateExistingPet
PUT {{baseUrl}}/pet
Pet object that needs to be added to the store
Parameters
Name | Description |
---|---|
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
Code | Description |
---|---|
400 | Invalid ID Supplied |
404 | Pet not found |
405 | Valid 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"}