Documentation Mercado Libre
Check out all the necessary information about APIs Mercado Libre.
Documentation
Clearance
Clearance campaigns are automated promotions managed by Mercado Libre, designed to accelerate the sale of products stored in Fulfillment (Full) warehouses. These campaigns are created and automatically assigned to eligible items based on stock conditions and commercial criteria.
Clearance Campaign Considerations
- Only applicable for Full China sellers.
- Prices are automatically defined by Mercado Libre.
- Read-only for sellers and integrators — sellers cannot add, edit, or delete items from these campaigns through the API.
- Cannot be combined with other promotions.
- Campaign duration can be queried from item promotions.
- Upon completion, if the item still meets eligibility criteria, it will be automatically re-entered. This cycle repeats while the item remains eligible.
- Items can exit a Clearance campaign in two ways:
- Sale of all units: When all units of the item stored in Full are sold, the item is automatically removed from the campaign.
- Warehouse withdrawal: The seller can request merchandise removal from the Mercado Libre frontend. For more information, consult the merchandise withdrawal guide.
Query Seller Promotions
When querying available promotions for a seller, Clearance campaigns appear alongside other promotion types with type: "CLEARANCE".
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/users/$USER_ID?app_version=v2'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/users/1317418851?app_version=v2'
Response:
{
"results": [
{
"id": "P-MLM6218026",
"type": "DEAL",
"status": "started",
"start_date": "2026-03-04T17:00:00Z",
"finish_date": "2026-05-31T05:00:00Z",
"deadline_date": "2026-05-31T05:00:00Z",
"name": "Tier 3 de CBT",
"allow_combination": false
},
{
"id": "P-MLM6276082",
"type": "CLEARANCE",
"status": "started",
"start_date": "2026-03-20T13:43:00Z",
"finish_date": "2026-04-20T18:00:00Z",
"name": "Full - Descuentos",
"allow_combination": false
}
],
"paging": {
"offset": 0,
"limit": 50,
"total": 2,
"searchAfter": ""
}
}
Response Fields
- id: Promotion identifier code.
- type: Promotion type. For Clearance campaigns, the value is
CLEARANCE. - status: Current campaign status:
pending,started, orfinished. - start_date: Promotion start date in ISO 8601 format.
- finish_date: Promotion end date in ISO 8601 format.
- name: Promotion name.
- allow_combination: Indicates if the campaign can be combined with other promotions. Always
falsefor Clearance.
Query Campaign Details
To obtain the details of a specific campaign, make the following request:
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/$PROMOTION_ID?promotion_type=CLEARANCE&user_id=$USER_ID&app_version=v2'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/P-MLM6276082?promotion_type=CLEARANCE&user_id=1317418851&app_version=v2'
Response:
{
"id": "P-MLM6276082",
"type": "CLEARANCE",
"status": "started",
"start_date": "2026-03-20T13:43:00Z",
"finish_date": "2026-04-20T18:00:00Z",
"name": "Full - Descuentos",
"allow_combination": false
}
Response Fields
- id: Unique campaign identifier.
- type: Promotion type. Value:
CLEARANCE. - status: Current campaign status.
- start_date: Campaign start date and time in ISO 8601 format.
- finish_date: Campaign end date and time in ISO 8601 format.
- name: Campaign name.
- allow_combination: Indicates if the campaign can be combined with other promotions. Always
falsefor Clearance.
Query Campaign Items
To see the items that are part of a campaign, make the following request:
Request:
curl -X GET \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/$PROMOTION_ID/items?promotion_type=CLEARANCE&user_id=$USER_ID' \
--header 'Authorization: Bearer $ACCESS_TOKEN' \
--header 'version: v2'
Response:
{
"results": [
{
"id": "MLM4694014080",
"status": "started",
"price": 10,
"original_price": 12.05,
"currency_id": "USD",
"net_proceeds": {
"amount": 7.53,
"currency": "USD"
}
},
{
"id": "MLM4693768608",
"status": "started",
"price": 11,
"original_price": 13.69,
"currency_id": "USD",
"net_proceeds": {
"amount": 8.41,
"currency": "USD"
}
},
{
"id": "MLM2705460973",
"status": "started",
"price": 23,
"original_price": 26.47,
"currency_id": "USD",
"net_proceeds": {
"amount": 17.13,
"currency": "USD"
}
}
],
"paging": {
"offset": 0,
"limit": 50,
"total": 3,
"searchAfter": ""
}
}
Response Fields
- results: Array of items in the promotion.
- id: Item identifier.
- status: Item status in the campaign.
- price: Promotional price for the item.
- original_price: Original item price (without promotion).
- currency_id: Currency code (e.g., USD).
- net_proceeds: Estimated net amount the seller will receive.
- amount: Net amount value.
- currency: Currency code.
Query Item Promotions
Get all promotions associated with an item.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/$ITEM_ID?user_id=$USER_ID&app_version=v2'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/MLM4694488426?user_id=1317418851&app_version=v2'
Response:
[
{
"id": "P-MLM6218026",
"type": "DEAL",
"status": "candidate",
"start_date": "2026-03-04T11:00:00-06:00",
"finish_date": "2026-05-30T23:00:00-06:00",
"name": "Tier 3 de CBT",
"allow_combination": false
},
{
"id": "P-MLM6276082",
"type": "CLEARANCE",
"status": "started",
"start_date": "2026-03-20T07:43:00-06:00",
"finish_date": "2026-03-27T07:13:00-06:00",
"name": "Full - Descuentos",
"allow_combination": false
}
]
Response Fields
- id: Promotion identifier code.
- type: Promotion type (DEAL, CLEARANCE, SELLER_CAMPAIGN, etc.).
- status: Item status in the promotion. For Clearance, only
startedis displayed. - start_date: Promotion start date in local timezone.
- finish_date: Promotion end date in local timezone.
- name: Promotion name.
- allow_combination: Indicates if the campaign can be combined with other promotions.
Blocked Operations
The following operations are NOT permitted for items in Clearance campaigns. Any attempt to perform them will return a 403 Forbidden error.
| Operation | Method | Endpoint | Result |
|---|---|---|---|
| Add item (opt-in) | POST | /seller-promotions/items/{itemId} | 403 Forbidden |
| Edit price/discount | PUT | /seller-promotions/items/{itemId} | 403 Forbidden |
| Delete item (opt-out) | DELETE | /seller-promotions/items/{itemId} | 403 Forbidden |
| Bulk deletion | DELETE | /seller-promotions/items/massive/{itemId} | 403 Forbidden |
How to Withdraw an Item from a Campaign
An item automatically exits a Clearance campaign in the following cases:
- Sale of all units: When all units of the item stored in Full are sold, the item is automatically withdrawn from the campaign.
- Warehouse withdrawal: The seller can request merchandise removal from the Mercado Libre frontend. Currently, no API endpoint exists for this operation. Consult the merchandise withdrawal guide for more information on how to perform this process.
Validation Error: 403 Forbidden
| Error Message | Description |
|---|---|
| Operations are not allowed for this campaign type | The item belongs to a Clearance campaign that does not permit manual operations (opt-in, opt-out, price editing, or discount modification). To withdraw an item, the seller must request merchandise removal from the Mercado Libre frontend or wait for all units to be sold. |