order-items / #210
- orderId
- orders/72
- productId
-
Rustic Rubber Bacon USD116.85
- quantity
- 3
- unitPrice
- 116.85
- lineTotal
- 350.55
Component variants
Medium
#210
#210
Small
order-items/210 Related
References
curl -sS \
"https://example-data.com/api/v1/order-items/210" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/order-items/210"
);
const orderItem = await res.json();import type { OrderItem } from "https://example-data.com/types/order-items.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/order-items/210"
);
const orderItem = (await res.json()) as OrderItem;import requests
res = requests.get(
"https://example-data.com/api/v1/order-items/210"
)
order_item = res.json() {
"id": 210,
"orderId": 72,
"productId": 178,
"quantity": 3,
"unitPrice": 116.85,
"lineTotal": 350.55
}