MercadoLibre sales
Orders exactly as MercadoLibre delivers them, before or in addition to becoming a voucher in your system: the ML order number, the buyer, the shipment, its status and the sale in your system that invoices it. The resource to reconcile what ML pays you, to build a dashboard of what's left to ship or invoice, or to measure how much of your revenue comes from the channel.
GET /v1/{cuenta}/ml_ventas is Cianbox's order listing: newest to oldest
(by creation), cursor-paginated (not page/limit), up to 1000 per
page. Each row is the header of the order's document, without the
items or the pack. The full order is requested by id: GET /ml_ventas/{id}
returns exactly the same as GET /documentos/venta_mercadolibre/{id}; a whole
cart, with GET /documentos/pack_mercadolibre/{pack_number}
(documents).
Example
curl -H "X-API-Key: YOUR_KEY" \
"https://api.cianbox.uno/v1/YOUR_ACCOUNT/ml_ventas?estado_orden=cobrada&estado_facturacion=pendiente&limite=1"
{
"status": "ok", "module": "reporte:listado_ordenes_mercadolibre", "count": 2, "units_charged": 5,
"body": {
"listado_ordenes_mercadolibre": {
"parametros": {"fecha_desde": "2026-09-01", "fecha_hasta": "2026-09-30", "fecha_consulta": "2026-09-30",
"id_cuenta": null, "id_cliente": null, "estado_orden": "cobrada",
"estado_facturacion": "pendiente", "limite": 1, "cursor": null},
"totales": [{"moneda": "ARS", "cantidad": 18, "total": 2350000.0}],
"ordenes": [
{
"id": 493805, "id_ml": "2000000000000001",
"cuenta": {"id": 1, "nombre": "MITIENDA"}, "canal_venta": "marketplace",
"fecha": "2026-09-24 21:02:08", "fecha_cierre": "2026-09-24 21:02:41",
"fecha_carga": "2026-09-24 21:05:00",
"estado": "vigente", "estado_orden": "cobrada",
"circuito": {"cobrada": true, "despachada": false, "recibida": false, "completada": false},
"cancelacion": null,
"comprador": {"id": 494819, "id_ml": "123456789", "usuario": "COMPRADOR_EJEMPLO", "nombre": "Ana Martínez",
"razon_social": null, "tipo_documento": "DNI", "documento": "12345678",
"condicion_iva": "Consumidor Final", "email": null, "telefono": null,
"domicilio": null, "localidad": null},
"cliente": null,
"estado_facturacion": "pendiente", "venta": null,
"moneda": "ARS",
"envio": {"id_ml": "44001122334", "logistica": "fulfillment", "opcion": null, "tipo": null,
"estado": "ready_to_ship", "subestado": null, "transportista": null,
"numero_seguimiento": null, "fecha_etiqueta": null, "fecha_envio": null,
"fecha_actualizacion": null, "destino": null},
"importes": {"descuento_cupones": 1000.0, "total": 196998.0,
"comision_mercadolibre": 29549.7, "costo_envio_comprador": 0.0,
"costo_envio_vendedor": 7500.0}
}
],
"paginacion": {"limite": 1, "siguiente_cursor": "2026-09-24 21:02:08:493805", "hay_mas": true}
}
}
}
What each row has
The header of the order's document, without items, resumen,
importes.subtotal (the sum of the items) or pack. The sale in your system
that invoices it (venta) is included, with estado_facturacion.
| Field | What it is |
|---|---|
id / id_ml |
Cianbox's internal id / the order number MercadoLibre shows |
estado |
"vigente" or "cancelada" (ML orders aren't voided: they're cancelled) |
estado_orden |
By priority: cancelada, completada, recibida, despachada, cobrada, pendiente_de_pago |
estado_facturacion |
facturada (has a current sale in your system), excluida (taken out of the invoicing flow) or pendiente |
comprador |
ML data and the billing data given in the order |
cliente |
The associated customer in your records, or null if not linked yet |
moneda |
The account's main currency (orders don't store a currency) |
importes |
descuento_cupones, total, costo_envio_comprador and, with the costos scope, comision_mercadolibre and costo_envio_vendedor |
What it costs to sell there requires the costs permission. The fee and
the shipping you absorb are the channel's profitability (the fee is around
31 % of the price in a reference database): without the costos scope those
two fields aren't included, just like in the document.
Filters
| Filter | What it does |
|---|---|
fecha_desde, fecha_hasta |
On the order's creation. Without dates, the current month; up to 12 months |
id_cliente |
One id or a list. With a customer and no dates, their whole history |
id_cuenta |
The MercadoLibre account. One id or a list |
estado_orden |
One of the above |
estado_facturacion |
facturada, excluida or pendiente |
Any other filter is a 400 filtro_invalido. If you integrated against the
previous index: buscar, orden, desde, hasta (which looked at the
closing date), limit, page, id, id_venta_ml, id_pack_ml,
id_publicacion, id_venta, canal_venta, logistica, cancelada,
cobrado and despachado no longer exist on this listing (400). Paid but
not shipped is estado_orden=cobrada; cancelled ones, estado_orden=cancelada.
Pagination and totals
limite accepts up to 1000 (default 200). Pass
paginacion.siguiente_cursor as ?cursor= (the date has a time:
"2026-09-24 21:02:08:493805"); when there are no more, it's null.
totales (count and total; cancelled orders count but don't add up)
comes only on the first page.
How it's billed
The orders on the page, plus the totales rows on the first page, with the
ml_ventas weight. count is that figure. The sale in your system that
invoices each order is read by the page's ids and not billed separately.
Listings
Listings (what is active or paused and why, and where the published price
or stock does not match your system) have their own listing,
GET /v1/{account}/publicaciones/mercadolibre, under the same MercadoLibre
category: see
MercadoLibre and Tienda Nube listings.
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.
Every row carries fecha_modificacion; totales count only current
records. Step by step: Reports → incremental
sync.
.../ml_ventas?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 | 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/ml_ventas?limit=50"import requests
r = requests.get(
"https://api.cianbox.uno/v1/TU_CUENTA/ml_ventas",
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/ml_ventas?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);