Swagger PetStore

This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.

150 subscribers
60 endpoints
The in-depth APIMemo review for this API hasn't been published yet — the data below comes straight from the public marketplace listing.

Swagger PetStore endpoints

MethodEndpointDescription
pet
DELETE deletePet
/pet/{petId}
Deletes a pet
PUT updatePet
/pet
Update an existing pet
POST addPet
/pet
Add a new pet to the store
GET findPetsByTags
/pet/findByTags
Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
POST uploadFile
/pet/{petId}/uploadImage
uploads an image
GET getPetById
/pet/{petId}
Returns a single pet
GET findPetsByStatus
/pet/findByStatus
Multiple status values can be provided with comma separated strings
POST updatePetWithForm
/pet/{petId}
Updates a pet in the store with form data
store
GET getInventory
/store/inventory
Returns a map of status codes to quantities
DELETE deleteOrder
/store/order/{orderId}
For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors
GET getOrderById
/store/order/{orderId}
For valid response try integer IDs with value >= 1 and
POST placeOrder
/store/order
Place an order for a pet
user
GET getUserByName
/user/{username}
Get user by user name
GET logoutUser
/user/logout
Logs out current logged in user session
GET loginUser
/user/login
Logs user into the system
DELETE deleteUser
/user/{username}
This can only be done by the logged in user.
POST createUsersWithArrayInput
/user/createWithArray
Creates list of users with given input array
PUT updateUser
/user/{username}
This can only be done by the logged in user.
POST createUsersWithListInput
/user/createWithList
Creates list of users with given input array
POST createUser
/user
This can only be done by the logged in user.
Other endpoints
GET logoutUser
/user/logout
Logs out current logged in user session
GET getUserByName
/user/{username}
Get user by user name
GET getInventory
/store/inventory
Returns a map of status codes to quantities
GET getPetById
/pet/{petId}
Returns a single pet
POST updatePetWithForm
/pet/{petId}
Updates a pet in the store with form data
GET getOrderById
/store/order/{orderId}
For valid response try integer IDs with value >= 1 and
GET getInventory
/store/inventory
Returns a map of status codes to quantities
POST createUser
/user
This can only be done by the logged in user.
POST uploadFile
/pet/{petId}/uploadImage
uploads an image
DELETE deletePet
/pet/{petId}
Deletes a pet
POST placeOrder
/store/order
Place an order for a pet
POST addPet
/pet
Add a new pet to the store
POST createUsersWithArrayInput
/user/createWithArray
Creates list of users with given input array
DELETE deleteOrder
/store/order/{orderId}
For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors
GET loginUser
/user/login
Logs user into the system
GET findPetsByTags
/pet/findByTags
Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
GET findPetsByStatus
/pet/findByStatus
Multiple status values can be provided with comma separated strings
DELETE deleteUser
/user/{username}
This can only be done by the logged in user.
POST createUsersWithListInput
/user/createWithList
Creates list of users with given input array
GET logoutUser
/user/logout
Logs out current logged in user session
PUT updatePet
/pet
Update an existing pet
PUT updateUser
/user/{username}
This can only be done by the logged in user.
GET getUserByName
/user/{username}
Get user by user name
POST placeOrder
/store/order
Place an order for a pet
GET findPetsByTags
/pet/findByTags
Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
GET loginUser
/user/login
Logs user into the system
DELETE deleteUser
/user/{username}
This can only be done by the logged in user.
POST updatePetWithForm
/pet/{petId}
Updates a pet in the store with form data
POST createUsersWithArrayInput
/user/createWithArray
Creates list of users with given input array
POST createUser
/user
This can only be done by the logged in user.
+ 10 more endpoints on the provider's documentation.

Swagger PetStore pricing

PlanPriceRate limitQuotas
BASIC Free
  • Requests: 100 / daily
PRO Recommended $100 / month
  • Requests: 1,000 / daily
ULTRA $1,000 / month
  • Requests: 10,000 / daily

More eCommerce APIs

View all →
  • Our Axesso Amazon API delivers in-depth and realtime data, encompassing everything from titles and…

    eCommerceFreemium690 subscribers
  • H&M API helps to query for all information about regions, categories, products, etc... as on official websites

    eCommerceFreemium3.1k subscribers
  • ⭐ Rising Star. 🥇 #1 Chinese 1688.com eCommerce platform data API provider. Access all data instantly in 🕒…

    eCommerceFreemium672 subscribers
  • Fast Amazon data API for real-time data scraping for all location markets.

    eCommerceFree701 subscribers
  • Open Taobao API , Open Tmall API,Taobao DataHub,Taobao Tmall 1688,Taobao API, Taobao…

    eCommerceFreemium
  • 🥇 #1 Chinese alibaba.com eCommerce platform data API provider. Access all data instantly in 🕒 REAL-TIME.

    eCommerceFreemium656 subscribers