Everything about your Pets
The Pet endpoints allow you to manage pets in the store. You can create, update, find, and delete pets. Each pet has a unique ID, a name, a status, and can be associated with a category and tags.
available, pending, or sold. Use the findByStatus endpoint to filter pets.uploadImage endpoint. This supports multipart form data.To add a new pet, send a POST to /pet with the pet's details. You'll get back the pet object with its generated ID.
{
"name": "Rex",
"status": "available",
"category": { "id": 1, "name": "Dogs" },
"photoUrls": ["https://example.com/rex.jpg"]
}Tip: Use
findByStatusto search for all available pets before adding duplicates.
/pet/{petId}/uploadImage/pet/pet/pet/findByStatus/pet/findByTags/pet/{petId}/pet/{petId}/pet/{petId}