example-data.com

cart-items / #140

cartId
carts/53
productId
Recycled Plastic Tuna USD295.90
quantity
1
unitPrice
295.9
addedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/cart-items/140"
)
cart_item = res.json()
{
  "id": 140,
  "cartId": 53,
  "productId": 150,
  "quantity": 1,
  "unitPrice": 295.9,
  "addedAt": "2026-02-04T01:48:57.842Z"
}
Draftbit