orders
Get order by ID
Retrieves an order by its ID
get/orders/{orderId}
Request
- Base URL<PIZZA_API_HOST>/api (relative, and the document was published on a file host, not at the API’s origin)
- URL<PIZZA_API_HOST>/api/orders/{orderId}
- Authnone declared
Path parameters
orderIdstring required
ID of the order
Response
Order details found
Example response
{
"items": [
{
"pizzaId": "pizza-1",
"quantity": 1,
"extraToppingIds": [
"topping-1",
"topping-2"
]
}
]
}Changes
No recorded changes to this operation across all 4 revisions of this API.