https://petstore3.swagger.io/api/v3/petAdds a new pet to the store, allowing users to specify details such as the pet's name, type, and other attributes.
Id
Example: 10
Name
Example: doggie
Category
PhotoUrls
Items: string
Tags
Items: object
pet status in the store
Schema
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [],
"tags": [],
"status": "example_status"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://petstore3.swagger.io/api/v3/pet' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://petstore3.swagger.io/api/v3/petAdds a new pet to the store, allowing users to specify details such as the pet's name, type, and other attributes.
Id
Example: 10
Name
Example: doggie
Category
PhotoUrls
Items: string
Tags
Items: object
pet status in the store
Schema
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
},
"photoUrls": [],
"tags": [],
"status": "example_status"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request POST \
--url 'https://petstore3.swagger.io/api/v3/pet' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}