## Updates a pet in the store with form data

**post** `/pet/{petId}`

Updates a pet in the store with form data

### Path Parameters

- `petId: number`

### Query Parameters

- `name: optional string`

  Name of pet that needs to be updated

- `status: optional string`

  Status of pet that needs to be updated

### Example

```http
curl https://petstore3.swagger.io/api/v3/pet/$PET_ID \
    -X POST \
    -H "api_key: $PETSTORE_API_KEY"
```
