curl --location --request PUT 'https://api.petstoreapi.com/v1/pets/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"species": "DOG",
"name": "Whiskers",
"breed": "Domestic Shorthair",
"ageMonths": 18,
"size": "SMALL",
"color": "Orange Tabby",
"gender": "MALE",
"goodWithKids": true,
"goodWithPets": true,
"adoptionFee": 75,
"description": "string",
"status": "AVAILABLE",
"photos": [
"http://example.com"
],
"medicalInfo": {
"spayedNeutered": true,
"vaccinated": true,
"microchipped": true,
"specialNeeds": true,
"notes": "string"
}
}'{
"id": "pet_1Nv0FGQ9RKHgCVdK",
"species": "DOG",
"name": "Whiskers",
"breed": "Domestic Shorthair",
"ageMonths": 18,
"size": "SMALL",
"color": "Orange Tabby",
"gender": "MALE",
"goodWithKids": true,
"goodWithPets": true,
"adoptionFee": 75,
"description": "string",
"status": "AVAILABLE",
"intakeDate": "2019-08-24",
"photos": [
"http://example.com"
],
"medicalInfo": {
"spayedNeutered": true,
"vaccinated": true,
"microchipped": true,
"specialNeeds": true,
"notes": "string"
},
"links": {
"self": "http://example.com",
"adopt": "http://example.com"
}
}