Find purchase order by ID.
For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.
Path parameters
ID of order that needs to be fetched
Response
successful operation
Example response
{
"id": 10,
"petId": 198772,
"quantity": 7,
"status": "approved"
}Changes
Changed in 1 of the 53 revisions of this API.162
- ▲
removed the media type
application/xmlfor the response with the statusdefaultresponse-media-type-removed
- ●
removed the optional property
completefrom the response with thedefaultstatusresponse-optional-property-removed
- ●
removed the optional property
idfrom the response with thedefaultstatusresponse-optional-property-removed
- ●
removed the optional property
petIdfrom the response with thedefaultstatusresponse-optional-property-removed
- ●
removed the optional property
quantityfrom the response with thedefaultstatusresponse-optional-property-removed
- ●
removed the optional property
shipDatefrom the response with thedefaultstatusresponse-optional-property-removed
- ●
removed the optional property
statusfrom the response with thedefaultstatusresponse-optional-property-removed
- ○
added the required property
codeto the response with thedefaultstatusresponse-required-property-added
- ○
added the required property
messageto the response with thedefaultstatusresponse-required-property-added
- ▲