orders / #317
- userId
-
Americo Hoppe @americo_hoppe57
- status
- shipped
- currency
- USD
- subtotal
- 3938.9
- tax
- 344.65
- shipping
- 0
- total
- 4283.55
- placedAt
- shippedAt
- deliveredAt
- —
- createdAt
- updatedAt
Component variants
Medium
#317
#317
Small
orders/317 Related
References
Referenced by
curl -sS \
"https://example-data.com/api/v1/orders/317" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/orders/317"
);
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/317"
);
const order = (await res.json()) as Order;import requests
res = requests.get(
"https://example-data.com/api/v1/orders/317"
)
order = res.json() {
"id": 317,
"userId": 177,
"status": "shipped",
"currency": "USD",
"subtotal": 3938.9,
"tax": 344.65,
"shipping": 0,
"total": 4283.55,
"placedAt": "2024-12-02T07:19:46.155Z",
"shippedAt": "2024-12-04T19:55:06.423Z",
"deliveredAt": null,
"createdAt": "2024-12-02T07:19:46.155Z",
"updatedAt": "2024-12-04T19:55:06.423Z"
}