Products
The product catalog, for exporting it: building a dashboard, syncing a
store, crossing it with sales. GET /v1/{account}/productos is Cianbox's
listing: every product, with no search text, from the lowest id to the
highest, paginated by cursor (not page/limit) and with up to 1000
rows per page.
- To find a product by name, internal code or barcode, use the
search (
/busquedas/productos?texto=...). - For the full record —prices for every list, stock per branch, images,
variants, combos, publications—, request it by id:
GET /productos/{id}returns exactly the same asGET /documentos/producto/{id}(documents).
Example
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/productos?tipo=simple,variante&limite=1000"
The body is listado_productos with parametros, cantidad, productos
and paginacion (limite, siguiente_cursor, hay_mas).
What each row has
The same names and shapes as the product record.
| Field | What it is |
|---|---|
id, nombre, codigo_interno, codigo_barras |
Identification |
estado |
"vigente" or "no_vigente" |
tipo |
"simple", "padre", "variante" or "combo" |
producto_padre |
{id, nombre} for a variant; null otherwise |
atributos |
Size, color, season, material, design, accessory, measure ({id, nombre} or null) and gender |
categoria, marca, proveedor_habitual |
{id, nombre} or null |
afecta_stock |
Whether the product carries stock |
stock_total |
As in the record: a parent's is the sum of its variants; null if it carries no stock — only if your key can read stock |
stock_minimo, stock_critico |
Restock thresholds (0 means not set) |
bajo_minimo |
true if stock is at or below the minimum — only with stock |
precio |
The one of list id_lista_precio (General by default), shaped as in the record: id_lista, lista, neto and final as stored (in the list's currency), precio_unico, moneda, redondeo (the multiple the final price is rounded to when selling; 0 for none), porcentaje_descuento (the offer's, General list only) and en_moneda_principal (what a sale charges today: today's exchange rate and the list's rounding). null if the product has no price in that list. Changed: it used to be {lista: {id, nombre}, neto, final, moneda} |
precios |
With todas_las_listas=true, the prices of every list, same shape; null without the parameter |
oferta |
{neto, moneda, porcentaje_descuento} (General list net price with the offer) or null without an offer |
fecha_modificacion |
Last change to the product, its stock or its prices; null if the account does not record it yet |
costo |
The replacement cost loaded today, without VAT, in its currency — only with the costos permission |
Without the permission, the field is absent (not null).
Filters
| Filter | What it does |
|---|---|
id_marca, id_categoria, id_temporada |
One id or a comma-separated list |
id_proveedor |
The usual supplier. One id or a list |
tipo |
simple, padre, variante and/or combo, comma-separated (all by default) |
incluir_no_vigentes |
true to include deactivated products (only active ones by default) |
id_lista_precio |
The list for precio (0, the General list, by default) |
todas_las_listas |
true so every row also brings precios (all lists) |
modificado_desde, modificado_hasta |
Products whose record, stock (or a variant's) or prices changed in the range, inactive ones included by default. Not available yet: it turns on by itself once the account records the date of stock per branch; until then it returns 400. See incremental sync |
Any other filter is a 400 filtro_invalido. If you integrated against the
previous index: buscar, limit, page, orden, desde, hasta,
con_stock, con_disponible, id_sucursal, codigo_interno,
codigo_barras and id no longer exist on this listing (400). Use the
search to look up by text or code.
Cursor pagination
limite accepts up to 1000 (default 200). Pass
paginacion.siguiente_cursor (the last id of the page) as ?cursor= for the
next one; when there are no more, it's null. cantidad (how many products
the whole filtered set has) comes only on the first page; on the next
ones it's null.
How it's billed
The products on the page, plus 1 for cantidad on the first page, with the
productos weight. count is that figure.
Products not listed
For "which products are not on MercadoLibre or Tienda Nube?",
GET /v1/{account}/productos/sin-publicar?canal=mercadolibre (with
con_stock=true, what can be sold): see
products not listed.
Reference
Generated from the API's own schema, so it always reflects the real state.
Available fields
Can be filtered by
Can be sorted by
—
Use a hyphen and a direction: orden=fecha-desc, orden=id-asc. An orden the resource does not recognise — including the field:desc form, which belongs to raw tables — raises no error: you get the default order back. If the order matters, check the first row.
Text search looks at
—
Date field (for desde/hasta)
—
Limits
| Own rate limit | your plan's |
| Max range per query | 366 days |
| Max pagination depth | 50,000 skipped rows |
| Rows per page | up to 1000 |
Code examples
curl -H "X-API-Key: TU_KEY" \
"https://api.cianbox.uno/v1/TU_CUENTA/productos?limit=50"import requests
r = requests.get(
"https://api.cianbox.uno/v1/TU_CUENTA/productos",
headers={"X-API-Key": "TU_KEY"},
params={"limit": 50},
timeout=30,
)
r.raise_for_status()
for fila in r.json()["body"]:
print(fila)const r = await fetch(
"https://api.cianbox.uno/v1/TU_CUENTA/productos?limit=50",
{ headers: { "X-API-Key": "TU_KEY" } }
);
if (!r.ok) throw new Error(`HTTP ${r.status}`);
const { body } = await r.json();
console.log(body);