example-data.com

cart-items / #36

cartId
carts/13
productId
Handmade Granite Towels USD327.15
quantity
3
unitPrice
327.15
addedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/cart-items/36" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/cart-items/36"
);
const cartItem = await res.json();
import type { CartItem } from "https://example-data.com/types/cart-items.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/cart-items/36"
);
const cartItem = (await res.json()) as CartItem;
import requests

res = requests.get(
    "https://example-data.com/api/v1/cart-items/36"
)
cart_item = res.json()
{
  "id": 36,
  "cartId": 13,
  "productId": 188,
  "quantity": 3,
  "unitPrice": 327.15,
  "addedAt": "2026-01-16T02:44:41.280Z"
}
Draftbit