example-data.com

orders / #331

userId
Virginie O'Connell @virginie.oconnell55
status
delivered
currency
USD
subtotal
844.68
tax
73.91
shipping
0
total
918.59
placedAt
shippedAt
deliveredAt
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/orders/331"
)
order = res.json()
{
  "id": 331,
  "userId": 70,
  "status": "delivered",
  "currency": "USD",
  "subtotal": 844.68,
  "tax": 73.91,
  "shipping": 0,
  "total": 918.59,
  "placedAt": "2025-06-07T03:31:52.555Z",
  "shippedAt": "2025-06-09T12:16:49.774Z",
  "deliveredAt": "2025-06-11T21:05:09.118Z",
  "createdAt": "2025-06-07T03:31:52.555Z",
  "updatedAt": "2025-06-11T21:05:09.118Z"
}
Draftbit