example-data.com

orders / #48

userId
Otho Nikolaus @otho.nikolaus99
status
confirmed
currency
USD
subtotal
2709.42
tax
237.07
shipping
0
total
2946.49
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/48"
)
order = res.json()
{
  "id": 48,
  "userId": 209,
  "status": "confirmed",
  "currency": "USD",
  "subtotal": 2709.42,
  "tax": 237.07,
  "shipping": 0,
  "total": 2946.49,
  "placedAt": "2025-05-18T03:11:15.970Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-05-18T03:11:15.970Z",
  "updatedAt": "2025-05-18T03:11:15.970Z"
}
Draftbit