Documentation Mercado Libre

Check out all the necessary information about APIs Mercado Libre.
circulos azuis em degrade

Documentation

Last update 22/09/2026

Deals

Mercado Libre periodically invites sellers to participate in commercial campaigns in each marketplace. Use these resources to check campaign details, review eligible items, and manage Deal participations.

Only sellers with a green reputation can submit items to a Deal.

Important:
Coming soon: The Net Proceeds flow on this page applies to Deal items when the child seller's pricing model is net_proceeds. Use the existing listing price flow when the model is listing_price.

Check seller pricing model New

Before you submit or modify a Deal 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-Client-Id: $CLIENT_ID' \
  -H 'X-Caller-Id: $CALLER_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 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 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.

Get campaign details

Retrieve detailed information about a Deal that a seller has been invited to participate in. Use this endpoint to obtain the campaign status, dates, and general configuration before submitting items.

Request:

curl -X GET 'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/PROMOTIONID?promotiontype=DEAL&userid=USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2' \
  -H 'X-Client-Id: $CLIENT_ID' \
  -H 'X-Caller-Id: $CALLER_ID'

Example:

curl -X GET 'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/P-MLM13757022?promotion_type=DEAL&user_id=1317418851' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2' \
  -H 'X-Client-Id: 1317417907' \
  -H 'X-Caller-Id: 1317417907'

Response:

{
  "id": "P-MLM13757022",
  "type": "DEAL",
  "status": "started",
  "start_date": "2024-01-29T06:00:00Z",
  "finish_date": "2024-02-12T06:00:00Z",
  "deadline_date": "2024-02-11T06:00:00Z",
  "name": "Ano nuevo chino"
}

Response fields

  • id (string): unique campaign identifier.
  • type (string): promotion type. For commercial campaigns, the value is DEAL.
  • status (string): current campaign status.
  • start_date, finish_date, and deadline_date (string): campaign dates in ISO 8601 format.
  • name (string): campaign display name.

Campaign status

  • pending: campaign approved but not yet started.
  • started: campaign currently active.
  • finished: campaign has ended.

Check campaign items

Retrieve candidate items and items already participating in a Deal. When the child seller uses net_proceeds, the response can include optional Net Proceeds details according to the item status.

Request:

curl -X GET 'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/PROMOTIONID/items?userid=USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2' \
  -H 'X-Client-Id: $CLIENT_ID' \
  -H 'X-Caller-Id: $CALLER_ID'

Example:

curl -X GET 'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/P-MLM13757022/items?user_id=1317418851' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2' \
  -H 'X-Client-Id: 1317417907' \
  -H 'X-Caller-Id: 1317417907'

Response:

