Skip to main content

Pets

Manage pets in the store. Add, find, update, and delete pets. Upload photos for each pet.

Pet lifecycle​

Pet status values​

StatusDescription
availablePet is in stock
pendingPet is reserved
soldPet has been sold

Pet object​

FieldTypeRequiredDescription
idintegerNoAuto-generated when creating
namestringYesPet name
categoryobjectNoCategory with id and name
photoUrlsarrayYesURLs of pet photos
tagsarrayNoTags with id and name
statusstringNoavailable, pending, or sold

Guides​