Table of Contents
Request Body #
Content type: application/json — required
| Field | Type | Required | Description |
|---|---|---|---|
id | integer (int64) | Optional | |
name | string | Required | |
category | object | Optional | |
category.id | integer (int64) | Optional | |
category.name | string | Optional | |
photoUrls | array of string | Required | |
tags | array of object | Optional | |
status | string | Optional | pet status in the store Allowed: available, pending, sold |
Example request
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 1,
"name": "string"
}
],
"status": "available"
}
Responses #
200 — Successful operation #
| Field | Type | Required | Description |
|---|---|---|---|
id | integer (int64) | Optional | |
name | string | Required | |
category | object | Optional | |
category.id | integer (int64) | Optional | |
category.name | string | Optional | |
photoUrls | array of string | Required | |
tags | array of object | Optional | |
status | string | Optional | pet status in the store Allowed: available, pending, sold |
Example 200 response
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [
"string"
],
"tags": [
{
"id": 1,
"name": "string"
}
],
"status": "available"
}