GET
/orders/{orderId}
Get an order
GET /orders/{orderId}
Returns a single order including line items and the server-calculated totals.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orderId |
path | string (uuid) | yes | Public ID of the order. |
Responses
200 — OK
| Property | Type | Required | Description |
|---|---|---|---|
id |
string (uuid) | yes | Public ID of the order. |
status |
OrderStatus | yes | |
items |
OrderItem[] | yes | The ordered line items. |
subtotal |
number (double) | yes | Sum of all line items in EUR. |
shippingCost |
number (double) | yes | Shipping cost in EUR. |
total |
number (double) | yes | Grand total in EUR — subtotal plus shipping. |
createdAt |
string (date-time) | yes | When the order was placed. |
404 — Not found
| Property | Type | Required | Description |
|---|---|---|---|
code |
string | yes | Stable, machine-readable error code — branch on this, not on the message. |
message |
string | yes | Human-readable explanation, intended for logs and debugging. |