example-data.com

cart-items / #145

cartId
carts/54
productId
Electronic Steel Shoes USD481.39
quantity
1
unitPrice
481.39
addedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/cart-items/145"
)
cart_item = res.json()
{
  "id": 145,
  "cartId": 54,
  "productId": 116,
  "quantity": 1,
  "unitPrice": 481.39,
  "addedAt": "2026-01-14T05:53:10.226Z"
}
Draftbit