orders / #307
- userId
-
Mckenna Hegmann-Price @mckenna.hegmann-price77
- status
- shipped
- currency
- USD
- subtotal
- 404.09
- tax
- 35.36
- shipping
- 0
- total
- 439.45
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#307
#307
Small
orders/307 Related
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/307" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/307"
);
const order = await res.json();import type { Order } from "https://example-data.com/types/orders.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/orders/307"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/307"
)
order = res.json() {
"id": 307,
"userId": 62,
"status": "shipped",
"currency": "USD",
"subtotal": 404.09,
"tax": 35.36,
"shipping": 0,
"total": 439.45,
"placedAt": "2025-02-10T12:06:58.003Z",
"shippedAt": "2025-02-12T01:12:48.955Z",
"deliveredAt": null,
"createdAt": "2025-02-10T12:06:58.003Z",
"updatedAt": "2025-02-12T01:12:48.955Z"
}