Documentation Mercado Libre

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

Documentation

Last update 06/11/2026

Returns

Important: Model 6 Sellers — Restricted Access · 403 Forbidden

Sellers identified as Model 6 are blocked from accessing the claims and returns endpoints of this API. Any request made with a Model 6 seller identity will receive a 403 Forbidden response.

Example 403 response body:

{
  "code": 403,
  "error": "forbidden_error",
  "message": "Forbidden for CBT model 6 sellers.",
  "cause": null
}

A return is a crucial process in the buying experience on our platform, through which a buyer can return an item to the seller. This process can be triggered for various reasons, such as discrepancies between the product description and its actual condition, functionality issues, or even a change of mind by the buyer. Effectively managing returns is key to maintaining customer trust and satisfaction, ensuring any issues are resolved transparently and efficiently.



Note:
The resource /post-purchase/v2/claims/$CLAIM_ID/returns is an essential tool that allows you to access the specific details of each return, identified by its $CLAIM_ID, including types, subtypes, and statuses.

At Mercado Libre, we manage various types of returns to ensure a transparent and fair buying experience:

  • claim: A return initiated through a buyer's claim.
  • dispute: A return resulting from a dispute between the buyer and seller.
  • automatic: A return initiated by the buyer, automatically processed by the system.

These different types of returns allow us to handle each situation specifically, ensuring both buyers and sellers receive the proper support throughout the post-purchase process.

Manage a return

To correctly identify a return, we make the following recommendations:

  1. Monitor the claim notification: Listen to the feed Marketplace claims, which contain the order information where the claim originated.
  2. Check the resource /claims/$CLAIMS to access the "related_entities" field, which offers a list of entities linked to the claim. If the value "return" exists, it means there is a return associated with this claim. Now you can check the /returns resource to get the return details and take the necessary actions within the established timeframes.

For more information, check the Claims Management documentation.


Check a return

Call:

curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' 
https://api.mercadolibre.com/marketplace/v2/claims/$CLAIM_ID/returns

Example:

curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/marketplace/v2/claims/5298893830/returns

Response:

{
    "last_updated": "2024-09-09T22:35:11.717+00:00",
    "shipping": {
        "id": 43822268076,
        "status": "delivered",
        "tracking_number": null,
        "lead_time": {
            "estimated_delivery_time": {
                "date": "2024-09-11T00:00:00.000-06:00"
            }
        },
        "status_history": [
            {
                "status": "handling",
                "substatus": null,
                "date": "2024-09-09T17:49:32.277-04:00"
            },
            {
                "status": "ready_to_ship",
                "substatus": "ready_to_print",
                "date": "2024-09-09T17:49:32.641-04:00"
            },
            {
                "status": "ready_to_ship",
                "substatus": "printed",
                "date": "2024-09-09T17:49:32.641-04:00"
            },
            {
                "status": "shipped",
                "substatus": null,
                "date": "2024-09-09T18:07:11.695-04:00"
            },
            {
                "status": "shipped",
                "substatus": "first_visit",
                "date": "2024-09-09T18:13:44.426-04:00"
            },
            {
                "status": "delivered",
                "substatus": null,
                "date": "2024-09-09T18:13:44.426-04:00"
            }
        ],
        "origin": {
            "type": "selling_address",
            "sender_id": 1517482146,
            "shipping_address": {
                "address_id": 1400526513,
                "address_line": "Calle Sin Nombre SN",
                "street_name": "Calle Sin Nombre",
                "street_number": "SN",
                "comment": "Referencia: 222222",
                "zip_code": "05000",
                "city": {
                    "id": "TUxNQ0NVQTgxNTY",
                    "name": "Cuajimalpa De Morelos"
                },
                "state": {
                    "id": "MX-DIF",
                    "name": "Distrito Federal"
                },
                "country": {
                    "id": "MX",
                    "name": "Mexico"
                },
                "neighborhood": {
                    "id": null,
                    "name": "Cuajimalpa"
                },
                "municipality": {
                    "id": null,
                    "name": null
                },
                "types": [
                    "default_buying_address"
                ],
                "latitude": 19.3557507,
                "longitude": -99.2993504,
                "geolocation_type": "GEOMETRIC_CENTER"
            }
        },
        "destination": {
            "name": "seller_address"
        }
    },
    "refund_at": "delivered",
    "date_closed": "2024-09-09T18:35:11.994-04:00",
    "resource": "order",
    "date_created": "2024-09-09T21:49:32.037+00:00",
    "claim_id": 5298893830,
    "status_money": "retained",
    "resource_id": 2000009255685274,
    "type": "claim",
    "subtype": "return_total",
    "status": "closed",
    "warehouse_review": {
        "product_condition": "",
        "product_destination": "",
        "benefited": false
    },
    "seller_review": {
        "status": "success",
        "reason_id": null
    }
}

