order-items / #36
- orderId
- orders/13
- productId
-
Practical Metal Chips USD251.31
- quantity
- 3
- unitPrice
- 251.31
- lineTotal
- 753.93
Component variants
Medium
#36
#36
Small
order-items/36 Related
References
curl -sS \
"https://example-data.com/api/v1/order-items/36" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/order-items/36"
);
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/36"
);
const orderItem = (await res.json()) as OrderItem;import requests
res = requests.get(
"https://example-data.com/api/v1/order-items/36"
)
order_item = res.json() {
"id": 36,
"orderId": 13,
"productId": 186,
"quantity": 3,
"unitPrice": 251.31,
"lineTotal": 753.93
}