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
Campo
| Campo | Tipo | Flags | Notas |
|---|---|---|---|
product_id | string | sólo lectura | |
name | string | sólo lectura | LIVE producto name — not a snapshot. |
option_id | string | sólo lectura | |
option_name | string | sólo lectura | |
sku | string | sólo lectura | Option sku when present; otherwise the producto sku. |
quantity | integer | sólo lectura | |
price | number | 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. |