Response fields:

The GET response from the v2/claims/$CLAIM_ID/returns resource will provide the following fields:

  • last_updated: last return update.
  • shipping: return shipment details.
    • id: shipment identification number.
    • status: shipment status.
    • tracking_number: return shipment tracking number.
    • lead_time
    • estimated_delivery_time: estimated return shipment arrival time.
    • date: estimated return shipment arrival time.
  • status_history: represents the history of return shipment statuses.
    • status: return statuses can include:
      • pending: when the shipment is generated.
      • ready_to_ship: label ready for dispatch.
      • shipped: sent.
      • not_delivered: not delivered.
      • delivered: delivered.
      • cancelled: shipment canceled.
    • substatus: null
    • date: status date.
  • origin: return shipment origin address.
    • type: address type.
    • sender_id: buyer code (buyer_id).
    • shipping_address: address details.
      • address_id:
      • address_line:
      • street_name:
      • street_number:
      • comment:
      • zip_code:
      • city:
      • state:
      • country:
      • neighborhood:
      • municipality:
      • types:
      • latitude:
      • longitude:
      • geolocation_type:
  • destination: return destination information.
    • name
      • seller_address: seller's destination.
      • warehouse: Mercado Libre's warehouse destination.
  • refund_at: when the buyer's money is refunded.
    • shipped: when the buyer dispatches the return shipment.
    • delivered: 3 days after the seller receives the shipment.
    • n/a: for low-cost cases where no return is generated.
  • date_closed: return closure date.
  • resource: name of the resource associated with the return.
  • date_created: return creation date.
  • claim_id: ID of the claim associated with the return.
  • status_money: return money status.
    • retained: money in account but not available, retained.
    • refunded: money returned to the buyer.
    • available: money in available account.
  • resource_id: resource ID.
  • type: type of return.
    • claim: return due to claim.
    • dispute: return due to dispute.
    • automatic: automatic return.
  • subtype: return subtype.
    • low_cost: automatic low-cost return.
    • return_partial: automatic partial return.
  • status: statuses a return can go through.
    • opened: when the buyer initiates a return claim to Mercado Libre.
    • shipped: return sent, money retained.
    • closed: final status of the return upon closing and associated claim_id.
    • delivered: return shipment in seller's hands.
    • not_delivered: return not delivered.
    • cancelled: return canceled, money available.
    • failed: return failed.
    • expired: return expired.
  • warehouse_review: result of the triage process at the warehouse (product review). This array only contains information if the attribute "destination" equals warehouse; otherwise, it is null.
    • product_condition
      • saleable: means the product is fit for resale, and it is automatically restocked.
      • unsaleable: the product is not in a saleable condition.
      • discard: the product is discarded because it differs from the item the buyer received and was supposed to return, e.g., a rock.
    • product_destination
      • buyer
      • seller
      • meli
    • benefited
      • true: the seller is reimbursed the sale amount.
      • false: the buyer is refunded the transaction amount
  • seller_review: provides information on the review conducted by the seller.
    • status: review status. It can take one of the following values:
      • pending: the return is pending seller review.
      • claimed: the seller reviewed the product and decided it is not in the expected condition.
      • failed: the CX team decided the seller is the beneficiary (previous status is claimed).
      • success: the seller reviewed the return and indicated it arrived in the expected condition.
    • reason_id: identifier for the reason the seller indicated an issue with the product. Possible values are returned by the reasons/return-fail resource. Currently, the possible values are:
      • null: when no reason is specified. This field is always null unless the status is 'claimed'.
      • SRF2: The product arrived damaged.
      • SRF3: The return is incomplete.
      • SRF4: A different product was returned than what was sent.
      • SRF5: The product is not in the package.
      • SRF6: Report another product issue.
      • SRF7: The product has not yet been received.
