Documentation Mercado Libre

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

Documentation

Last update 22/09/2026

Seller campaigns

Sellers can create their own campaigns through their Mercado Libre account and manage them through the integration. Use the resources below to manage the campaign and its eligible items.

Important:
Coming soon: Eligible Seller Campaign items can use the Net Proceeds pricing model. Before you submit or edit an item, check the seller pricing model and use the corresponding flow.

Check seller pricing model New

Before you submit or edit an item, retrieve the pricing model for the child seller. The result 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"
}

Response field

  • pricing_model (string): seller pricing model. Possible values are net_proceeds and listing_price.

Errors when checking the pricing model

StatusDescriptionSuggested action
400The seller identifier or API version is invalid.Verify user_id and send version: v2.
403The application is not authorized to query the seller.Review the token and seller authorization.
404Pricing preferences were not found for the seller.Verify the child seller identifier.
429The request limit was reached.Retry later, following the response headers.
503Pricing preferences are unavailable or do not contain a recognized model.Retry later.

Create a campaign

Create the campaign before you manage its items. Remember that the maximum period for this type of campaign is 14 days.

Request:

curl -X POST 'https://api.mercadolibre.com/marketplace/seller-promotions/seller-campaign/$USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'version: v2' \
  -d '{
    "promotion_type": "SELLER_CAMPAIGN",
    "name": "Test seller campaign",
    "sub_type": "FLEXIBLE_PERCENTAGE",
    "start_date": "2025-07-17T00:00:00",
    "finish_date": "2025-07-30T00:00:00"
  }'

Example:

curl -X POST 'https://api.mercadolibre.com/marketplace/seller-promotions/seller-campaign/2487485082' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'version: v2' \
  -d '{
    "promotion_type": "SELLER_CAMPAIGN",
    "name": "My Flexible Percentage Campaign",
    "sub_type": "FLEXIBLE_PERCENTAGE",
    "start_date": "2025-12-05T00:00:00",
    "finish_date": "2025-12-18T00:00:00"
  }'

Response:

{
  "id": "C-MLM703970",
  "type": "SELLER_CAMPAIGN",
  "name": "My Flexible Percentage Campaign",
  "sub_type": "FLEXIBLE_PERCENTAGE",
  "status": "started",
  "start_date": "2025-12-05T00:00:00",
  "finish_date": "2025-12-18T23:59:59",
  "allow_combination": false
}

Request fields

  • promotion_type (string, required): campaign type to create. Only SELLER_CAMPAIGN is allowed.
  • name (string, required): campaign name.
  • sub_type (string, required): send FLEXIBLE_PERCENTAGE.
  • start_date (string, required): campaign start date in local format (YYYY-MM-DDTHH:mm:ss). The campaign starts at the beginning of that day.
  • finish_date (string, required): campaign end date in local format (YYYY-MM-DDTHH:mm:ss). The campaign ends at the end of that day and cannot be more than 14 days after start_date.

Response fields

  • id: unique campaign identifier. Format: C-{SITE_ID}{NUMBER}.
  • type: campaign type. Always SELLER_CAMPAIGN.
  • name: campaign name.
  • sub_type: campaign subtype. Value: FLEXIBLE_PERCENTAGE.
  • status: campaign status. Possible values are pending, started, and finished.
  • start_date: campaign start date.
  • finish_date: campaign end date.
  • allow_combination: indicates whether the campaign can be combined with other promotions. Default: false.

Update a campaign

Submit only the fields you want to modify. The only mandatory field is promotion_type.

i The example changes only name. You cannot change start_date when the campaign status is started.

Request:

curl -X PUT 'https://api.mercadolibre.com/marketplace/seller-promotions/seller-campaign/CAMPAIGNID?userid=USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'version: v2' \
  -d '{
    "promotion_type": "SELLER_CAMPAIGN",
    "name": "Updated campaign name"
  }'

Example:

curl -X PUT 'https://api.mercadolibre.com/marketplace/seller-promotions/seller-campaign/C-MLM703970?user_id=2487485082' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'version: v2' \
  -d '{
    "promotion_type": "SELLER_CAMPAIGN",
    "name": "Updated Campaign Name"
  }'

Response:

{
  "id": "C-MLM703970",
  "type": "SELLER_CAMPAIGN",
  "name": "Updated campaign name",
  "sub_type": "FLEXIBLE_PERCENTAGE",
  "status": "started",
  "start_date": "2025-12-09T00:00:00",
  "finish_date": "2025-12-22T23:59:59",
  "allow_combination": false
}

Delete a campaign

Use this resource to remove a seller campaign.

Request:

curl -X DELETE 'https://api.mercadolibre.com/marketplace/seller-promotions/seller-campaign/CAMPAIGNID?promotiontype=SELLERCAMPAIGN&userid=USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2'

Example:

