Skip to content

Mercado Libre - Update Item

This module allows modifying existing listings: change price, stock, status, images, description, and more.

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

FieldDescription
access_tokenOAuth access token with write permissions
FieldTypeRequiredDescription
credentials_idstringYesCredentials ID
item_idstringYesItem ID (MLA123456789)
titlestringNoNew title
pricenumberNoNew price
available_quantitynumberNoNew stock
statusstringNoactive, paused, closed
descriptionstringNoNew description
picturesarrayNoNew image URLs
seller_custom_fieldstringNoNew SKU
shipping_modestringNoNew shipping mode
free_shippingbooleanNoFree shipping
warrantystringNoNew warranty
attributesarrayNoNew attributes
ValueDescription
activeActivate listing
pausedPause listing
closedEnd listing
{
"success": true,
"item": {...},
"item_id": "MLA123456789",
"fields_updated": ["price", "available_quantity", "status"],
"message": "Item MLA123456789 updated successfully"
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789",
"price": 1299000
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789",
"available_quantity": 25
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789",
"status": "paused"
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789",
"status": "active"
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789",
"price": 89999,
"available_quantity": 50
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789",
"description": "Nueva descripcion del producto con mas detalles..."
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789",
"shipping_mode": "me2",
"free_shipping": true
}
{
"credentials_id": "meli_cuenta",
"item_id": "MLA123456789",
"status": "closed"
}
[ERP stock change webhook] -> [MeliUpdateItem stock] -> [Log change]
[Read price CSV] -> [Loop] -> [MeliUpdateItem price] -> [Report]
[Schedule every hour] -> [MeliGetItems stock=0] -> [MeliUpdateItem paused]
[Schedule date] -> [Get offer items] -> [MeliUpdateItem price] -> [Notify]
// Sync stock from external system
const cambio = ctx.data.cambio_stock;
// Calculate new stock
const nuevoStock = Math.max(0, cambio.stock_actual);
// If stock is 0, pause
ctx.data = {
item_id: cambio.meli_item_id,
available_quantity: nuevoStock,
status: nuevoStock === 0 ? 'paused' : 'active'
};
// Apply bulk discount
const items = ctx.data.items_a_descontar;
const descuento = 0.15; // 15% discount
ctx.data = items.map(item => ({
item_id: item.id,
price: Math.round(item.price * (1 - descuento))
}));
  • category_id (category)
  • condition (condition)
  • listing_type_id (listing type - upgrade only)
  • buying_mode
ErrorCauseSolution
”Item not found”Incorrect IDVerify item_id
”Cannot update closed item”Ended itemCannot be reactivated
”Invalid status transition”Transition not allowedSee valid statuses
”Price is too low”Price below minimumRespect category minimum price
  • The description is updated on a separate endpoint
  • Some changes may require re-moderation
  • Ended (closed) items cannot be reactivated
  • Price changes may affect ranking
  • Images are completely replaced (not appended)