order-items / #75
- orderId
- orders/26
- productId
-
Fresh Plastic Computer USD460.89
- quantity
- 2
- unitPrice
- 460.89
- lineTotal
- 921.78
Component variants
Medium
#75
#75
Small
order-items/75 Related
References
curl -sS \
"https://example-data.com/api/v1/order-items/75" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/order-items/75"
);
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/75"
);
const orderItem = (await res.json()) as OrderItem;import requests
res = requests.get(
"https://example-data.com/api/v1/order-items/75"
)
order_item = res.json() {
"id": 75,
"orderId": 26,
"productId": 119,
"quantity": 2,
"unitPrice": 460.89,
"lineTotal": 921.78
}