curl -X DELETE 'https://api.mercadolibre.com/marketplace/seller-promotions/seller-campaign/C-MLM703970?promotion_type=SELLER_CAMPAIGN&user_id=2487485082' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2'

Response: HTTP 200 OK (empty body)

View campaign details

Retrieve the details of a seller campaign.

Request:

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

Example:

curl -X GET 'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/C-MLM703970?promotion_type=SELLER_CAMPAIGN&user_id=2487485082' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2'

Response:

{
  "id": "C-MLM703970",
  "type": "SELLER_CAMPAIGN",
  "status": "started",
  "start_date": "2025-12-09T06:00:00Z",
  "finish_date": "2025-12-22T05:59:59Z",
  "name": "Updated campaign name",
  "sub_type": "FLEXIBLE_PERCENTAGE",
  "allow_combination": false
}

Response fields

  • id: campaign identifier.
  • type: campaign type. Value: SELLER_CAMPAIGN.
  • sub_type: campaign subtype. Value: FLEXIBLE_PERCENTAGE.
  • status: campaign status.
  • start_date: campaign start date in UTC format.
  • finish_date: campaign end date in UTC format.
  • name: campaign name.
  • allow_combination: indicates whether the campaign can be combined with other promotions.

Seller campaign status

These are the different states that a seller campaign can go through:

  • pending: promotion approved, but not yet started.
  • started: active promotion.
  • finished: finished promotion.

View items in a campaign

Retrieve candidate items and items already participating in a seller campaign. 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?promotiontype=SELLERCAMPAIGN&userid=USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2'

Example:

curl -X GET 'https://api.mercadolibre.com/marketplace/seller-promotions/promotions/C-MLM703970/items?promotion_type=SELLER_CAMPAIGN&user_id=2487485082' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2'

Response example (started item):

{
  "results": [
    {
      "id": "MLM4007773188",
      "status": "started",
      "price": 19,
      "original_price": 20,
      "currency_id": "USD",
      "start_date": "2025-12-09T00:00:00",
      "end_date": "2025-12-22T23:59:59",
      "net_proceeds": {
        "amount": 10.61,
        "currency": "USD",
        "selling_fee": 3.2,
        "shipping_fee": 2.4
      }
    }
  ],
  "paging": {
    "offset": 0,
    "limit": 50,
    "total": 1,
    "searchAfter": ""
  }
}

Response example (candidate item with price suggestions):

{
  "results": [
    {
      "id": "MLM3782207406",
      "status": "candidate",
      "price": 0,
      "original_price": 270.34,
      "currency_id": "USD",
      "start_date": "2025-12-09T00:00:00",
      "end_date": "2025-12-22T23:59:59",
      "max_discounted_price": 256.82,
      "min_discounted_price": 162.21,
      "suggested_discounted_price": 240.5,
      "net_proceeds": {
        "suggested_discounted_price": {
          "amount": 180.25,
          "currency": "USD"
        },
        "max_discounted_price": {
          "amount": 78.47,
          "currency": "USD"
        },
        "min_discounted_price": {
          "amount": 50,
          "currency": "USD"
        }
      }
    }
  ],
  "paging": {
    "offset": 0,
    "limit": 50,
    "total": 1,
    "searchAfter": ""
  }
}

Response fields

  • id: item identifier.
  • status: item status in the campaign. See Item status.
  • price: current promotional price. Returns 0 for candidate items.
  • original_price: original item price before the discount.
  • currency_id: currency code, for example USD or MXN.
  • start_date: promotion start date for the item.
  • end_date: promotion end date for the item.
  • max_discounted_price: maximum allowed discounted price.
  • min_discounted_price: minimum allowed discounted price.
  • suggested_discounted_price: system-suggested promotional price.
  • net_proceeds: estimated net amount the seller will receive for an item in the promotion.
    • amount: net amount the seller will receive for a started or pending item.
    • currency: currency of the net proceeds amount.
    • selling_fee: estimated selling fee for a started or pending item.
    • shipping_fee: estimated shipping fee for a started or pending item.
    • suggested_discounted_price: object with net proceeds at the suggested price for a candidate item.
    • max_discounted_price: object with net proceeds at the maximum discounted price.
    • min_discounted_price: object with net proceeds at the minimum discounted price.

How to read the response

  • 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.
  • For a pending or started item, net_proceeds can provide the estimated amount and its selling and shipping fees.

i The net_proceeds object may not be returned for every item. If it is absent, the item response is still valid. Do not retry the request; use the seller's pricing_model to choose the flow.

Item status

  • candidate: item eligible to participate.
  • pending: participation created and scheduled.
  • started: promotion currently active for the item.
  • finished: participation ended or the item was removed from the campaign.

Submit an item to a campaign

Before you submit or edit 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.


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): seller campaign identifier.
  • promotion_type (string, required): send SELLER_CAMPAIGN.

