orders #703
- userId
-
Maymie Boehm @maymie.boehm90
- status
- shipped
- currency
- USD
- subtotal
- 485.18
- tax
- 42.45
- shipping
- 0
- total
- 527.63
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Overview
orders / #703
#703
#703
Request
curl example
curl -sS \ "https://example-data.com/api/v1/orders/703" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/orders/703" ); const order = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/orders.d.ts https://example-data.com/types/orders.d.ts
import type { Order } from "./types/orders";
const res = await fetch(
"https://example-data.com/api/v1/orders/703"
);
const order = (await res.json()) as Order; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/orders/703"
)
order = res.json() Response
{
"id": 703,
"userId": 48,
"status": "shipped",
"currency": "USD",
"subtotal": 485.18,
"tax": 42.45,
"shipping": 0,
"total": 527.63,
"placedAt": "2025-08-24T23:05:52.962Z",
"shippedAt": "2025-08-27T11:42:08.942Z",
"deliveredAt": null,
"createdAt": "2025-08-24T23:05:52.962Z",
"updatedAt": "2025-08-27T11:42:08.942Z"
}