Update an existing pet
Header Parameters |
---|
Accept-Language stringThe language you prefer for messages. Supported values are en-AU, en-CA, en-GB, en-US Example:
|
Cookie Parameters |
---|
cookieParam int64 — REQUIREDSome cookie |
Request Body — REQUIRED Pet object that needs to be added to the store | ||||
---|---|---|---|---|
id int64Pet ID | ||||
category CategoryCategories this pet belongs to
| ||||
name string — REQUIREDThe name given to a pet | ||||
photoUrls url[] — REQUIREDThe list of URL to a cute photos featuring pet | ||||
friend (circular) | ||||
tags Tag[]Tags attached to the pet
| ||||
status stringPossible values: [ Pet status in the store | ||||
petType stringType of a pet |
Responses |
---|
400 Invalid ID supplied |
404 Pet not found |
405 Validation exception |