{
  "results": [
    {
      "id": "MLM2760672650",
      "status": "candidate",
      "price": 0,
      "original_price": 35,
      "currency_id": "USD",
      "start_date": "2026-09-21T00:00:00",
      "end_date": "2026-10-21T23:59:59",
      "max_discounted_price": 31.5,
      "min_discounted_price": 10.5,
      "suggested_discounted_price": 28,
      "net_proceeds": {
        "suggested_discounted_price": {
          "amount": 18.4,
          "currency": "USD"
        },
        "max_discounted_price": {
          "amount": 20.1,
          "currency": "USD"
        },
        "min_discounted_price": {
          "amount": 3.8,
          "currency": "USD"
        }
      }
    },
    {
      "id": "MLM2183693560",
      "status": "started",
      "price": 15,
      "original_price": 35,
      "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.
Note:
Net Proceeds fields are optional and independent. Do not expect every field in every item response, and do not retry only because an optional field is absent.

Response fields

  • results (array): campaign items returned for the seller.
  • id (string): item identifier.
  • status (string): item status in the campaign.
  • 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.
  • 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: item eligible to participate in the Deal.
  • pending: item submitted to the Deal but not yet active.
  • started: item currently participating in the Deal.
  • finished: item no longer participates in the campaign.

Submit an item to a campaign

Submit a 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 campaign 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_id (string, required): Deal identifier.
  • promotion_type (string, required): promotion type. Send DEAL.

A Listing price flow

Use this existing request when the pricing model is listing_price.

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 'X-Client-Id: $CLIENT_ID' \
  -H 'X-Caller-Id: $CALLER_ID' \
  -H 'Content-Type: application/json' \
  -d '{
    "promotion_id": "$PROMOTION_ID",
    "deal_price": $DEAL_PRICE,
    "promotion_type": "DEAL"
  }'

Example:

curl -X POST 'https://api.mercadolibre.com/marketplace/seller-promotions/items/MLM2760672650?user_id=1317418851' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2' \
  -H 'X-Client-Id: 1317417907' \
  -H 'X-Caller-Id: 1317417907' \
  -H 'Content-Type: application/json' \
  -d '{
    "promotion_id": "P-MLM13757022",
    "deal_price": 15,
    "promotion_type": "DEAL"
  }'

Response:

{
  "price": 15,
  "original_price": 35,
  "currency_id": "USD"
}

Body parameters

  • deal_price (number, required): item promotional listing price in USD.

Response fields

  • price (number): promotional listing price in USD.
  • original_price (number): item listing price before the promotion, in USD.
  • currency_id (string): listing price currency.

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 'X-Client-Id: $CLIENT_ID' \
  -H 'X-Caller-Id: $CALLER_ID' \
  -H 'Content-Type: application/json' \
  -d '{
    "promotion_id": "$PROMOTION_ID",
    "promotion_type": "DEAL",
    "net_proceed_after_promotion": 80.25
  }'

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",
    "original_amount": 12
  }
}

Net Proceeds body parameters

  • 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.

Edit a Deal in a campaign

Use the flow that corresponds to the child seller's pricing model.

Listing price flow

Use this existing request when the pricing model is listing_price.

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 'X-Client-Id: $CLIENT_ID' \
  -H 'X-Caller-Id: $CALLER_ID' \
  -H 'Content-Type: application/json' \
  -d '{
    "promotion_id": "$PROMOTION_ID",
    "deal_price": $DEAL_PRICE,
    "promotion_type": "DEAL"
  }'

Example:

curl -X PUT 'https://api.mercadolibre.com/marketplace/seller-promotions/items/MLM2760672650?user_id=1317418851' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2' \
  -H 'X-Client-Id: 1317417907' \
  -H 'X-Caller-Id: 1317417907' \
  -H 'Content-Type: application/json' \
  -d '{
    "promotion_id": "P-MLM13757022",
    "deal_price": 14,
    "promotion_type": "DEAL"
  }'

Response:

{
  "price": 14,
  "original_price": 35,
  "currency_id": "USD"
}

Response fields

  • price (number): updated promotional listing price in USD.
  • original_price (number): item listing price before the promotion, in USD.
  • currency_id (string): listing price currency.

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 'X-Client-Id: $CLIENT_ID' \
  -H 'X-Caller-Id: $CALLER_ID' \
  -H 'Content-Type: application/json' \
  -d '{
    "promotion_id": "$PROMOTION_ID",
    "promotion_type": "DEAL",
    "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 identifier.
  • promotion_type (string, required): promotion type. Send DEAL.
  • 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

This error table applies to POST /marketplace/seller-promotions/items/{itemId} and PUT /marketplace/seller-promotions/items/{itemId} when using 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 Deals 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 DEAL for a Deal 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 a Deal from a campaign

Remove an item from a commercial campaign.

Request:

curl -X DELETE 'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?userid=USER_ID&promotion_type=DEAL&promotion_id=$PROMOTION_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2' \
  -H 'X-Client-Id: $CLIENT_ID' \
  -H 'X-Caller-Id: $CALLER_ID'

Example:

curl -X DELETE 'https://api.mercadolibre.com/marketplace/seller-promotions/items/MLM2760672650?user_id=1317418851&promotion_type=DEAL&promotion_id=P-MLM13757022' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2' \
  -H 'X-Client-Id: 1317417907' \
  -H 'X-Caller-Id: 1317417907'

Response: HTTP 200 OK (empty body)


Next: Co-Funded Campaigns