## Add a new pet to the store

**post** `/pet`

Add a new pet to the store

### Body Parameters

- `name: string`

- `photoUrls: array of string`

- `id: optional number`

- `category: optional Category`

  - `id: optional number`

  - `name: optional string`

- `status: optional "available" or "pending" or "sold"`

  pet status in the store

  - `"available"`

  - `"pending"`

  - `"sold"`

- `tags: optional array of Tag`

  - `id: optional number`

  - `name: optional string`

### Returns

- `Pet object { name, photoUrls, id, 3 more }`

  - `name: string`

  - `photoUrls: array of string`

  - `id: optional number`

  - `category: optional Category`

    - `id: optional number`

    - `name: optional string`

  - `status: optional "available" or "pending" or "sold"`

    pet status in the store

    - `"available"`

    - `"pending"`

    - `"sold"`

  - `tags: optional array of Tag`

    - `id: optional number`

    - `name: optional string`

### Example

```http
curl https://petstore3.swagger.io/api/v3/pet \
    -H 'Content-Type: application/json' \
    -H "api_key: $PETSTORE_API_KEY" \
    -d '{
          "name": "doggie",
          "photoUrls": [
            "string"
          ],
          "id": 10
        }'
```

#### Response

```json
{
  "name": "doggie",
  "photoUrls": [
    "string"
  ],
  "id": 10,
  "category": {
    "id": 1,
    "name": "Dogs"
  },
  "status": "available",
  "tags": [
    {
      "id": 0,
      "name": "name"
    }
  ]
}
```
