Documentation Mercado Libre
Check out all the necessary information about APIs Mercado Libre.
Documentation
Manage Promotions
Promotion Characteristics
| Campaign type | Name | Price definition | Price suggestion | Bonus MELI | Stock to participate | Deadline | Approval |
|---|---|---|---|---|---|---|---|
| Sales events | DEAL | User defines | No | No | No | Yes | Yes |
| Co-funded campaigns | MARKETPLACE CAMPAIGN | User accepts | No | Yes | No | Yes | No |
| Deals of the day | DOD | User accepts | Yes | No | Yes, informative | No | No |
| Lightning deals | LIGHTNING | User defines | Yes | No | Yes, required | No | No |
| Pre-negotiated discount per item | PRE_NEGOTIATED | User agrees and accepts | No | Yes | No | Yes | No |
| Seller Campaign | SELLER_CAMPAIGN | User defines | Yes | No | No | Yes (14 days max) | No |
| Price Discount | PRICE_DISCOUNT | User defines | No | No | No | Yes (14 days max) | No |
| Unhealthy Stock Campaign | UNHEALTHY_STOCK | Seller accepts a pre-negotiated offer | No | No | Fulfillment items only | Yes | No |
| Volume Discount Campaigns | VOLUME | Seller defines the volume rule | No | No | No | Seller defines dates | No |
| Automated co-participation and competitive pricing campaign | SMART | Mercado Libre defines | Not applicable | Depends on campaign | Not applicable | Not applicable | Automatic |
| Clearance | CLEARANCE | Mercado Libre defines | Not applicable | Not applicable | Fulfillment items only | Not applicable | Automatic |
Sales promotions for the seller
A user can have more than one as well as different types of invitations.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/users/$USER_ID' \
--header 'version: v2'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/users/1317418851' \
--header 'version: v2'
Response:
{
"results": [
{
"id": "C-MLM201059",
"type": "SELLER_CAMPAIGN",
"status": "started",
"start_date": "2024-01-10T06:00:00Z",
"finish_date": "2024-01-21T05:59:59Z",
"name": "test campana del seller 1317418851",
"sub_type": "FLEXIBLE_PERCENTAGE"
}
],
"paging": {
"offset": 0,
"limit": 50,
"total": 1,
"searchAfter": ""
}
}
Response fields
- id: promotion ID code.
- type: public promotion type for the returned resource.
- status: pending, started or finished.
- start_date: promotion start date.
- finish_date: promotion finish date.
- deadline_date: maximum term to add promotional items.
- name: promotion name.
- sub_type: only for Seller Campaign; value: FLEXIBLE_PERCENTAGE.
- benefits: promotion benefit configuration.
Check seller pricing model
Before you create or update an eligible promotion participation, check whether the child seller uses the net_proceeds or listing_price pricing model.
Net Proceeds compatibility
When pricing_model is net_proceeds, the Net Proceeds flow is available for:
- Deals
- Price Discount
- Deal of the Day
- Lightning Deal
- Seller Campaign
Applicability
- If the response is listing_price, use the existing flow described in the applicable campaign page.
- If the response is net_proceeds, use the Net Proceeds flow only for the compatible campaigns listed above. Then retrieve the promotion items to review the available values.
- For any other campaign type, follow its campaign-specific documentation.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/users/$USER_ID/pricing-model' \
--header 'version: v2' \
--header 'X-Caller-Id: $CALLER_ID' \
--header 'X-Client-Id: $CLIENT_ID'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/users/123456789/pricing-model' \
--header 'version: v2' \
--header 'X-Caller-Id: $CALLER_ID' \
--header 'X-Client-Id: $CLIENT_ID'
Response:
{
"pricing_model": "net_proceeds"
}
Path parameter
- userId (integer, required): child seller identifier in the local marketplace.
Response field
- pricing_model (string): seller pricing model. Possible values: net_proceeds and listing_price.
Possible errors
| HTTP status | Meaning | Recommended action |
|---|---|---|
| 400 Bad Request | The userId or the API version is invalid. | Review the path parameter and send the required version: v2 header. |
| 403 Forbidden | The application is not authorized to query the seller. | Use an access token authorized for the child seller. |
| 404 Not Found | No pricing preferences were found for the seller. | Do not assume a pricing model. Confirm the seller configuration before continuing with a promotion flow. |
| 429 Too Many Requests | The request limit was reached. | Respect the Retry-After header before retrying. |
| 503 Service Unavailable | Pricing preferences are unavailable or do not contain a recognized model. | Retry later with a limited, sequential retry strategy. |
Consult candidate items
The /seller-promotions/candidates resource allows you to identify the items invited to participate in a promotion. Whenever an item obtains the status of "candidate" in a promotion a notification is sent with the candidate_id, with this resource it is possible to identify the item, the promotion and the status.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/candidates/$CANDIDATE_ID' \
--header 'version: v2'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/candidate/CANDIDATE-MLM2199514002-70027957276/1317418851' \
--header 'version: v2'
Response:
{
"id": "CANDIDATE-MLM2199514002-70027957276",
"item_id": "MLM2199514002",
"promotion_id": "P-MLM2027003",
"type": "UNHEALTHY_STOCK",
"status": {
"id": "candidate"
}
}
Response fields
- id: candidate identification code.
- item_id: item associated with the candidate.
- promotion_id: promotion ID.
- type: public promotion type for the returned resource.
- status: status of the candidate.
Check offers
The /seller-promotions/offers resource allows you to identify changes in the offer of an item. All changes are sent by notifications with the offer_id, making it possible to identify the item, the promotion, and the status.
Request:
curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/offer/OFFERID/USER_ID' \
--header 'version: v2'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/offer/OFFER-MLM1873971357-10078845289/1280008696' \
--header 'version: v2'
Response:
{
"id": "OFFER-MLM1873971357-10078845289",
"item_id": "MLM1873971357",
"promotion_id": "P-MLM13551180",
"type": "UNHEALTHY_STOCK",
"status": {
"id": "started"
}
}
Response fields
- id: identification code of the offer.
- item_id: item associated with the offer.
- promotion_id: promotion ID.
- type: public promotion type for the returned resource.
- status: status of the offer (programmed, active, and inactive).
Promotion Details
Perform the following query to access the specific details of traditional campaigns, co-funded campaigns, and volume discounts.
Request:
curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/PROMOTIONID?promotiontype=PROMOTION_TYPE&user_id=$USER_ID' \
--header 'version: v2'
Example:
curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/C-MLM201059?promotion_type=SELLER_CAMPAIGN&user_id=1317418851' \
--header 'version: v2'
Response:
{
"id": "C-MLM201059",
"type": "SELLER_CAMPAIGN",
"status": "started",
"start_date": "2024-01-10T06:00:00Z",
"finish_date": "2024-01-21T05:59:59Z",
"name": "test campana del seller 1317418851",
"sub_type": "FLEXIBLE_PERCENTAGE"
}
Check Promotion Items
Perform the query below to check the items included in a given promotion. When the information is available, each item can include the optional net_proceeds object.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/PROMOTIONID/items?status=STATUS&promotion_type=PROMOTIONTYPE&userid=USER_ID' \
--header 'version: v2'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/C-MLM201059/items?status=candidate&promotion_type=SELLER_CAMPAIGN&user_id=1317418851' \
--header 'version: v2'
Response:
{
"results": [
{
"id": "MLM3215246471",
"status": "candidate",
"price": 0,
"original_price": 13.41,
"currency_id": "USD",
"start_date": "2025-09-10T00:00:00",
"end_date": "2025-09-20T23:59:59",
"max_discounted_price": 12.07,
"min_discounted_price": 2.69,
"net_proceeds": {
"suggested_discounted_price": {
"amount": 7.72,
"currency": "USD"
},
"max_discounted_price": {
"amount": 8.31,
"currency": "USD"
},
"min_discounted_price": {
"amount": 0.10,
"currency": "USD"
}
},
"suggested_discounted_price": 11.40
},
{
"id": "MLM3303413155",
"status": "pending",
"price": 15.72,
"original_price": 23.89,
"currency_id": "USD",
"start_date": "2025-09-10T00:00:00",
"end_date": "2025-09-20T23:59:59",
"net_proceeds": {
"amount": 4.76,
"currency": "USD",
"selling_fee": 2.36,
"shipping_fee": 8.60
}
}
],
"paging": {
"offset": 0,
"limit": 50,
"total": 2,
"searchAfter": ""
}
}
Remember: The net_proceeds object and its fields are optional. A candidate item can include suggested Net Proceeds references, while a pending or started item can include the estimated amount and fees. Do not retry a request only because an optional field is absent.
Response fields
The response returns promotion items in results and pagination information in paging.
- id (string): item identifier.
- status (string): item status in the promotion. Possible values include candidate, pending, started, and finished.
- price (number): promotional listing price. Candidate items can return 0.
- original_price (number): item price before the promotion.
- currency_id (string): listing price currency.
- start_date and end_date (string): promotion period for the item.
- net_proceeds (object, optional): estimated amounts or references for the seller's earnings after the promotion.
- amount (number, optional): estimated Net Proceeds after the promotion.
- currency (string, optional): currency for the Net Proceeds amounts.
- selling_fee and shipping_fee (number, optional): estimated fees for a pending or started item.
- suggested_discounted_price, max_discounted_price, and min_discounted_price (object, optional): suggested Net Proceeds references for a candidate item. Each object contains amount and currency.
Check Item Promotions
Here you can obtain all the promotions that the item has and the status of the promotions at the moment of the consult.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?userid=USER_ID'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/MLM2184616078?user_id=1317418851' \
--header 'version: v2'
Response:
[
{
"id": "P-MLM13795204",
"type": "DEAL",
"status": "started",
"start_date": "2024-01-26T12:00:00-06:00",
"finish_date": "2024-02-16T00:00:00-06:00",
"deadline_date": "2024-02-16T06:00:00Z",
"name": "bosch campaña"
},
{
"id": "",
"type": "DOD",
"status": "candidate",
"start_date": "2024-02-16T21:00:00",
"finish_date": "2024-02-17T20:59:59"
},
{
"id": "P-MLM13773008",
"type": "PRE_NEGOTIATED",
"status": "started",
"start_date": "",
"finish_date": "",
"name": "Commercial Shared Discounts",
"offers": [
{
"id": "CANDIDATE-MLM2184616078-70509424939",
"original_price": 130,
"new_price": 100,
"status": "candidate",
"start_date": "2024-02-02T06:00:00Z",
"end_date": "2024-02-29T05:59:59Z",
"benefits": {
"type": "REBATE",
"meli_percent": 15.4,
"seller_percent": 7.7
}
}
]
},
{
"id": "P-MLM13819020",
"type": "MARKETPLACE_CAMPAIGN",
"status": "started",
"start_date": "2024-02-02T20:00:00Z",
"finish_date": "2024-03-01T20:00:00Z",
"deadline_date": "2024-03-01T20:00:00Z",
"name": "Ofertas sugeridas",
"benefits": {
"type": "REBATE",
"meli_percent": 0,
"seller_percent": 0
}
},
{
"id": "P-MLM13821030",
"type": "SMART",
"status": "started",
"start_date": "",
"finish_date": "",
"name": "Gánale a la competencia con un aporte de Mercado Libre",
"offers": [
{
"id": "CANDIDATE-MLM2184616078-70509425185",
"original_price": 130,
"new_price": 100,
"status": "candidate",
"start_date": "2024-02-02T20:00:00Z",
"end_date": "2024-03-01T20:00:00Z",
"benefits": {
"type": "REBATE",
"meli_percent": 0,
"seller_percent": 23.1
}
}
]
},
{
"id": "",
"type": "PRICE_DISCOUNT",
"status": "candidate",
"start_date": "",
"finish_date": ""
},
{
"id": "P-MLM13757022",
"type": "DEAL",
"status": "started",
"start_date": "2024-01-29T00:00:00-06:00",
"finish_date": "2024-02-12T00:00:00-06:00",
"deadline_date": "2024-02-11T06:00:00Z",
"name": "Ano nuevo chino"
}
]
Filters
You can apply filters by item or status.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/PROMOTIONID/items?userid=USER_ID&status=started&item_id=$ITEM_ID' \
--header 'version: v2'
Example of filter by item
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/P-MLM13773008/items?user_id=1317418851&item_id=MLM2184616078' \
--header 'version: v2'
Response:
{
"results": [
{
"id": "MLM2184616078",
"status": "candidate",
"price": 130,
"original_price": 0,
"currency_id": "USD",
"offer_id": "CANDIDATE-MLM2184616078-70509424939",
"meli_percentage": 15.4,
"seller_percentage": 7.7,
"start_date": "2024-02-02T06:00:00Z",
"end_date": "2024-02-29T05:59:59Z"
}
],
"paging": {
"offset": 0,
"limit": 50,
"total": 1,
"searchAfter": ""
}
}
Example of filter by status started:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/P-MLM13773008/items?user_id=1317418851&status=started' \
--header 'version: v2'
Response:
{
"results": [
{
"id": "MLM2184694464",
"status": "started",
"price": 80,
"original_price": 100,
"currency_id": "USD",
"offer_id": "OFFER-MLM2184694464-10194835657",
"meli_percentage": 20,
"start_date": "2024-02-02T06:00:00Z",
"end_date": "2024-02-29T05:59:59Z"
}
],
"paging": {
"offset": 0,
"limit": 50,
"total": 1,
"searchAfter": ""
}
}
Pagination
To perform pagination you must use the searchAfter parameter. This parameter you will find at the end of the response.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/PROMOTIONID/items?userid=USER_ID&limit=$LIMIT' \
--header 'version: v2'
- user_id: seller_id (local marketplace)
- caller-id: caller_id
- client-id: client_id
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/C-MLM199082/items?user_id=1317418851&limit=2' \
--header 'version: v2'
Response:
{
"results": [
{
"id": "MLM2760672650",
"status": "candidate",
"price": 35,
"original_price": 0,
"currency_id": "USD",
"start_date": "2024-01-05T00:00:00",
"end_date": "2024-01-11T23:59:59"
},
{
"id": "MLM2199514002",
"status": "candidate",
"price": 70,
"original_price": 0,
"currency_id": "USD",
"start_date": "2024-01-05T00:00:00",
"end_date": "2024-01-11T23:59:59"
}
],
"paging": {
"offset": 0,
"limit": 2,
"total": 19,
"searchAfter": "a179f4702c65ce28484f26cf4fbcb0cbecb05b2ba75aaaebba697cb2511fa7e285ee29cdb1746ea07ae29c53297e9578d505220836a09368fccc8ab15528c305d6a26faafe57114a5fbd049291c306a7c33c76fa222e828e38621b473d25a353b21985fd2cafb1434217a33b7f148b9ffe3f96bef8b7d7dc61c2dc7e308dd87f"
}
}
At the bottom of this response you find the searchAfter and you will include it on the following request in order to get the next items.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/PROMOTIONID/items?userid=USER_ID&limit=LIMIT&searchafter=SEARCH_AFTER' \
--header 'version: v2'
Example:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/C-MLM199082/items?user_id=1317418851&limit=2&search_after=a179f4702c65ce28484f26cf4fbcb0cbecb05b2ba75aaaebba697cb2511fa7e285ee29cdb1746ea07ae29c53297e9578d505220836a09368fccc8ab15528c305d6a26faafe57114a5fbd049291c306a7c33c76fa222e828e38621b473d25a353b21985fd2cafb1434217a33b7f148b9ffe3f96bef8b7d7dc61c2dc7e308dd87f' \
--header 'version: v2'
Response:
{
"results": [
{
"id": "MLM2184798066",
"status": "candidate",
"price": 30,
"original_price": 0,
"currency_id": "USD",
"start_date": "2024-01-05T00:00:00",
"end_date": "2024-01-11T23:59:59"
},
{
"id": "MLM2184785146",
"status": "candidate",
"price": 17,
"original_price": 20,
"currency_id": "USD",
"start_date": "2024-01-05T00:00:00",
"end_date": "2024-01-11T23:59:59"
}
],
"paging": {
"offset": 0,
"limit": 2,
"total": 19,
"searchAfter": "1166a0e70e56d7f048f0665cedb9a45b1dcd0a7e47af62931fb51dab12f50954635e8e620cd3ce944333b3dc71c9fc207cf6ad42adb0a941fe3e3355c4025e3749e30d2322df0d23910a24bfa21c9987e513ad738bb2223e9510739dfad80dd66acb1ec14721e25e1c1c73ea9881aa742d20dbcc9789c272200fc000b072c3d8"
}
}
Considerations
- Search_after will be returned on all pages except the last page.
- The only way to advance the response (paginate) is through the use of this parameter.
- When iterating the results, each request will return the search_after that should be used in the next call.
- Always use the search_after that was provided by the request response, since it can change and expire (they have a TTL of 5 minutes).
- Backward paging is not possible.
Participate and modify items
Use the flow that corresponds to the child seller's pricing model and the campaign type. The request body and permitted actions differ by campaign.
Listing price flow
When pricing_model is listing_price, use the existing request described in the applicable campaign page. You can participate by:
- Specifying items for a traditional campaign.
- Specifying items for a co-funded campaign.
- Accepting a pre-negotiated discount per item.
- Specifying items for a Deal of the Day or Lightning Deal.
- Offering a Price Discount for an item.
- Indicating items for a Seller Campaign or Smart campaign.
Net Proceeds flow
When pricing_model is net_proceeds, use net_proceed_after_promotion only in the campaign-specific request for a compatible campaign type. The seller sends the amount it expects to receive after the promotion; Mercado Libre calculates the promotional listing price and applicable fees.
Remember: Do not reuse a request body from another campaign type. Volume Discount, Unhealthy Stock Campaign, and Clearance do not receive a price input in their opt-in requests. For all campaigns, follow the corresponding page to determine whether an existing participation can be updated or must be removed and created again.
Modify items
You can modify items included in a deal by:
- Changing items in a traditional campaign.
- Changing items in a co-funded campaign.
Massive delete of offers
You can massively delete all the offers that are in the item.
Request:
curl -X DELETE -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/massive/ITEMID?userid=USER_ID'
Example:
curl -X DELETE -H 'Authorization: Bearer $ACCESS_TOKEN' -H 'version: v2' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/massive/MLM1991842995?user_id=1317418851'
Response:
{
"successful_ids": [
{
"offer_id": "OFFER-MLM1991842995-10467980671",
"error": null
},
{
"offer_id": "OFFER-MLM1991842995-10467983049",
"error": null
},
{
"offer_id": "OFFER-MLM1991842995-10467981085",
"error": null
}
],
"errors": []
}
In cases where the item has campaigns that cannot be deleted in bulk, the call will receive an HTTP 200 response, but the response will contain error messages.
Example where no offer can be deleted:
{
"successful_ids": [],
"errors": [
{
"offer_id": "OFFER-MLM1991842995-10000081416",
"error": "The offer of type DOD not allowed for delete."
},
{
"offer_id": "OFFER-MLM1991842995-10000081828",
"error": "The offer could not be deleted. Try again."
}
]
}
Example where offers were successfully removed and errors also occurred:
{
"successful_ids": [
{
"offer_id": "OFFER-MLM1991842995-10467980671",
"error": null
},
{
"offer_id": "OFFER-MLM1991842995-10467983049",
"error": null
}
],
"errors": [
{
"offer_id": "OFFER-MLM1991842995-10000081418",
"error": "The offer of type DOD not allowed for delete."
},
{
"offer_id": "OFFER-MLM1991842995-10000081419",
"error": "The offer could not be deleted. Try again."
}
]
}
Possible error messages
When interacting with the Promotions API, identify the returned status code and follow the corresponding recommendation. For business errors, review and correct the submitted information before retrying. For temporary rate limits, respect the Retry-After header whenever it is present.
Note: This guidance applies to all Promotions endpoints.
| HTTP status | Error code | Meaning | Recommended action |
|---|---|---|---|
| 400 Bad Request | — | The item format is invalid. | Review the item format and correct the request before sending it again. Do not retry the same request without changes. |
| 409 Conflict | REPEATED_FAILED_REQUEST This request has failed 3 times with the same error. Review the business rules before retrying. |
The same request failed three times with the same business error. | Review the business rules, correct the data, and submit a modified request. Do not retry a request with the same signature. |
| 423 Locked | ENTITY_LOCKED | The item is temporarily locked and cannot process the request. | Wait before retrying. If the response includes the Retry-After header, wait for the specified time. Avoid parallel requests for the same item. |
| 429 Too Many Requests | RATE_LIMITED Seller's request limit exceeded. |
The request limit for the client application was temporarily reached. | Wait for the time specified in the Retry-After header before retrying. Use sequential and limited retries. |
| 5xx | — | A temporary server error occurred. | Use limited, sequential retries with progressive delays. If the response includes Retry-After, wait for the specified time. |
Best practices
- Do not retry business errors without modifying the request.
- Send only one retry at a time for the same operation or item.
- Avoid parallel requests and retries from the same client application (client_id).
- Always respect the Retry-After header when it is present.
- Do not assume fixed retry thresholds or wait times.
- Keep the request identifier and HTTP status code for troubleshooting and support.
Opt Out Items from promotions
You can change the items included in a given deal by:
- Deleting items in a traditional campaign.
- Deleting items in a co-funded campaign.
- Deleting a pre-negotiated discount per item.
- Deleting items in a deal of the day.
- Deleting items in a lightning deal.
- Deleting a price discount for an item.
Next: Deals