Skip to content

Mercado Libre - Create Item

This module allows publishing products on Mercado Libre with all configuration options: price, stock, images, attributes, and shipping.

This module requires Mercado Libre (OAuth) credentials with the following fields:

FieldDescription
access_tokenOAuth access token with write permissions
FieldTypeRequiredDescription
credentials_idstringYesCredentials ID
titlestringYesProduct title (max 60 chars)
category_idstringYesCategory ID (MLA1234)
pricenumberYesProduct price
currency_idstringNoCurrency (default: ARS)
available_quantitynumberNoAvailable stock (default: 1)
conditionstringNonew, used, not_specified
listing_type_idstringNoListing type
descriptionstringNoProduct description
picturesarrayNoImage URLs
seller_custom_fieldstringNoSKU or internal code
shipping_modestringNoShipping mode
free_shippingbooleanNoFree shipping
warrantystringNoWarranty text
attributesarrayNoProduct attributes
ValueDescriptionCommission
gold_specialClassicMedium
gold_proPremiumHigh
freeFreeNo commission
CodeCountry
ARSArgentina
MXNMexico
BRLBrazil
CLPChile
COPColombia
USDDollar
{
"success": true,
"item": {...},
"item_id": "MLA123456789",
"permalink": "https://articulo.mercadolibre.com.ar/...",
"message": "Item \"iPhone 15 Pro\" created successfully with ID MLA123456789"
}
{
"credentials_id": "meli_cuenta",
"title": "iPhone 15 Pro Max 256GB Negro",
"category_id": "MLA1055",
"price": 1500000,
"available_quantity": 5
}
{
"credentials_id": "meli_cuenta",
"title": "Zapatillas Nike Air Max 90",
"category_id": "MLA1574",
"price": 89999,
"condition": "new",
"pictures": [
"https://example.com/imagen1.jpg",
"https://example.com/imagen2.jpg"
]
}
{
"credentials_id": "meli_cuenta",
"title": "Samsung Galaxy S24 Ultra 512GB",
"category_id": "MLA1055",
"price": 2500000,
"attributes": [
{"id": "BRAND", "value_name": "Samsung"},
{"id": "MODEL", "value_name": "Galaxy S24 Ultra"},
{"id": "INTERNAL_MEMORY", "value_name": "512 GB"}
]
}
{
"credentials_id": "meli_cuenta",
"title": "Smart TV 55 4K UHD",
"category_id": "MLA1002",
"price": 450000,
"shipping_mode": "me2",
"free_shipping": true
}
{
"credentials_id": "meli_cuenta",
"title": "Notebook Lenovo ThinkPad",
"category_id": "MLA1652",
"price": 850000,
"seller_custom_field": "LNV-TP-001",
"warranty": "12 meses de garantia oficial"
}
{
"credentials_id": "meli_cuenta",
"title": "PlayStation 5 Digital Edition",
"category_id": "MLA1144",
"price": 650000,
"condition": "used",
"description": "Consola en excelente estado, poco uso. Incluye control original."
}
[ERP Webhook] -> [Prepare data] -> [MeliCreateItem] -> [Save ID in DB]
[Read CSV] -> [Loop] -> [MeliCreateItem] -> [Log results]
[Schedule] -> [Get new products] -> [MeliCreateItem] -> [Notify]
// Prepare product from external system
const producto = ctx.data.producto_erp;
ctx.data = {
title: producto.nombre.substring(0, 60), // Max 60 chars
category_id: producto.categoria_meli,
price: producto.precio * 1.15, // 15% margin
available_quantity: producto.stock,
condition: producto.es_nuevo ? 'new' : 'used',
seller_custom_field: producto.sku,
pictures: producto.imagenes,
attributes: [
{ id: 'BRAND', value_name: producto.marca },
{ id: 'MODEL', value_name: producto.modelo }
],
shipping_mode: 'me2',
free_shipping: producto.precio > 50000
};
ErrorCauseSolution
”category_id is required”Missing categorySpecify a valid category_id
”Invalid category_id”Incorrect categoryUse the category predictor
”title exceeds max length”Title too longMaximum 60 characters
”Invalid picture URL”Invalid URLVerify image URLs
  • The title has a maximum of 60 characters
  • Images must be publicly accessible URLs
  • The category must be a leaf (no subcategories)
  • Attributes vary by category
  • Mercado Envios (me2) requires dimensions in some cases