example-data.com

cart-items / #44

cartId
carts/16
productId
Soft Bamboo Ball USD163.18
quantity
1
unitPrice
163.18
addedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/cart-items/44"
)
cart_item = res.json()
{
  "id": 44,
  "cartId": 16,
  "productId": 73,
  "quantity": 1,
  "unitPrice": 163.18,
  "addedAt": "2025-10-28T00:36:18.947Z"
}
Draftbit