Pedidos (Customer orders)
Customer orders (counter, web store or marketplaces): what was ordered, by whom, through which channel, how it ships and whether it was already invoiced or dispatched. Useful to follow what's pending to invoice or deliver and each channel's workflow.
GET /v1/{cuenta}/pedidos is Cianbox's listing: from most recent to
oldest, with the same names and values as the full
document, paginated by cursor — the same
contract as sales. Line items and the
document it became are fetched by id: GET /pedidos/{id} returns exactly
the same as GET /documentos/pedido/{id}.
Example
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/pedidos?fecha_desde=2026-09-01&fecha_hasta=2026-09-30&limite=1"
{
"status": "ok", "module": "reporte:listado_pedidos", "count": 2, "units_charged": 3,
"body": {
"listado_pedidos": {
"parametros": {"fecha_desde": "2026-09-01", "fecha_hasta": "2026-09-30",
"incluir_anulados": false, "separar_por_moneda": false, "limite": 1},
"conversion": {"moneda": "ARS", "criterio": "cotizacion_de_cada_comprobante",
"comprobantes_convertidos": 0, "comprobantes_sin_cotizacion": 0},
"totales": [{"moneda": "ARS", "cantidad": 1204, "total": 912345678.9}],
"pedidos": [
{
"id": 89783, "numero": 79286, "fecha": "2026-09-25",
"vendedor": {"id": 82, "nombre": "Online store"},
"estado": "vigente",
"estado_pedido": {"id": 2, "nombre": "INICIAL"},
"cliente": null,
"moneda": "ARS",
"canal_venta": {"id": 20, "nombre": "Marketplace"},
"sucursal": {"id": 23, "nombre": "E-commerce"},
"entrega": {"domicilio": null, "empresa_transporte": {"id": 3, "nombre": "Andreani"},
"cantidad_bultos": 2, "encargado": "Juan"},
"conversion": {"convertido_en": "remito", "id_venta": null, "id_remito": 4411,
"estado_entrega": "entregado", "estado_cobranza": null},
"referencia_externa": "MKP-1234", "observaciones": "Ring the bell",
"total": 879999.0
}
],
"paginacion": {"limite": 1, "siguiente_cursor": "2026-09-25:89783", "hay_mas": true}
}
}
}
What each row brings
| Field | What it is |
|---|---|
id |
The order's id, to request GET /pedidos/{id} |
numero |
The order's internal number (no point of sale) |
fecha |
The order date |
vendedor, sucursal |
{id, nombre} or null |
estado |
"vigente" or "anulado" |
estado_pedido |
The account's workflow status ({id, nombre}), or null |
cliente |
{id, nombre, cuit, condicion_iva}, or null without a customer |
canal_venta |
The order's channel type ({id, nombre}) or null |
entrega |
The chosen delivery address (or null: the customer's is in their record), carrier, packages and person in charge |
conversion |
null if pending. Otherwise what it became (venta or remito), the ids, and the estado_entrega/estado_cobranza of what was generated (a delivery note is the delivery itself: entregado, no collection); both null if that sale or delivery note is no longer active |
referencia_externa, observaciones |
As entered (marketplace orders may carry buyer details in the notes) |
total |
In the order's currency; 0 if voided |
conversion.estado_cobranza (saldada, pendiente or vencida, same rule
as the sales listing) is accounts receivable: it only shows up if your
key has the ctacte permission and can read ctacte_clientes.
Filters
| Filter | What it does |
|---|---|
fecha_desde, fecha_hasta |
YYYY-MM-DD. With neither: the current month |
id_cliente, id_sucursal, id_vendedor, id_canal_venta, id_estado, id_producto |
An id or a comma-separated list (id_estado=0 is "no status"; id_producto includes a parent product's variants) |
numero |
The order number |
importe_desde, importe_hasta |
On the total; dot or comma decimal |
moneda |
ISO code, as loaded |
estado_conversion |
pendiente or convertido (into a sale or delivery note) |
incluir_anulados |
true to list voided ones (total 0, never added up) |
limite |
Rows per page: 50 by default, up to 1000 |
separar_por_moneda |
true for totales per currency, unconverted |
Up to 12 months per query, unless you filter by id_cliente,
id_producto or numero (no dates: the whole history). Any other filter
returns 400 filtro_invalido. Paginate with ?cursor=; totales is
unified in the main currency like in sales; billed by the rows on the page
plus totales.
What changed from the previous listing
Until 2026-09-30 this route was our own index (desde/hasta,
page/limit, buscar, orden). It's now Cianbox's listing, and each row
adds salesperson, channel, branch, delivery, conversion follow-up, external
reference and notes. The old id_venta, vendido and facturar filters
are replaced by estado_conversion.
Full document
.../pedidos/89783
All document types, their permissions and how they're billed: Full documents.
Order items: one row per line, for exporting
GET /v1/{cuenta}/pedidos/items lists the lines of orders, the
counterpart of sales and purchase items: each one with its order
(id, date, number), customer, branch, salesperson, currency and exchange
rate, product (name, code and variant) with its brand and category, and the
item as it is in the document (type, description, quantity, unit price,
discount, net, VAT and total; the reserved quantity, only while the order has not been converted. Combo components are not listed: the combo is the priced line and its components are in the document).
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/pedidos/items?fecha_desde=2026-08-01&fecha_hasta=2026-08-31&limite=1000"
- Order: most recent order first and, within each one, by item id.
- Filters: those of the orders listing, plus the product's
id_marcaandid_categoria, andid_producto(the product or its variants; here it narrows the items, not the orders that contain it). Noincluir_anulados. - Pagination: cursor
fecha:id_pedido:id_item;limiteup to 1000 (200 by default).totales(lines, units, net and total) andconversionon the first page only. - Permissions: requires
pedidosandproductos. - Modified since a date:
modificado_desde/modificado_hastaby the order's date (items have none of their own), without the default range; each row withfecha_modificacion. To sync, replace all items of every order that shows up. - API only: the MCP does not offer it.
Incremental sync
modificado_desde and modificado_hasta (YYYY-MM-DD or
YYYY-MM-DD HH:MM:SS) return only what changed in that range, without the
default date range and including deleted records: the order comes with
"estado": "eliminado" and amounts at 0 when deleted, so you can remove your
copy, and voided ones are included unless incluir_anulados=false.
Every row carries fecha_modificacion; totales count only current
records. Step by step: Reports → incremental
sync.
.../pedidos?modificado_desde=2026-10-07%2009:15:00&limite=1000
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 | 300 req/min |
| Max range per query | 366 days |
| Max pagination depth | 50,000 skipped rows |
| Rows per page | up to 200 |
Code examples
curl -H "X-API-Key: TU_KEY" \
"https://api.cianbox.uno/v1/TU_CUENTA/pedidos?limit=50"import requests
r = requests.get(
"https://api.cianbox.uno/v1/TU_CUENTA/pedidos",
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/pedidos?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);