npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sg_innova/n8n-nodes-mercadolibre

v0.1.1

Published

Nodo n8n para integración con la API de MercadoLibre - Productos, Órdenes, Envíos, Preguntas, Mensajes, Categorías

Downloads

194

Readme

n8n-nodes-mercadolibre

MercadoLibre n8n License

Nodos n8n para integración con la API de MercadoLibre (developers.mercadolibre.com).

Incluye:

  • MercadoLibre (acción) - Productos, Categorías, Órdenes, Envíos, Preguntas, Mensajes, Usuarios, Búsqueda, Factura (cargar a pack), Facturación (reportes) y una operación de Llamada Personalizada para cualquier endpoint no cubierto explícitamente.
  • MercadoLibre Trigger - recibe webhooks/notificaciones en tiempo real (órdenes, preguntas, mensajes, envíos, pagos, reclamos, etc.).
  • MercadoLibre OAuth2 API - credencial OAuth2 (Authorization Code) lista para cualquier país/sitio de MercadoLibre.

🚀 Recursos y Operaciones

Producto (Item)

  • Crear, Obtener, Obtener varios por IDs, Actualizar
  • Actualizar Estado (activar/pausar/cerrar), Actualizar Stock
  • Buscar por Vendedor, Obtener/Actualizar Descripción
  • Subir Imagen (por URL o datos binarios del flujo)

Categoría

  • Listar por Sitio, Obtener, Obtener Atributos, Predecir Categoría (a partir de un título)

Producto de Catálogo

  • Obtener por ID

Orden

  • Obtener, Buscar (por vendedor, con filtros JSON libres), Agregar Feedback

Envío

  • Obtener, Obtener Items, Obtener Costos

Pregunta

  • Buscar, Obtener, Responder, Eliminar

Mensaje

  • Obtener por Pack (venta), Enviar

Usuario

  • Obtener Mi Cuenta (/users/me), Obtener por ID, Obtener Mis Publicaciones

Búsqueda

  • Buscar en Sitio (/sites/{site}/search) con filtros adicionales libres en JSON

Factura (Cargar a Pack)

Corresponde a Cargar Factura — la factura fiscal que el vendedor adjunta a cada venta (obligatorio en Colombia por regulación DIAN/logística).

  • Subir FacturaPOST /packs/{pack_id}/fiscal_documents (multipart, campo fiscal_document, PDF, máx. 1 MB, solo un documento por pack)
  • Obtener FacturaGET /packs/{pack_id}/fiscal_documents/{fiscal_document_id}
  • Eliminar FacturaDELETE /packs/{pack_id}/fiscal_documents/{fiscal_document_id} (para volver a subir una corregida)

Facturación (Reportes)

Corresponde a Facturación — las facturas/notas crédito que MercadoLibre le emite al vendedor por comisiones y servicios (Mercado Libre o Mercado Pago). No confundir con el recurso "Factura" de arriba.

  • Obtener PeríodosGET /billing/integration/monthly/periods (últimos períodos, máx. 12 por página)
  • Obtener DocumentosGET /billing/integration/periods/key/{key}/documents (facturas BILL / notas crédito CREDIT_NOTE del período)
  • Obtener ResumenGET /billing/integration/periods/key/{key}/summary/details (cargos, bonificaciones e impuestos)
  • Obtener Detalle de VentasGET /billing/integration/periods/key/{key}/group/{ML|MP}/details
  • Descargar DocumentoGET /billing/integration/legal_document/{file_id} (devuelve el PDF como dato binario, usa el file_id del array files de "Obtener Documentos")

Llamada Personalizada (Custom API Call)

Ejecuta cualquier método/endpoint de api.mercadolibre.com con query params y body en JSON. Cubre cualquier endpoint de la API no modelado explícitamente como operación (catálogo avanzado, fulfillment, reputación, promociones, etc.), reutilizando siempre la autenticación OAuth2 configurada.

🔔 MercadoLibre Trigger (Webhooks)

MercadoLibre no permite suscribir webhooks vía API — se configuran manualmente:

  1. Agrega el nodo MercadoLibre Trigger a tu flujo y actívalo (o copia la URL de test/producción).
  2. En developers.mercadolibre.com → tu aplicación → Notificaciones, pega esa URL como Callback URL.
  3. Selecciona los topics que te interesan (orders_v2, items, questions, messages, shipments, payments, claims, etc.) tanto en el panel de MercadoLibre como en el filtro del nodo.
  4. El nodo responde 200 OK inmediatamente (requerido por MercadoLibre) y entrega el payload crudo de la notificación ({ resource, user_id, topic, ... }). Encadena un nodo MercadoLibre (p. ej. Obtener Orden/Producto) usando {{$json.resource}} para traer el recurso completo.

⚙️ Configuración de Credenciales

  1. Crea una aplicación en developers.mercadolibre.com y obtén Client ID y Client Secret.
  2. Configura la Redirect URI de la app igual a la que n8n muestra en la pantalla de credenciales OAuth2.
  3. En n8n, crea una credencial MercadoLibre OAuth2 API, elige el País/Sitio donde está registrada la app (define el dominio auth.mercadolibre.<país> usado solo para el paso de autorización; el intercambio de tokens siempre ocurre en api.mercadolibre.com).
  4. Pulsa Connect my account y autoriza. El refresh token se gestiona automáticamente (offline_access).

📦 Instalación

En n8n (recomendado)

  1. Ve a SettingsCommunity Nodes
  2. Clic en Install
  3. Escribe: n8n-nodes-mercadolibre
  4. Clic en Install

Vía npm

npm install n8n-nodes-mercadolibre

🔗 Documentación de la API

  • https://developers.mercadolibre.com.co/es_ar/guia-para-producto
  • https://developers.mercadolibre.com.co/es_ar/autenticacion-y-autorizacion
  • https://developers.mercadolibre.com.co/es_ar/notificaciones
  • https://developers.mercadolibre.com.co/es_ar/cargar-factura
  • https://developers.mercadolibre.com.co/es_ar/facturacion

🤝 Contribuir

Las contribuciones son bienvenidas. Por favor abre un issue o pull request.

📄 Licencia

MIT © Manuel Reyes Bravo