https://petstore3.swagger.io/api/v3/store/order/{orderId}Retrieves the details of a purchase order using its unique ID, with valid IDs typically being integers less than or equal to 5 or greater than 10.
ID of order that needs to be fetched
Schema
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2025-01-01T00:00:00Z",
"status": "approved",
"complete": true
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://petstore3.swagger.io/api/v3/store/order/{orderId}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://petstore3.swagger.io/api/v3/store/order/{orderId}Retrieves the details of a purchase order using its unique ID, with valid IDs typically being integers less than or equal to 5 or greater than 10.
ID of order that needs to be fetched
Schema
{
"id": 10,
"petId": 198772,
"quantity": 7,
"shipDate": "2025-01-01T00:00:00Z",
"status": "approved",
"complete": true
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request GET \
--url 'https://petstore3.swagger.io/api/v3/store/order/{orderId}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}