---
title: "Update an existing pet"
id: "update-an-existing-pet"
project: "Sample Project Publication2"
url: "https://hedronlabs.clickhelp.co/articles/sample-project-publication2/update-an-existing-pet"
updated: 2026-08-21T05:56:14Z
---

# Update an existing pet

## /articles/project-sample-project/update-an-existing-pet/a/tag/pet/operation/updatePetUpdate an existing pet 
##### Authorizations:
*petstore\_auth*

##### Request Body schema: 

Pet object that needs to be added to the store

| id | integer &lt;int64&gt; |
| --- | --- |
|  | object (Category) |
| namerequired | string |
| photoUrlsrequired | Array of strings |
|  | Array of objects (Tag) |
| status | string<br>Enum: "available" "pending" "sold"<br> pet status in the store |

### Responses
###  Request samples 
* Payload

Content type
`{"id": 0,"category": {"id": 0,"name": "string"},"name": "doggie","photoUrls": ["string"],"tags": [{"id": 0,"name": "string"}],"status": "available"}`
 © My Company 123. All rights reserved. 
 [Send feedback](mailto:support@hedronlabs.com) on this topic to My Company 123.