AListing 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 'Content-Type: application/json' \
  -H 'version: v2' \
  -d '{
    "promotion_id": "$PROMOTION_ID",
    "promotion_type": "SELLER_CAMPAIGN",
    "deal_price": $DEAL_PRICE
  }'

Example:

curl -X POST 'https://api.mercadolibre.com/marketplace/seller-promotions/items/MLM4007773188?user_id=2487485082' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'version: v2' \
  -d '{
    "promotion_id": "C-MLM703970",
    "promotion_type": "SELLER_CAMPAIGN",
    "deal_price": 19
  }'

Response:

{
  "price": 19,
  "original_price": 20,
  "currency_id": "USD"
}

Listing price flow parameters

  • deal_price (number, required): item price during the promotion. It must be between min_discounted_price and max_discounted_price.

Response fields

  • price: promotional price applied to the item.
  • original_price: original item price.
  • currency_id: currency code.

BNet Proceeds flow New

Use this request when the pricing model is net_proceeds. Send the target amount that the seller expects to receive after the promotion.

Request:

curl -X POST 'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?userid=USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'version: v2' \
  -d '{
    "promotion_id": "$PROMOTION_ID",
    "promotion_type": "SELLER_CAMPAIGN",
    "net_proceed_after_promotion": 10.61
  }'

Response:

{
  "price": 19,
  "original_price": 20,
  "currency_id": "USD",
  "net_proceeds": {
    "amount": 10.61,
    "selling_fee": 3.2,
    "shipping_fee": 2.4,
    "currency": "USD",
    "original_amount": 14.8
  }
}

Edit an item in a campaign

Use the pricing model retrieved for the child seller before you edit an item participation.

Listing price flow

curl -X PUT 'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?userid=USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'version: v2' \
  -d '{
    "promotion_id": "$PROMOTION_ID",
    "promotion_type": "SELLER_CAMPAIGN",
    "deal_price": $DEAL_PRICE
  }'

Response:

{
  "price": 19,
  "original_price": 20,
  "currency_id": "USD"
}

Net Proceeds flow

Use this request when the pricing model is net_proceeds.

curl -X PUT 'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?userid=USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'version: v2' \
  -d '{
    "promotion_id": "$PROMOTION_ID",
    "promotion_type": "SELLER_CAMPAIGN",
    "net_proceed_after_promotion": 10.61
  }'

Response:

{
  "price": 19,
  "original_price": 20,
  "currency_id": "USD",
  "net_proceeds": {
    "amount": 10.61,
    "selling_fee": 3.2,
    "shipping_fee": 2.4,
    "currency": "USD"
  }
}

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 you use the Net Proceeds flow.

StatusErrorSuggested action
400invalid_amount: the target amount is negative.Send a value equal to or greater than zero.
400bad_request: the Net Proceeds discounted price is not credible.Adjust the target amount and try again.
400promotion_not_available_for_account: the seller is not enabled for Net Proceeds promotions.Use the current Listing price flow for that seller.
403promotion_type_not_compatible: the promotion does not support Net Proceeds.Verify the promotion type and that the promotion is fully funded by the seller.
404The item, promotion, or participation was not found.Verify the identifiers in the request.
429The request limit was reached.Retry later, following the response headers.
503service_unavailable: Net Proceeds could not be calculated or completed.Retry later.

Remove items from a campaign

Use this resource to exclude an item from a campaign.

Request:

curl -X DELETE 'https://api.mercadolibre.com/marketplace/seller-promotions/items/ITEMID?promotiontype=SELLERCAMPAIGN&promotionid=CAMPAIGN_ID&user_id=USERID&offerid=USER_ID' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2'

Example:

curl -X DELETE 'https://api.mercadolibre.com/marketplace/seller-promotions/items/MLM4007773188?promotion_type=SELLER_CAMPAIGN&promotion_id=C-MLM703970&user_id=2487485082&offer_id=2487485082' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'version: v2'

Response: HTTP 200 OK (empty body)

Validation errors: 400 bad request

Error messageDescription
The name already existsA seller campaign with the same name already exists.
Invalid sub_typeThe subtype is not FLEXIBLE_PERCENTAGE.
The percentage is greater than allowedThe maximum allowed percentage is 70%.
The percentage is less than allowedThe percentage is below the allowed minimum.
Invalid promotion typeThe submitted promotion_type is invalid.
Start and finish dates must be in local formatSend both dates in local format.
Start_date cannot be earlier than todayThe start date cannot be in the past.
Finish_date cannot be earlier than start_dateThe finish date must be after the start date.
Maximum period cannot exceed the allowedThe campaign period exceeds 14 days.
Maximum period cannot exceed the allowedWhen you update one or both dates, the resulting campaign period cannot exceed 14 days.
Percentages of a FLEXIBLE PERCENTAGE promotion must be updated per offerFor flexible promotions, update the prices for each offer.
The start_date field cannot be modified for the current promotion statusYou cannot change the start date of a started campaign.

Next: Automated co-participation and competitive pricing campaign.