store

Find purchase order by ID.

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

get/store/order/{orderId}

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

Changed in 1 of the 53 revisions of this API.162

  • 253de9e0f0ae162See the full diff
    • removed the media type application/xml for the response with the status default

      response-media-type-removed

    • removed the optional property complete from the response with the default status

      response-optional-property-removed

    • removed the optional property id from the response with the default status

      response-optional-property-removed

    • removed the optional property petId from the response with the default status

      response-optional-property-removed

    • removed the optional property quantity from the response with the default status

      response-optional-property-removed

    • removed the optional property shipDate from the response with the default status

      response-optional-property-removed

    • removed the optional property status from the response with the default status

      response-optional-property-removed

    • added the required property code to the response with the default status

      response-required-property-added

    • added the required property message to the response with the default status

      response-required-property-added