example-data.com

orders / #160

userId
Filiberto Fay @filiberto.fay59
status
shipped
currency
USD
subtotal
2029.85
tax
177.61
shipping
0
total
2207.46
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/orders/160" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/orders/160"
);
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/160"
);
const order = (await res.json()) as Order;
import requests

res = requests.get(
    "https://example-data.com/api/v1/orders/160"
)
order = res.json()
{
  "id": 160,
  "userId": 92,
  "status": "shipped",
  "currency": "USD",
  "subtotal": 2029.85,
  "tax": 177.61,
  "shipping": 0,
  "total": 2207.46,
  "placedAt": "2025-08-07T07:20:28.992Z",
  "shippedAt": "2025-08-10T04:38:04.686Z",
  "deliveredAt": null,
  "createdAt": "2025-08-07T07:20:28.992Z",
  "updatedAt": "2025-08-10T04:38:04.686Z"
}
Draftbit