store

Find purchase order by ID.

Changed on

For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.

get/store/order/{orderId}

Request

  • Base URL: https://petstore3.swagger.io/api/v3
  • URL: https://petstore3.swagger.io/api/v3/store/order/{orderId}
  • Auth: none declared

Path parameters

orderIdinteger required

ID of order that needs to be fetched

Response

successful operation

idinteger
petIdinteger
quantityinteger
shipDatestring date-time
status'placed' | 'approved' | 'delivered'

Order Status

completeboolean

Example response

{
  "id": 10,
  "petId": 198772,
  "quantity": 7,
  "status": "approved"
}

Changes

    • breaking

      removed the media type application/xml for the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status