example-data.com

cart-items / #61

cartId
carts/23
productId
Sleek Cotton Keyboard USD323.20
quantity
4
unitPrice
323.2
addedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/cart-items/61"
)
cart_item = res.json()
{
  "id": 61,
  "cartId": 23,
  "productId": 142,
  "quantity": 4,
  "unitPrice": 323.2,
  "addedAt": "2026-03-15T05:23:08.176Z"
}
Draftbit