example-data.com

orders / #443

userId
Jaycee Erdman @jaycee_erdman96
status
confirmed
currency
USD
subtotal
3282.93
tax
287.26
shipping
0
total
3570.19
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/443"
)
order = res.json()
{
  "id": 443,
  "userId": 10,
  "status": "confirmed",
  "currency": "USD",
  "subtotal": 3282.93,
  "tax": 287.26,
  "shipping": 0,
  "total": 3570.19,
  "placedAt": "2025-06-08T22:07:14.098Z",
  "shippedAt": null,
  "deliveredAt": null,
  "createdAt": "2025-06-08T22:07:14.098Z",
  "updatedAt": "2025-06-08T22:07:14.098Z"
}
Draftbit