Documentation Mercado Libre
Check out all the necessary information about APIs Mercado Libre.
Documentation
Price per Variation
Figure 1: Family example with color variations and different prices
Key aspects
Key benefits
- Flexible pricing: Establish different prices per variation based on demand, cost, or market strategy.
- Independent listing types: Choose different exposure levels for each variation.
- Unified management: All variations share the same family_id for easy organization.
- Site-specific customization: Define specific prices and conditions for each marketplace.
How it works
In the traditional model, an item combined product information and sales terms. User Products separates these responsibilities: the UP defines the product, and the item defines the offer. Price per Variation arises naturally from this separation, allowing for multiple independent offers for related products.
- Each variation of color, size, or attribute is a separate User Product.
- All variations of the same product share the same family_id.
- Each User Product has its own item with independent price, listing_type, and shipping configuration.
- Product information (attributes, images, title) is managed at the UP Siteless level.
- Sales conditions (price, stock, shipping) are managed at the item level.
Seller validation
Sellers enabled for the User Products model have the user_product_seller tag. You can verify this by calling the users API:
Request:
curl -X GET 'https://api.mercadolibre.com/users/{user_id}' \
--header 'Authorization: Bearer $TOKEN'
Response (200 OK):
{
"user_type": "normal",
"tags": [
"user_product_seller",
"normal"
]
}
Listing limits
Each marketplace has a listing limit based on the seller's reputation. A higher reputation generally allows a higher number of active listings, and exceptions may apply depending on seller conditions.
Before creating a User Product or adding a marketplace, use Get listing limit to obtain the current capacity for the destination site_id and logistic_type. For the current limits by reputation, see What are the listing limits?.
Listing limit reached
When the current listing limit is reached, the response can include:
{
"cause_id": 5120,
"type": "ERROR",
"code": "item.max_limit_publish",
"message": "This item was not listed because you've reached your current listing limit in Mexico remote. Review how listing limits work: https://global-selling.mercadolibre.com/help/21423"
}
CAP cause code: user.quota_exceeded. Pause or delete active listings in the marketplace to free capacity, then check the current limit before retrying.
Best practices
- Once enabled for User Products (tag user_product_seller), create all new items under this model.
- Use family_name for a generic product description that applies to all variations.
- The variations array cannot be sent - it will return an error.
- Each variation must be created as a separate UP Siteless with its own attributes.
- Keep all variations of the same product grouped by using consistent family_name values.
- Stock is managed centrally at the UP Siteless level.
These flows allow the creation of listings using the User Products model. To correctly create a listing, it is important to take into account the following considerations and resources.
Listing
Creating variations as User Products
Required fields:
| Field | Required | Description |
|---|---|---|
| family_name | Yes | Generic description of the product family (e.g., "Apple iPhone 256GB"). |
| sites_to_sell | Yes | Array of destination marketplaces with their sales conditions. |
| attributes | Yes | Product attributes including the variation attribute (e.g., COLOR). |
| pictures | Yes | Product images (sent only by ID). |
| category_id | Yes | Category identifier for the product in the CBT catalog (e.g., CBT416197). |
| currency_id | Yes | Currency for the price (e.g., USD). |
| price or global_net_proceeds | Yes | Price or net proceeds under which the product will be listed (depends on the user's pricing model). |
Attribute logic
The attributes that can vary between variants of a User Product are defined by Mercado Libre through the so-called Child PK, which depend on the category or domain where the product is published.
It is essential that all variants of the same family consistently complete these attributes, as they are responsible for determining the grouping of products. When any of these attributes do not match between variants, products may be published as independent families.
Additionally, each variant can include its own attributes using any attribute that does not correspond to a Parent PK or a Child PK, allowing specific information to be added to each product without affecting the family grouping.
The list of available attributes for each category and domain can be consulted through the attributes endpoints available in this documentation.
Image upload
Before creating a UP Siteless, you must upload product images to obtain their IDs. Use those IDs in the pictures field when creating or updating a UP.
Request:
curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X POST \
-H 'content-type: multipart/form-data' \
-F 'file=@/Users/Documents/test.jpg' \
'https://api.mercadolibre.com/pictures/items/upload'
Response:
{
"id": "655219-CBT82943741035_032025",
"url": "https://http2.mlstatic.com/D_NQ_NP_655219-CBT82943741035_032025-O.jpg",
"size": "500x500",
"max_size": "1200x1200",
"quality": ""
}
Create UP Siteless with sales conditions
Create a UP Siteless for each variation (e.g., Red variation):
Request:
curl -X POST 'https://api.mercadolibre.com/global/items' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"sites_to_sell": [
{
"site_id": "MCO",
"logistic_type": "remote"
},
{
"site_id": "MLC",
"logistic_type": "remote"
},
{
"site_id": "MLB",
"logistic_type": "remote"
}
],
"family_name": "Red T-shirt M logo",
"category_id": "CBT416197",
"global_net_proceeds": 25,
"available_quantity": 100,
"description": {
"plain_text": "Sample item for E2E flow."
},
"pictures": [
{
"id": "655219-CBT82943741035_032025"
}
],
"attributes": [
{
"id": "ITEM_CONDITION",
"values": [
{
"id": "2230284",
"name": "New"
}
]
},
{
"id": "BRAND",
"value_name": "FlowBrand"
},
{
"id": "MODEL",
"value_name": "FlowModel"
},
{
"id": "PACKAGE_HEIGHT",
"value_name": "10 cm"
},
{
"id": "PACKAGE_LENGTH",
"value_name": "20 cm"
},
{
"id": "PACKAGE_WIDTH",
"value_name": "15 cm"
},
{
"id": "PACKAGE_WEIGHT",
"value_name": "500 g"
}
],
"sale_terms": [
{
"id": "WARRANTY_TYPE",
"value_id": "6150835",
"value_name": "No warranty"
}
]
}'
Response:
{
"item_id": "CBT2826958659",
"seller_id": 1305628788,
"site_id": "CBT",
"parent_user_product_id": "CBTU3687816070",
"siteless_user_product_id": "U3687816070",
"siteless_family_id": 4919667263731854,
"site_items": [
{
"item_id": "MCO3419064200",
"seller_id": 1305630918,
"site_id": "MCO",
"user_product_id": "MCOU3687816070",
"logistic_type": "remote"
},
{
"item_id": "MLB6068255422",
"seller_id": 1305627900,
"site_id": "MLB",
"user_product_id": "MLBU3687816070",
"logistic_type": "remote"
},
{
"item_id": "MLC3437222586",
"seller_id": 1305631715,
"site_id": "MLC",
"user_product_id": "MLCU3687816070",
"logistic_type": "remote"
}
]
}
Repeat the process for Blue and Green variations with their respective attributes and prices.
Adding new marketplaces
If you already have a UP Siteless and want to add a new marketplace:
Request:
curl -X POST 'https://api.mercadolibre.com/global/user-products/{siteless_user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"sites_to_sell": [
{
"site_id": "MLM",
"logistic_type": "remote",
"listing_type_id": "gold_pro",
"net_proceeds": 200
}
]
}'
Response (200 OK):
{
"item_id": "CBT2827162121",
"seller_id": 1305628788,
"site_id": "CBT",
"parent_user_product_id": "CBTU3689227954",
"siteless_user_product_id": "U3689227954",
"site_items": [
{
"item_id": "MLM4537463738",
"seller_id": 1305634202,
"site_id": "MLM",
"user_product_id": "MLMU3689227954",
"logistic_type": "remote"
}
]
}
Create multiple UP Siteless with sales conditions
With this resource it is possible to send all variants within a single request, simplifying integration and reducing the number of API calls. Each object in the array creates a new UP Siteless; items sharing the same family_name are grouped into the same product family.
Request:
Request
POST https://api.mercadolibre.com/global/user-products/families
[
{
"sites_to_sell": [
{"site_id": "MCO", "logistic_type": "remote"},
{"site_id": "MLC", "logistic_type": "remote"},
{"site_id": "MLB", "logistic_type": "remote"}
],
"family_name": "T-shirt Logo",
"category_id": "CBT416197",
"global_net_proceeds": 25,
"available_quantity": 100,
"description": {"plain_text": "Sample item for E2E flow."},
"pictures": [{"id": "655219-CBT82943741035_032025"}],
"attributes": [
{"id": "ITEM_CONDITION", "values": [{"id": "2230284", "name": "New"}]},
{"id": "BRAND", "value_name": "FlowBrand"},
{"id": "MODEL", "value_name": "FlowModel"},
{"id": "PACKAGE_HEIGHT", "value_name": "10 cm"},
{"id": "PACKAGE_LENGTH", "value_name": "20 cm"},
{"id": "PACKAGE_WIDTH", "value_name": "15 cm"},
{"id": "PACKAGE_WEIGHT", "value_name": "500 g"},
{"id": "COLOR", "value_name": "blue"},
{"id": "SIZE", "value_name": "M"}
],
"sale_terms": [{"id": "WARRANTY_TYPE", "value_id": "6150835", "value_name": "No warranty"}]
},
{
"sites_to_sell": [
{"site_id": "MCO", "logistic_type": "remote"},
{"site_id": "MLC", "logistic_type": "remote"},
{"site_id": "MLB", "logistic_type": "remote"}
],
"family_name": "T-shirt Logo",
"category_id": "CBT416197",
"global_net_proceeds": 25,
"available_quantity": 100,
"description": {"plain_text": "Sample item for E2E flow."},
"pictures": [{"id": "655219-CBT82943741035_032025"}],
"attributes": [
{"id": "ITEM_CONDITION", "values": [{"id": "2230284", "name": "New"}]},
{"id": "BRAND", "value_name": "FlowBrand"},
{"id": "MODEL", "value_name": "FlowModel"},
{"id": "PACKAGE_HEIGHT", "value_name": "10 cm"},
{"id": "PACKAGE_LENGTH", "value_name": "20 cm"},
{"id": "PACKAGE_WIDTH", "value_name": "15 cm"},
{"id": "PACKAGE_WEIGHT", "value_name": "500 g"},
{"id": "COLOR", "value_name": "red"},
{"id": "SIZE", "value_name": "M"}
],
"sale_terms": [{"id": "WARRANTY_TYPE", "value_id": "6150835", "value_name": "No warranty"}]
}
]
Response
[
{
"item_id": "CBT2826958659",
"seller_id": 1305628788,
"site_id": "CBT",
"parent_user_product_id": "CBTU3687816070",
"siteless_user_product_id": "U3687816070",
"siteless_family_id": 4919667263731854,
"site_items": [
{"item_id": "MCO3419064200", "seller_id": 1305630918, "site_id": "MCO", "user_product_id": "MCOU3687816070", "logistic_type": "remote"},
{"item_id": "MLB6068255422", "seller_id": 1305627900, "site_id": "MLB", "user_product_id": "MLBU3687816070", "logistic_type": "remote"},
{"item_id": "MLC3437222586", "seller_id": 1305631715, "site_id": "MLC", "user_product_id": "MLCU3687816070", "logistic_type": "remote"}
]
},
{
"item_id": "CBT3226958695",
"seller_id": 1305628788,
"site_id": "CBT",
"parent_user_product_id": "CBTU7647816987",
"siteless_user_product_id": "U7647816987",
"siteless_family_id": 4919667263731854,
"site_items": [
{"item_id": "MCO3419064400", "seller_id": 1305630918, "site_id": "MCO", "user_product_id": "MCOU7647816987", "logistic_type": "remote"},
{"item_id": "MLB6068255765", "seller_id": 1305627900, "site_id": "MLB", "user_product_id": "MLBU7647816987", "logistic_type": "remote"},
{"item_id": "MLC3437222234", "seller_id": 1305631715, "site_id": "MLC", "user_product_id": "MLCU7647816987", "logistic_type": "remote"}
]
}
]
Considerations
- Both the request and the response are encapsulated in an array (
[]). - Each element in the array represents an independent User Product and follows the same structure as the individual creation endpoint.
Add variants to an existing family
With this resource you can add one or more variants to an existing product family in a single request. All UP Siteless items created this way share the same siteless_family_id, linking them as related products.
Request:
curl -X POST 'https://api.mercadolibre.com/global/user-products/families/{siteless_family_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '[
{
"sites_to_sell": [
{
"site_id": "MLM",
"logistic_type": "fulfillment",
"listing_type_id": "gold_special"
},
{
"site_id": "MLB",
"logistic_type": "fulfillment",
"listing_type_id": "gold_special"
}
],
"global_net_proceeds": 25,
"description": {
"plain_text": "This is a description"
},
"pictures": [
{"id": "605261-CBT77716323570_072024"},
{"id": "973250-CBT77716323566_072024"},
{"id": "809324-CBT77716323562_072024"}
],
"attributes": [
{
"name": "Universal product code",
"value_id": null,
"id": "GTIN",
"value_name": "987926874949",
"values": [{"id": null, "name": "987926874949"}]
},
{
"id": "SELLER_SKU",
"name": "SKU",
"value_id": null,
"value_name": "ZYY4511CY^WE@#XXR-B45",
"values": [{"id": null, "name": "ZYY4511CY^WE@#XXR-B45"}]
},
{
"id": "SIZE",
"value_name": "M"
},
{
"id": "COLOR",
"value_id": "52049",
"value_name": "Black"
}
]
}
]'
Response:
[
{
"item_id": "CBT2827162121",
"seller_id": 1305628788,
"site_id": "CBT",
"parent_user_product_id": "CBTU3689227954",
"siteless_user_product_id": "U3689227954",
"siteless_family_id": 4919667263731854,
"site_items": [
{
"item_id": "MLM4537463738",
"seller_id": 1305634202,
"site_id": "MLM",
"user_product_id": "MLMU3689227954",
"logistic_type": "remote"
}
]
}
]
All variants created in a single call share the same siteless_family_id, linking them as related products.
Update
These flows allow the update of user products, enabling the seller to modify information they consider necessary to improve their listing. To correctly update a listing using the User Product model, it is important to take into account the following considerations and resources.
Site-specific attributes
With UP Siteless, you can provide site-specific values for the following item fields:
- Title (family_name): Marketplace-specific title.
- Description (description): Language/market-specific content.
- Price (net_proceeds): Marketplace-specific price.
- Status (status): Publication status (active, paused, closed).
- Listing type (listing_type): gold_special, gold_pro, etc.
- Official Store ID: Official store identifier.
- SALM: Site-specific logistics configuration.
Family attributes
The following attributes define the family relationship between variants — that is, the attributes that determine that two variants are part of the same family:
- Family Name: Marketplace-specific title that identifies the product family.
- Domain_id: Domain identifier associated with the product category.
- User_id: Identifier of the user (seller) who owns the user product.
- Attributes: Variation-defining attributes that link variants within the family:
- PARENT_PK: Primary key of the parent product in the family.
- CHILD_PK: Primary key of the child variant.
- Custom Attributes: Seller-defined attributes that differentiate variants (e.g., color, size).
- Item Condition: Condition of the item (new, used, etc.).
Updating a user product
With this resource you can update different fields of a user product, such as family_name, attributes, pictures, global_net_proceeds, and more.
Request:
curl -X PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"attributes": [{"id":"string","name":"string","values":[{"id":"string","name":"string"}]}],
"pictures": [{"id": "string"}],
"domain_id": "string",
"global_net_proceeds": 100,
"available_quantity": 100,
"listing_sites": [{
"listing_id":"string","family_name":"string","description":{"plain_text":"string"},
"category_id":"string","net_proceeds":9999,"official_store_id":"string",
"listing_type_id":"string","status":"string","deleted":true,
"sale_terms":[{"id":"string","name":"string","values":[{"id":"string","name":"string"}]}],
"marketplace":{"free_shipping":true}
}],
"locations": [{"store_id":"string","network_node_id":"string","quantity":9999}]
}'
Response:
{
"id": "U123231", "success": true, "errors": null, "task_id": "task_123",
"listing_sites": [
{"id":"MLM123456","success":true,"errors":null,"task_id":"task_123"},
{"id":"MLC3523193","success":true,"errors":null,"task_id":"task_123"}
],
"locations": [{"success":true,"errors":null}]
}
When a task_id is returned, the family update is processing asynchronously. See Querying the status of a task.
Partial update response (when one field fails):
{
"id": "U123231", "success": true, "errors": null,
"listing_sites": [
{"id":"MLM123456","success":true,"errors":null},
{"id":"MLC3523193","success":false,"errors":[{"code":"error_code","message":"Error description",
"cause":[{"department":"string","cause_id":0,"type":"string","code":"string","references":["string"],"message":"string","custom_data":{}}]}]}
]
}
Response with partial status
This response is generated when one of the updated fields fails.
{
"id": "U123231",
"success": true,
"errors": null,
"listing_sites": [
{
"id": "MLM123456",
"success": true,
"errors": null
},
{
"id": "MLC3523193",
"success": false,
"errors": {
"message": "item validation error",
"error": "bad_request",
"status": 400,
"cause": [
{
"department": "cbt-items",
"cause_id": 5120,
"type": "ERROR",
"code": "item.max_limit_publish",
"references": ["MLM", "remote", "https://global-selling.mercadolibre.com/help/21423"],
"message": "This item was not listed because you've reached your current listing limit in Mexico remote. Review how listing limits work: https://global-selling.mercadolibre.com/help/21423",
"custom_data": null
}
]
}
}
],
"locations": [{"success": true, "errors": null}]
}
Updating a user product family
With this resource you can update multiple variants at once, along with their sales conditions, and update values common across the family.
Request:
curl -X PUT 'https://api.mercadolibre.com/global/user-products/families/{family_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"common_data": {
"family_name": "Global User Product family name",
"description": {"plain_text": "description synchronized to all marketplaces"},
"attributes": [
{"id":"PARENT_PK","values":[{"id":"value_id","name":"value_name"}]},
{"id":"CHILD_PK","values":null},
{"name":"CUSTOM_ATTRIBUTE","values":[]}
]
},
"variants": [{
"up_global_id": "U456", "global_net_proceeds": 100, "available_quantity": 800,
"attributes": [
{"id":"CHILD_PK","values":[{"id":"value_id","name":"value_name"}]},
{"name":"CUSTOM_ATTRIBUTE","values":[{"name":"value_name"}]},
{"id":"ANY_OTHER_ATTRIBUTE","values":[{"id":"value_id","name":"value_name"}]}
],
"pictures": [{"id":"string"}],
"listing_sites": [{"listing_id":"string","net_proceeds":9999,"status":"string","listing_type_id":"string"}]
}]
}'
Response:
{
"family_id": 123456789, "user_id": 987654321, "task_id": "TASK-ID",
"variants": [{
"up_global_id": "U123456", "success": true, "error": null,
"listing_sites": [{"id":"MLM123456789","success":true,"error":null},{"id":"MLC987654321","success":true,"error":null}],
"locations": [{"success":true,"error":null}]
}]
}
Considerations
common_data.attributesonly allows PARENT_PK, or CHILD_PK and CUSTOM for deletion.variants.global_net_proceedstakes priority overvariants.listing_sites.net_proceeds.variants.available_quantityis only allowed for merchants operating undercross_dockinglogistics.variants.attributesdoes not allow PARENT_PK type attributes.
The task_id indicates the update is processing asynchronously. See Querying the status of a task.
Pausing and reactivating associated listings
Use this operation to pause or reactivate all listings associated with a User Product (UP), without specifying each listing in listing_sites. The service resolves the listings associated with the UP and propagates the status change automatically.
For an individual User Product, send status at the root level of the request body. Use paused to pause listings and active to reactivate previously paused listings.
For a User Product family, send status inside common_data. The action is applied to every User Product in the family and to all of their associated listings.
Pausing listings for a User Product
Request:
curl -X PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"status": "paused"
}'
Reactivating listings for a User Product
Request:
curl -X PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"status": "active"
}'
Pausing listings for a User Product family
Request:
curl -X PUT 'https://api.mercadolibre.com/global/user-products/families/{family_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"common_data": {
"status": "paused"
}
}'
Deleting associated listings
Use this operation to request the deletion of all listings associated with a User Product (UP), without specifying each listing in listing_sites. The service resolves the listings associated with the UP and propagates the request automatically.
For an individual User Product, send deleted at the root level of the request body.
For a User Product family, send deleted inside common_data. The action is applied to every User Product in the family and deletes all listings associated with each of them, without specifying individual entries in listing_sites.
Important: Do not combine status and deleted in the same request.
These endpoints require CBT OAuth. Use environment variables for the access token, and do not include credentials, access tokens, or user identifiers in the request body or URL parameters.
Deleting listings for a User Product
Request:
curl -X PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"deleted": true
}'
Deleting listings for a User Product family
Request:
curl -X PUT 'https://api.mercadolibre.com/global/user-products/families/{family_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"common_data": {
"deleted": true
}
}'
The API returns 200 when the operation completes for all processed entities and 206 when the result is partial. In the latter case, review the errors for each entity before retrying.
Updating prices
To update the price of a specific variation in one or more marketplaces:
Request:
curl -X PUT 'https://api.mercadolibre.com/global/user-products/{siteless_user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"listing_sites": [
{
"listing_id": "MLM4529604428",
"net_proceeds": 55.50
}
]
}'
Response (200 OK):
{
"id": "U3685216136",
"errors": null,
"listing_sites": [
{
"id": "MLM4529604428",
"success": true,
"errors": null
}
]
}
Updating images
To update images for a UP Siteless (the thumbnail will be automatically recalculated):
Request:
Image upload
Before updating the images of a user product, if you are adding a new image, upload it first using the following resource:
curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X POST \
-H 'content-type: multipart/form-data' \
-F 'file=@/Users/Documents/test.jpg' \
'https://api.mercadolibre.com/pictures/items/upload'
curl -X PUT 'https://api.mercadolibre.com/global/user-products/{siteless_user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"pictures": [
{
"id": "790745-CBT77271594694_072024"
}
]
}'
Response:
{
"id": "U3685216136",
"success": true,
"errors": null
}
Error codes
Synchronous update errors
These codes may appear in the errors[] field of a synchronous response (HTTP 200/206):
| Code | Message | Description |
|---|---|---|
5018 |
Cannot update item price because it is an invalid value | The net_proceeds value is not valid (e.g., negative). |
5147 |
listing type {value} is not valid for the user | The listing_type_id sent is not valid for this user or item. |
5171 |
The update of your price in IPA has failed, please retry the request | Transient pricing system error. Retry the request. |
5014 |
{field} is not modifiable | The specified field cannot be modified in the item's current state. |
Asynchronous update errors
These codes appear in the reasons[] field of the GET tasks response:
| cause_id | code | Description |
|---|---|---|
| 31 | fields.to_update.missing |
No changes were sent to update. |
| 32 | common_content.family_name.null |
The family_name field cannot be null. |
| 33 | common_content.domain_id.null |
The domain_id field cannot be null. |
| 34 | common_content.attributes.null |
The attributes field within common_content cannot be null. |
| 35 | user_products.null |
The user_products array cannot be null or empty. |
| 36 | user_products.id.null |
The User Product id field cannot be null. |
| 37 | user_products.attributes.null |
User Product attributes cannot be null. |
| 38 | user_products.incomplete |
Not all User Products belonging to the family were sent. |
| 39 | user_products.family_not_exist |
The family was not found. |
| 40 | user_products.attribute_id.missing |
The attribute id is missing. |
| 43 | user_products.attribute_value_id.missing |
The attribute value_id is missing. |
| 44 | user_products.attribute_value_name.missing |
The attribute value_name is missing. |
| 45 | user_products.duplicated_attribute |
The same attribute was sent more than once for a single User Product. |
| 46 | user_products.update.failed |
Unexpected error during the update. Check the message field for details. |
| 47 | user_products.miss_match_attribute |
Attempting to add or remove a child_pk or custom_attribute without sending it for all User Products in the family. |
| 48 | user_products.duplicated_attribute.by_common_content_and_by_user_product |
The same attribute was sent in both common_content and in a User Product. |
| 51 | user_products.attributes.number_unit |
The unit specified in value_name is not valid for the attribute. |
| 55 | family_id.collision |
The resulting configuration corresponds to an existing family. To preserve the family_id, the update is not applied to that User Product. |
Update examples
The following examples cover the most common update scenarios using the Global Update API. Each request only includes the fields you want to update.
1. Update title in a child UP via the global UP
Request:
curl --location --request PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"listing_sites": [{"listing_id": "{item_id}", "family_name": "New title for this marketplace"}]
}'
2. Update attributes in the global UP and sync to child UPs
Request:
curl --location --request PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"attributes": [
{"id": "PACKAGE_LENGTH", "values": [{"name": "126 cm"}]},
{"id": "PACKAGE_HEIGHT", "values": [{"name": "25 cm"}]},
{"id": "PACKAGE_WEIGHT", "values": [{"name": "200 g"}]},
{"id": "PACKAGE_WIDTH", "values": [{"name": "124 cm"}]}
]
}'
5. Update sale terms of a sale condition
Request:
curl --location --request PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"listing_sites": [{"listing_id": "{item_id}", "sale_terms": [{"id": "WARRANTY_TIME", "values": [{"name": "21 days"}]}]}]
}'
6. Update the listing type of a child item
Request:
curl --location --request PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"listing_sites": [{"listing_id": "{item_id}", "listing_type_id": "gold_pro"}]
}'
7. Update the status of a child item
Request:
curl --location --request PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"listing_sites": [{"listing_id": "{item_id}", "status": "paused"}]
}'
8. Update net proceeds in a child item
Request:
curl --location --request PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"listing_sites": [{"listing_id": "{item_id}", "net_proceeds": 21}]
}'
9. Update free shipping of an item
Request:
curl --location --request PUT 'https://api.mercadolibre.com/global/user-products/{user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"listing_sites": [{"listing_id": "{item_id}", "marketplace": {"free_shipping": true}}]
}'
Update stock for cross docking
curl -X PUT 'https://api.mercadolibre.com/global/user-products/{siteless_user_product_id}' \
--header 'Authorization: Bearer $ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{"available_quantity": 80}'
Interpreting the response of an update
Updates on User Products can be executed synchronously or asynchronously, depending on the type of information being modified.
Synchronous updates
Synchronous updates are processed during the execution of the request. The endpoint response immediately indicates whether the operation was successful or if an error occurred.
Synchronous fields: pictures, price / net_proceeds, status, listing_type_id, free_shipping, sale_terms.
Successful response (HTTP 200):
{
"id": "U4165097126",
"success": true,
"errors": null
}
Partial error response (HTTP 206):
Occurs when the update was processed but one or more listing_sites failed. The root-level success field may be true even if an individual listing site failed.
{
"id": "U4165097126",
"success": true,
"errors": null,
"listing_sites": [
{
"listing_id": "MLM5574425860",
"success": false,
"errors": [
{
"code": 5014,
"message": "sale_terms is not modifiable"
}
]
}
]
}
Asynchronous updates
Updates that modify the configuration of a family require additional processing and are therefore executed asynchronously. The PUT response only confirms that the request was accepted for processing — it does not guarantee that the update has completed successfully.
Asynchronous fields: family_name (family title), family attributes of type PARENT_PK, CHILD_PK, and CUSTOM, domain_id.
When an update is processed asynchronously, the response will include a task_id field. Its location depends on how the update was sent:
- Global family updates (changes to
common_data.attributesorcommon_data.family_name) →task_idappears at the root level of the response body.
{
"id": "U123456789",
"task_id": "mco_12345678-abcd-1234-abcd-1234567890ab"
}
- Updates sent via
listing_site→task_idappears inside the corresponding object inlisting_sites[].task_id.
{
"listing_sites": [
{
"id": "MLM123456789",
"task_id": "mlm_12345678-abcd-1234-abcd-1234567890ab"
}
]
}
Querying the status of a task
Use the task_id returned to check the status of the asynchronous operation.
GET https://api.mercadolibre.com/user-products-families/tasks/{task_id}
curl -X GET "https://api.mercadolibre.com/user-products-families/tasks/{task_id}" \
-H "Authorization: Bearer $ACCESS_TOKEN"
Example response:
{
"task_id": "mlm_86e58b0d-78a3-43e6-a1e3-c1ffef6ea772",
"status": "processing",
"user_products": [
{
"id": "MLAU1234",
"status": "succeeded",
"processed_date": "2026-04-01T19:56:10.000+0000",
"last_updated": "2026-04-01T19:56:10.000+0000",
"reasons": null
},
{
"id": "MLAU999",
"status": "pending",
"processed_date": "2026-04-01T19:56:10.000+0000",
"last_updated": "2026-04-01T19:56:10.000+0000",
"reasons": null
},
{
"id": "MLAU888",
"status": "failed",
"processed_date": "2026-04-01T19:56:10.000+0000",
"last_updated": "2026-04-01T19:56:10.000+0000",
"reasons": [
{
"code": "some.error",
"message": "descriptive message",
"type": "error",
"cause_id": 15,
"department": "some department"
}
]
}
],
"date_created": "2026-04-01T19:56:09.949+0000",
"last_updated": "2026-04-01T19:56:10.706+0000"
}
Task status
| Status | Description |
|---|---|
pending |
The task was created and is waiting to be processed. |
processing |
The task is currently being executed. |
finished |
The task has completed. |
Status per User Product
| Status | Description |
|---|---|
pending |
The User Product has not yet been processed. |
processing |
The User Product is currently being processed. |
succeeded |
The update was applied successfully. |
failed |
The update could not be completed. Check the reasons field for details. |
HTTP response codes
| Code | Description |
|---|---|
200 |
OK |
404 |
Task not found |
Mapping
These flows allow you to retrieve valuable information from the User Product model, from the details of a created product to the products belonging to a family.
Identifying products from the same family
All User Products representing variations of the same product share the same family_id.
Get all User Products in a family:
Request:
curl -X GET 'https://api.mercadolibre.com/sites/{site_id}/user-products-families/{family_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'X-API-Version: 2'
Response:
{
"user_products_ids": [
"U3687816070",
"U3687816071",
"U3687816072"
],
"family_id": 4919667263731854,
"user_id": 1305628788
}
Get UP Siteless information
Request:
curl -X GET 'https://api.mercadolibre.com/user-products/{siteless_user_product_id}' \
--header 'Authorization: Bearer $TOKEN' \
--header 'X-API-Version: 2'
UP Mapping
The UP Mapping endpoint lets you query the relationship between a User Product and its associated site items across marketplaces. Both siteless (U{id}) and site-prefixed (CBTU{id}) formats are accepted and return the same response.
Request:
curl -X GET 'https://api.mercadolibre.com/marketplace/user-products/{siteless_user_product_id}/mapping' \
--header 'Authorization: Bearer $TOKEN'
Response:
[
{
"item_id": "CBT4232488286",
"owner_id": 3092369242,
"site_id": "CBT",
"user_product_id": "CBTU3972144818",
"siteless_user_product_id": "U3972144818",
"site_items": [
{
"item_id": "MLM3185408780",
"site_id": "MLM",
"logistic_type": "fulfillment"
}
]
}
]
Getting the UP Siteless ID from an item
If you did not save the siteless_user_product_id at the time of creating the UP Siteless, you can retrieve it from any of its associated marketplace items by following these two steps.
Step 1: GET the marketplace item
Call the items API using the marketplace item ID. The response will include a cbt_item_id field that references the cross-border trade (CBT) item.
Request:
curl -X GET 'https://api.mercadolibre.com/marketplace/items/{item_id}' \
--header 'Authorization: Bearer $TOKEN'
Response (200 OK):
{
"id": "MLM2926342833",
"site_id": "MLM",
"date_created": "2026-05-12T20:59:39.004Z",
"title": "End-to-end Flow Test Product - MLM30",
"user_product_id": "MLMU3955791227",
...,
"cbt_item_id": "CBT3335753915",
...
}
Save the value of cbt_item_id — it will be used in Step 2.
Step 2: GET the CBT item to retrieve the UP Siteless ID
Use the cbt_item_id obtained in Step 1 to query the CBT item. The response contains a marketplace_items array where the siteless_user_product_id field is exposed.
Request:
curl -X GET 'https://api.mercadolibre.com/marketplace/items/{cbt_item_id}' \
--header 'Authorization: Bearer $TOKEN'
Response (200 OK):
{
"id": "CBT3335753915",
"site_id": "CBT",
"date_created": "2026-05-12T20:59:39.086Z",
"title": "End-to-end Flow Test Product - MLM30",
"user_product_id": "CBTU3955791227",
...,
"marketplace_items": [
{
"item_id": "MLM2926342833",
"user_id": 3099837992,
"site_id": "MLM",
"date_created": "2026-05-12T20:59:39Z",
"logistic_type": "fulfillment",
"user_product_id": "MLMU3955791227",
"siteless_user_product_id": "U3955791227",
"parent_id": "CBT3335753915",
"parent_user_id": 3092369242,
"parent_user_product_id": "CBTU3955791227"
}
],
...
}
The siteless_user_product_id field (e.g., U3955791227) inside the marketplace_items array is the UP Siteless ID you need to perform any subsequent operations such as updating prices, images, or adding new marketplaces.