One line of an open cart.

API
Schema

CartItem

One line of an open cart. FLAT, one row per (producto, opcion) — the same parser that reads an order's items reads these. A cart has NO frozen snapshot (schema invariant), so name / sku read from the LIVE producto and opcion, and every row carries its own `price`.

Ejemplo

json
{
  "product_id": "9201",
  "name": "Remera Premium",
  "option_id": "555",
  "option_name": "Azul / M",
  "sku": "REM-001-AZ-M",
  "quantity": 3,
  "price": 4500.0
}

Campo

CampoTipoFlagsNotas
product_idstring
sólo lectura
namestring
sólo lectura
LIVE producto name — not a snapshot.
option_idstring
sólo lectura
option_namestring
sólo lectura
skustring
sólo lectura
Option sku when present; otherwise the producto sku.
quantityinteger
sólo lectura
pricenumber
sólo lectura
LIST price of the row (the option's, or the producto's when the option sets none). NOT what the buyer would pay — see the Cart shape.