Documentation Mercado Libre
Check out all the necessary information about APIs Mercado Libre.
Documentation
Deals of the day
Sellers are regularly invited to participate in different website promotions. If you received an invitation to participate in a daily deal and want to join, use the following resources.
Check seller pricing model New
Before you submit or modify a Deal of the Day item, check whether the child seller uses the net_proceeds or listing_price pricing model. The response tells you which request body to use.
Request:
curl -X GET 'https://api.mercadolibre.com/marketplace/seller-promotions/users/$USER_ID/pricing-model' \
-H 'Authorization: Bearer $ACCESS_TOKEN' \
-H 'version: v2' \
-H 'X-Caller-Id: $CALLER_ID' \
-H '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): pricing model that applies to the child seller.
- net_proceeds: the seller manages the Deal of the Day using the amount expected after selling and shipping fees. Create or update the participation with net_proceed_after_promotion.
- listing_price: the seller manages the Deal of the Day using the item's promotional listing price. Follow the existing listing price flow on this page.
Errors when checking the pricing model
| HTTP status | Meaning | Recommended action |
|---|---|---|
| 400 Bad Request | The userId or 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. |
| 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. |
Check items in a deal of the day
Retrieve candidate items and items already included in a Deal of the Day. When the child seller uses net_proceeds, the response can include optional Net Proceeds details according to the item status.
Request:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/DODID/items?promotiontype=DOD&userid=USER_ID' \
--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/promotions/DOD-MLM1000/items?promotion_type=DOD&user_id=2487485082' \
--header 'version: v2' \
--header 'X-Caller-Id: 1317417907' \
--header 'X-Client-Id: 1317417907'
Response:
{
"results": [
{
"id": "MLM3215246471",
"status": "candidate",
"price": 0,
"original_price": 13.41,
"currency_id": "USD",
"start_date": "2026-09-21T00:00:00",
"end_date": "2026-10-21T23:59:59",
"stock": {
"min": 1,
"max": 2
},
"max_discounted_price": 12.07,
"min_discounted_price": 2.69,
"suggested_discounted_price": 11.4,
"net_proceeds": {
"suggested_discounted_price": {
"amount": 7.72,
"currency": "USD"
},
"max_discounted_price": {
"amount": 8.18,
"currency": "USD"
},
"min_discounted_price": {
"amount": 1.03,
"currency": "USD"
}
}
},
{
"id": "MLM3303413155",
"status": "pending",
"price": 15.72,
"original_price": 23.89,
"currency_id": "USD",
"start_date": "2026-09-21T00:00:00",
"end_date": "2026-10-21T23:59:59",
"net_proceeds": {
"amount": 4.76,
"currency": "USD",
"selling_fee": 2.36,
"shipping_fee": 8.6
}
}
],
"paging": {
"offset": 0,
"limit": 50,
"total": 2,
"searchAfter": ""
}
}
How to read the response
- The fields outside net_proceeds, including price, original_price, and the discounted-price references, describe listing prices.
- For a candidate item, net_proceeds can provide suggested, maximum, and minimum targets. Use them as references when choosing the target to submit; the response does not include the base Net Proceeds amount or fees for that status.
- For a pending or started item, net_proceeds can provide the estimated amount and its selling and shipping fees.
Response fields
- results (array): Deal of the Day items returned for the seller.
- id (string): item identifier.
- status (string): promotion item status.
- price (number): promotional listing price. A candidate item can return 0 until a promotional price is defined.
- original_price (number): current listing price before the promotion.
- currency_id (string): listing price currency.
- start_date and end_date (string): item promotion dates in ISO 8601 format.
- stock (object, optional): stock requirements for the promotion.
- min (integer): minimum stock required to participate.
- max (integer): maximum stock allowed for the promotion.
- suggested_discounted_price, max_discounted_price, and min_discounted_price (number, optional): listing price references for a candidate item.
- net_proceeds (object, optional): Net Proceeds information.
- amount (number, optional): estimated Net Proceeds after the promotion. It can be returned for pending or started items.
- currency (string, optional): Net Proceeds currency.
- selling_fee and shipping_fee (number, optional): estimated fees applied to the Net Proceeds amount.
- suggested_discounted_price, max_discounted_price, and min_discounted_price (object, optional): Net Proceeds references for a candidate item. Each object includes amount and currency.
- paging (object): pagination information for the response.
Item status
- candidate: candidate item that can be submitted to the promotion.
- pending: item scheduled to participate in the promotion.
- started: item currently participating in the promotion.
- finished: item no longer participates in the deal.
Submit an item to a deal of the day
Once you are invited to participate in a deal of the day, submit each candidate item with the flow that matches the child seller's pricing model.
Before you submit or modify an item, follow this sequence:
1Check the pricing model. Use the pricing model endpoint for the child seller.
2Check Deal of the Day items. Retrieve the candidate item and its available price references.
3Select the matching flow. Use A when pricing_model is listing_price. Use B when it is net_proceeds; use PUT to change its Net Proceeds target.
Common request parameters
- itemId (string, required): item identifier in the path.
- user_id (integer, required): child seller identifier in the query string.
- promotion_type (string, required): Deal of the Day promotion type. Send DOD.
A Listing price flow
Use this existing request when the pricing model is listing_price.
Request:
curl -X POST -H 'Authorization: Bearer $ACCESS_TOKEN' \
-d '{
"deal_id": "$DEAL_ID",
"deal_price": $DEAL_PRICE,
"original_price": $ORIGINAL_PRICE,
"promotion_type": "DOD"
}' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?userid=USER_ID' \
--header 'version: v2'
Example:
curl -X POST -H 'Authorization: Bearer $ACCESS_TOKEN' \
-d '{
"deal_id": "DOD-MLM1000",
"original_price": 825.55,
"deal_price": 500,
"promotion_type": "DOD"
}' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/MLM3782167908?user_id=2487485082' \
--header 'version: v2'
Response:
{
"price": 500,
"original_price": 835.55,
"currency_id": "USD",
"offer_id": "OFFER-MLM3782167908-11796614713"
}
Body parameters
- deal_id (string, required): Deal of the Day identifier.
- deal_price (number, required): promotional listing price for the item.
- original_price (number, required): item listing price before the promotion.
Response fields
- price (number): promotional listing price applied to the item.
- original_price (number): original listing price of the item.
- currency_id (string): currency code for listing prices.
- offer_id (string): identifier of the created offer.
B Net Proceeds flow New
Use this flow only after the pricing model response is net_proceeds. Send the amount the seller expects to receive after selling and shipping fees.
Create with net_proceed_after_promotion
Request:
curl -X POST 'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?userid=USER_ID' \
-H 'Authorization: Bearer $ACCESS_TOKEN' \
-H 'version: v2' \
-H 'Content-Type: application/json' \
-d '{
"promotion_id": "$PROMOTION_ID",
"promotion_type": "DOD",
"net_proceed_after_promotion": 80.25
}'
Response:
{
"price": 10.42,
"original_price": 23.74,
"currency_id": "USD",
"offer_id": "OFFER-MLM3782167908-11796614713",
"net_proceeds": {
"amount": 2,
"selling_fee": 2.08,
"shipping_fee": 6.34,
"currency": "USD",
"original_amount": 12
}
}
Net Proceeds body parameters
- promotion_id (string, required): Deal of the Day identifier.
- net_proceed_after_promotion (number): target Net Proceeds amount in USD that the seller expects after the promotion. Use this field for the Net Proceeds flow.
Response fields
- price (number): promotional listing price.
- original_price (number): item listing price before the promotion.
- currency_id (string): listing price currency.
- net_proceeds.amount (number): estimated Net Proceeds after the promotion.
- net_proceeds.selling_fee (number): estimated selling fee.
- net_proceeds.shipping_fee (number): estimated shipping fee.
- net_proceeds.currency (string): Net Proceeds currency.
- net_proceeds.original_amount (number, POST only): original Net Proceeds amount used as a reference when the participation was created.
Modify items
Use the flow that corresponds to the child seller's pricing model.
Listing price flow
For a seller with listing_price, continue using the existing Deal of the Day management flow.
Net Proceeds flow New
When the pricing model is net_proceeds, update the item participation with the following request. Do not delete and re-add the item only to change the Net Proceeds target.
Update with net_proceed_after_promotion
Request:
curl -X PUT 'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?userid=USER_ID' \
-H 'Authorization: Bearer $ACCESS_TOKEN' \
-H 'version: v2' \
-H 'Content-Type: application/json' \
-d '{
"promotion_id": "$PROMOTION_ID",
"promotion_type": "DOD",
"net_proceed_after_promotion": 78.50
}'
Response:
{
"price": 10.42,
"original_price": 23.74,
"currency_id": "USD",
"net_proceeds": {
"amount": 2,
"selling_fee": 2.08,
"shipping_fee": 6.34,
"currency": "USD"
}
}
Path, query, and body parameters
- itemId (string, required): item identifier in the path.
- user_id (integer, required): child seller identifier in the query string.
- promotion_id (string, required): Deal of the Day identifier.
- promotion_type (string, required): promotion type. Send DOD.
- net_proceed_after_promotion (number): target Net Proceeds amount in USD that the seller expects after the promotion. Use this field for the Net Proceeds flow.
Response fields
- price (number): promotional listing price.
- original_price (number): item listing price before the promotion.
- currency_id (string): listing price currency.
- net_proceeds.amount (number): estimated Net Proceeds after the promotion.
- net_proceeds.selling_fee (number): estimated selling fee.
- net_proceeds.shipping_fee (number): estimated shipping fee.
- net_proceeds.currency (string): Net Proceeds currency.
Errors when creating or updating with Net Proceeds
The following errors apply when you create or update a Deal of the Day item with Net Proceeds.
| HTTP status | Error code | Meaning | Recommended action |
|---|---|---|---|
| 400 Bad Request | invalid_amount | net_proceed_after_promotion contains a negative amount. | Send an amount greater than or equal to zero. |
| 400 Bad Request | bad_request | The discounted Net Proceeds amount does not meet the credibility rules. | Adjust the amount and submit a modified request. |
| 400 Bad Request | promotion_not_available_for_account | The account is not enabled to operate Deal of the Day with Net Proceeds. | Keep using the listing price flow for this account. |
| 403 Forbidden | promotion_type_not_compatible | The promotion type is not compatible with this flow. | Use DOD for a Deal of the Day item. |
| 404 Not Found | — | The item, promotion, or participation was not found. | Review the identifiers before retrying. |
| 429 Too Many Requests | — | The request limit was reached. | Respect the Retry-After header before retrying. |
| 503 Service Unavailable | service_unavailable | The Net Proceeds detail could not be calculated or completed. | Retry later with a limited, sequential retry strategy. |
bad_request response
{
"message": "The net proceeds discounted price is not credible.",
"error": "bad_request",
"status": 400,
"cause": []
}
Delete items from a deal
Use this resource to remove an item offer from a deal of the day.
Request:
curl -X DELETE -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?userid=USER_ID&promotion_type=DOD&promotion_id=$DEAL_ID' \
--header 'version: v2'
Example:
curl -X DELETE -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/marketplace/seller-promotions/items/MLM3782167908?user_id=2487485082&promotion_type=DOD&promotion_id=DOD-MLM1000' \
--header 'version: v2'
Response: Status 200 OK (empty body)
Next: Lightning Deal