Place and manage orders
Create, retrieve, and delete a Petstore order.
Create a sample order, inspect the returned record, and delete it when finished. The store order operations declare no operation-level security scheme.
Call Place an order with an Order body. The model supports a pet ID, quantity, shipping date, status, and completion flag.
Read the id from the HTTP 200 response. You need this integer to retrieve or delete the order.
Call Get an order. The contract recommends an integer ID less than or equal to 5, or greater than 10, for a valid sample response.
Call Delete an order with the saved ID. The contract documents IDs below 1000 as the valid test range for this operation.
Next, see Get inventory for the status-to-quantity map.