Note:
Remember that the resource /shipments/$SHIPMENT_ID/costs returns the shipping costs the user will need to bear.

Return Shipping Cost

To improve the experience we offer our sellers, we have created this functionality to allow you to obtain return and exchange shipping cost information.

To get the return and exchange shipping cost information, make a GET request to:

Call:

curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' 
https://api.mercadolibre.com/post-purchase/v1/claims/$CLAIM_ID/charges/return-cost

Specifying the $CLAIM_ID. This will provide detailed information about the value associated with the return and exchange shipping for the corresponding claim.

Note:
The calculate_amount_usd parameter is a query parameter that defaults to false. When sent with the value true, the application will calculate and return the value in US dollars (USD). If not sent or sent with the value false, the USD calculation will not be performed.

Example with calculate_amount_usd=true

Request:

curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' 
'https://api.mercadolibre.com/post-purchase/v1/claims/5298893830/charges/return-cost?calculate_amount_usd=true'

Response:

{
    "currency_id": "MXN",
    "amount": 125.50,
    "amount_usd": 7.25
}

Example without calculate_amount_usd

Request:

curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' 
'https://api.mercadolibre.com/post-purchase/v1/claims/5298893830/charges/return-cost'

Response:

{
    "currency_id": "MXN",
    "amount": 125.50
}

Response Fields

Field Type Description Example
currency_id String Currency ID for the amount field MXN, BRL, ARS
amount BigDecimal Amount to be charged to the seller for the return 125.50
amount_usd BigDecimal Amount converted to US dollars (only when calculate_amount_usd=true) 7.25

Errors

Below are the possible error messages that the resources might generate:

If the claim does not belong to the seller:

{
   "code": 400,
   "error": "bad_request_error",
   "message": "Invalid roleId :12343234 in claim :123454323",
   "cause": null
}

If the claim does not exist:

{
   "code": 404,
   "error": "not_found_error",
   "message": "claim id: 5255026166 not found",
   "cause": null
}

If the token is not sent:

{
   "code": 401,
   "error": "unauthorized_request_error",
   "message": "Invalid caller.id",
   "cause": null
}

If the token has expired or is invalid:

{
   "message": "invalid_token",
   "error": "not_found",
   "status": 401,
   "cause": []
}

If the token is incorrect:

{
   "message": "{\"message\":\"Malformed access_token: token\",\"error\":\"bad_request\",\"status\":400,\"cause\":[]}",
   "error": "",
   "status": 400,
   "cause": []
}

If the seller is not enabled to review a return:

{
   "code": 400,
   "error": "bad_request_error",
   "message": "Not valid action return_review_ok for player role respondent",
   "cause": null
}

If the format of the file to be attached is not valid:

{
   "code": 400,
   "error": "bad_request_error",
   "message": "Invalid mime_type",
   "cause": null
}

If the file name is not valid:

{
   "code": 400,
   "error": "bad_request_error",
   "message": "Invalid file_name: ",
   "cause": null
}

If the "file" field is not sent:

{
   "code": 400,
   "error": "bad_request_error",
   "message": "Current request is not a multipart request",
   "cause": null
}

If one of the required fields is missing:

{
   "code": 400,
   "error": "bad_request_error",
   "message": "Required request body is missing or incorrect, please see the documentation.",
   "cause": null
}

Next: Post-sale messages