---
title: "Changes to Updates a pet in the store with form data."
method: POST
path: "/pet/{petId}"
---

# Changes to Updates a pet in the store with form data.

`POST /pet/{petId}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 6 of 53 revisions.

- **2025-03-19** `1315ee0b6b7e` — 3 info
- **2025-03-17** `d5fd36e3763a` — 1 breaking, 2 info
- **2025-03-14** `78de4368a03c` — 3 info
- **2025-03-13** `887ffd0911f2` — 1 breaking, 2 info
- **2025-03-12** `253de9e0f0ae` — 3 breaking, 4 warning, 2 info
- **2025-03-10** `7f5fd6699f68` — 3 info

## Changes

- **2025-03-19** `1315ee0b6b7e` — 3 info
  - added the non-success response with the status `400`
  - removed the non-success response with the status `405`
  - added the success response with the status `200`
- **2025-03-17** `d5fd36e3763a` — 1 breaking, 2 info
  - removed the success response with the status `200`
  - added the non-success response with the status `405`
  - removed the non-success response with the status `400`
- **2025-03-14** `78de4368a03c` — 3 info
  - added the non-success response with the status `400`
  - removed the non-success response with the status `405`
  - added the success response with the status `200`
- **2025-03-13** `887ffd0911f2` — 1 breaking, 2 info
  - removed the success response with the status `200`
  - added the non-success response with the status `405`
  - removed the non-success response with the status `400`
- **2025-03-12** `253de9e0f0ae` — 3 breaking, 4 warning, 2 info
  - removed the media type `application/xml` for the response with the status `default`
  - removed the required property `name` from the response with the `default` status
  - removed the required property `photoUrls` from the response with the `default` status
  - removed the optional property `category` from the response with the `default` status
  - removed the optional property `id` from the response with the `default` status
  - removed the optional property `status` from the response with the `default` status
  - removed the optional property `tags` from the response with the `default` status
  - added the required property `code` to the response with the `default` status
  - added the required property `message` to the response with the `default` status
- **2025-03-10** `7f5fd6699f68` — 3 info
  - added the non-success response with the status `400`
  - removed the non-success response with the status `405`
  - added the success response with the status `200`

---

[Operation](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/docs/pet/:petId/post.md) · [API](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0.md) · [Page](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/changes/pet/:petId/post)
