Documentation Mercado Libre

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

Documentation

Last update 21/08/2026

Manage orders

An order is a request made by a customer on a listed item that intends to buy under a series of conditions to be selected in the online checkout flow. These conditions are detailed in the order that will be replicated for buyer and seller accounts. You will find information about the product to fill out there. The Global Selling orders correspond to each local marketplace (México, Brasil and Chile) and sellers manage these orders in a unified way. Next, we detail the order management flow.


Receive notifications

Some events happen on Global Selling's side and notifications are the only way to become aware of them. Receiving notifications enables you to have a real-time feed of the changes that occur on the different resources of our API. Learn more about notifications.


Summary

This examples will help you manage orders.

Resource Description Example
/marketplace/orders/search Search all orders from a seller. GET
/marketplace/orders/search?seller=$SELLER_ID Search one order from a seller. GET
/sites/$SITE_ID/payment_methods Returns the payment methods provided by Mercado Pago. GET
/sites/$SITE_ID/payment_methods/$id Returns the detail of the specific payment method. GET
/marketplace/orders/$ORDER_ID/invoice Get the "proforma" invoice to be used for customs declarations. GET

Order status

Order statuses are the following:

Status Description
payment_required Order payment should be confirmed to display user information.
payment_in_process There is an order-related payment, but it has not been credited yet.
partially_paid The order have a credited associated payment, but it is not enough.
paid The order-related payment is credited.
cancelled For some reason, the order was not fulfilled.*
invalid The order was invalidated as it came from a malicious buyer.
Note:
An order may be canceled due to the following reasons:
- Payment approval was required to subtract stock, but, during the approval process period, the item was paused/terminated due to stockout; so, the payment is returned to the buyer.
- Payment was required, but, as it was not paid within a specific period, it was automatically canceled.
- After making a transaction, for some reason the seller is banned from the site.

Search orders

You can use the /search functionality of the /orders resource to make searches with filters. Note that /search does not perform any action if it is not followed by a filter.


To consume this resource, make a call with GET method as shown in the following curl:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/orders/search
Note:
This request has a limit 100 request per minute.

Example:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/orders/search

Cart order response:

{
            "id": 2000000580342535, -> Don't use it. Use the orders node id.
            "buyer": {
                "id": 116038996
            },
            "config": {
                "items": [
                    {
                        "id": "MLM759344664"
                    }
                ]
            },
            "orders": [
                {
                    "id": 2497671750, -> This is the order id you have to use.
                    "items": null,
                    "feedback": {
                        "purchase": null,
                        "sale": null
                    },
                    "payments": [
                        {
                            "id": 7032122688
                        }
                    ],
                    "mediations": [],
                    "seller": {
                        "id": 514048142
                    }
                }
            ],
            "shipment": {
                "id": 28504764933,
                "payments": []
            }
        }

Individual order response:

{
            "id": 2483140131,
            "buyer": {
                "id": 441782523
            },
            "config": {
                "items": [
                    {
                        "id": "MLM781272686"
                    }
                ]
            },
            "orders": [
                {
                    "id": 2483140131, -> this is the order id.
                    "items": null,
                    "feedback": {
                        "purchase": null,
                        "sale": null
                    },
                    "payments": [
                        {
                            "id": 6903805442
                        }
                    ],
                    "mediations": [
                        {
                            "id": 5022947125
                        }
                    ],
                    "seller": {
                        "id": 523132944
                    }
                }
            ],
            "shipment": {
                "id": 30041416576,
                "payments": []
            }
        }
Note:
Use the order ID´s from the orders node.

Parameters

Parameter Description
sort Shows field you can use to sort results.
order Shows order direction you need to organize results with.
limit The limit of results requested, it has a maximum of 1000.
offset Using the offset attribute, you can move the lower limit of the result block.

Search orders with filters

Search orders using limit filter resource allows to restrict results. You should make a call using GET method like this:


Request:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET  https://api.mercadolibre.com/marketplace/orders/search?buyer=$BUYER_ID&limit=$LIMIT

Example:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/orders/search?buyer=441782523&limit=50

Response:

{
   "query":"",
   "results":[
      {
         "id":2194210960,
         "buyer":{
            "id":441782523
         },
         "config":{
            "items":[
               {
                  "id":"MLM733232983"
               }
            ]
         },
         "orders":[
            {
               "id":2194210960,
               "items":null,
               "feedback":{
                  "purchase":null,
                  "sale":null
               },
               "payments":[
                  {
                     "id":5384783409
                  }
               ],
               "mediations":[
                  {
                     "id":1041550651
                  }
               ]
            }
         ],
         "shipment":{
            "id":28140042692,
            "payments":[

            ]
         }
      },
      {
         "id":2194336280,
         "buyer":{
            "id":441782523
         },
         "config":{
            "items":[
               {
                  "id":"MLM733232983"
               }
            ]
         },
         "orders":[
            {
               "id":2194336280,
               "items":null,
               "feedback":{
                  "purchase":null,
                  "sale":null
               },
               "payments":[
                  {
                     "id":5384748271
                  }
               ],
               "mediations":[
                  {
                     "id":5007508763
                  }
               ]
            }
         ],
         "shipment":{
            "id":28139907607,
            "payments":[

            ]
         }
      }
   ],
   "sort":{
      "id":"date_asc",
      "name":"Date ascending"
   },
   "available_sorts":[
      {
         "id":"date_desc",
         "name":"Date descending"
      }
   ],
   "filters":[],
   "paging":{
      "total":2,
      "limit":50
   }
}

Parameters

Parameter Description
buyer To search orders by certain buyer.
seller.id To search orders by certain seller.
order.status To search orders by certain status (paid, cancelled, payment_required, paid).
site To search orders of country shown in site (MLM, MLB, MLC).
limit To reduce page size changing number of results to show in each page. If not stated, 50 results will be brought -maximum allowed value.
offset Using the offset attribute, you can move the lower limit of the result block.
date_created.from To search from a certain order creation date.
date_created.to To search for orders created up to a certain date.
last_updated.from To search from a certain order update date.
last_updated.to To search for orders updated up to a certain date.
date_closed.from To search from a certain closing date.
date_closed.to To search for orders closed until a certain date.
mediations.stage It can be some status separated by ','.

Available date formats

  • yyyy-MM (eg 1997-07)
  • yyyy-MM-dd (eg 1997-07-16)
  • yyyy-MM-ddThh (eg 1997-07-16T19)
  • yyyy-MM-ddThh:mm (eg 1997-07-16T19:20)
  • yyyy-MM-ddThh:mm:ss (eg 1997-07-16T19:20:30)
  • yyyy-MM-ddThh:mm:ss.ms (eg 1997-07-16T19:20:30.45)
  • yyyy-MM-ddThh:mm:ss.ms-TZD (eg 1997-07-16T19:20:30.45-01:00)

  • yyyy = four-digit year
    MM = two-digit month (01=January, etc.)
    dd = two-digit day of month (01 through 31)
    hh = two digits of hour (00 through 23) (am/pm NOT allowed)
    mm = two digits of minute (00 through 59)
    ss = two digits of second (00 through 59)
    ms = one or more digits representing a decimal fraction of a second
    TZD = time zone designator (hh:mm)
    T = Time separator between date and time, must be a T letter


Available sorts

Search orders can receive parameters with which you can sort the search results by dates. The available sorts parameters are:

Sort Description
date_asc Date ascending
date_desc Date descending
updated_asc Last updated ascending
updated_desc Last updated descending
closed_asc Date close ascending
closed_desc Date close descending

Errors

HTTP Code Error Message
403 forbidden Invalid caller.id
403 forbidden Can not identify the user
404 not_found Resource not found
500 internal_server_error Oops! Something went wrong...
401 not_found invalid_token
400 bad_request Malformed access_token: TOKEN_NOT_VALID
400 bad_request Param not valid
451 unavailable.for.legal.reasons The requested user is not available due to legal reasons

Get an order

Important:
We will no longer provide personal seller and buyer data in the GET response of Orders with Mercado Envíos 2, as it is possible check the /users endpoint.

For implementation, make a request with GET method as shown below:


Request:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/orders/$ORDER_ID

Parameters

Parameter Description
ORDER_ID Unique order identifier.

Example:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/orders/2000003508419013

Response:

{
    "id": 2000003508419013,
    "date_created": "2020-01-31T18:03:35.000-04:00",
    "date_closed": "2020-01-31T18:03:36.000-04:00",
    "last_updated": "2020-01-31T18:03:36.000-04:00",
    "manufacturing_ending_date": null,
    "feedback": {
        "sale": null,
        "purchase": null
    },
    "mediations": [],
    "comments": null,
    "pack_id": null,
    "pickup_id": null,
    "order_request": {
        "return": null,
        "change": null
    },
    "fulfilled": null,
    "paid_amount": 15.1,
    "coupon": {
        "id": null,
        "amount": 0
    },
    "expiration_date": "2020-05-10T18:03:36.000-04:00",
    "order_items": [
        {
            "item": {
                "id": "MLM754639529",
                "title": "Elemento De Prueba - Para Pruebas De Carga",
                "category_id": "MLM71792",
                "variation_id": null,
                "seller_custom_field": null,
                "variation_attributes": [],
                "condition": "new",
                "seller_sku": null,
                "parent_item_id": "CBT910504819"
            },
            "quantity": 1,
            "unit_price": 15.1,
            "currency_id": "USD",
            "manufacturing_days": null,
            "sale_fee": 2.64,
            "base_exchange_rate": 19.25
        }
    ],
    "currency_id": "USD",
    "payments": [
        {
            "id": 5855860136,
            "order_id": 2000003508419013,
            "payer_id": 441782523,
            "collector": {
                "id": 481240836
            },
            "card_id": 8738685222,
            "site_id": "MLM",
            "reason": "Elemento De Prueba - Para Pruebas De Carga",
            "payment_method_id": "amex",
            "currency_id": "USD",
            "installments": 1,
            "issuer_id": "157",
            "atm_transfer_reference": {
                "company_id": null,
                "transaction_id": "1234567"
            },
            "coupon_id": null,
            "activation_uri": null,
            "operation_type": "regular_payment",
            "payment_type": "credit_card",
            "available_actions": [
                "refund"
            ],
            "status": "approved",
            "status_code": null,
            "status_detail": "accredited",
            "transaction_amount": 15.1,
            "taxes_amount": 0,
            "shipping_cost": 0,
            "coupon_amount": 0,
            "overpaid_amount": 0,
            "total_paid_amount": 15.1,
            "installment_amount": 15.1,
            "deferred_period": null,
            "date_approved": "2020-01-31T18:03:36.000-04:00",
            "authorization_code": "1234567",
            "transaction_order_id": null,
            "date_created": "2020-01-31T18:03:36.000-04:00",
            "date_last_modified": "2020-01-31T18:03:36.000-04:00"
        }
    ],
    "shipping": {
        "id": 28237306862
    },
    "status": "paid",
    "status_detail": {
        "code": "",
        "description": null
    },
    "buyer": {
        "id": 441782523,
        "nickname": "TESTY0DT2NRL",
        "last_name": "Test",
        "first_name": "Test"
    },
    "seller": {
        "id": 481240836
    },
    "taxes": {
        "amount": 0,
        "currency_id": "USD"
    },
    "context": {
       "channel": "marketplace",
       "site": "MLM",
       "flows": [
           "cbt"
       ],
       "application": "purchases-api"
   }
}

We remove the data of buyer's billing info from the order. Please, check this data by doing a GET to /orders/order_id/billing_info.

Orders have a lot of attributes. Below you will see a description of the most important fields:

Response fields

Field Description
id Unique order identifier.
date_created Order creation date.
date_closed Order confirmation date. It is set when an order status changes for the first time to confirmed / paid and the item is subtracted from the stock.
expiration_date This is the deadline for the user to qualify since, after that date, the feedback is made visible, payments are released (if any), and charges are created.
status Order status. See possible values.
currency_id You need to define a currency. You need to use USD. This one is also a mandatory attribute.
status_detail Status detail.
code Status code.
description Status description.
buyer Buyer's information.
seller Seller's information.
order_items Order item listings.
payments Order-related payments.
feedback Order-related feedback information.
shipping Shipping configuration for this order.
total_amount Total invoice amount.
tags List of seller selected tags, such as delivered, paid.
taxes Amount with the sum of taxes to be paid from the order.
gross_price Attribute is a field that represents the original amount the customer would have paid for all units of the item without discounts.
This field makes it possible to clearly visualize the impact of the discounts applied to each order.

Note: The field gross_price is available in the order_items object of each order and represents the total gross price considering the quantity of units.


How is it calculated?

The gross_price is calculated using the following formula:

gross_price = (unit_price + discounts.full) × quantity

Formula components

Field Type Description
unit_price Number Unit price of the item after applying discounts.
discounts.full Number Unit discount applied to the item (always expressed per unit).
quantity Number Quantity of units of the item in the order.
gross_price Number Original total amount without discounts for all units of the item.


Important characteristics

  • No discounts: When there are no discounts applied, the gross_price matches the total paid (unit_price × quantity).
  • Currency: The gross_price is expressed in the same currency as the unit_price (defined in the currency_id field).
  • Calculation per item: Each item in order_items has its own gross_price value.

Example response with gross_price

Call:

curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' https://api.mercadolibre.com/orders/$ORDER_ID

Response:

{
  "id": 2000003456789012,
  "status": "paid",
  "status_detail": null,
  "date_created": "2026-01-05T10:30:00.000-03:00",
  "date_closed": "2026-01-05T10:32:15.000-03:00",
  "order_items": [
    {
      "item": {
        "id": "MLM823798303",
        "title": "Versace Pour Homme 100ml Edt Spray"
      },
      "quantity": 2,
      "unit_price": 440.00,
      "discounts": [
        {
          "amounts": {
            "full": 341.00,
            "seller": 341.00
          }
        }
      ],
      "gross_price": 1562.00,
      "currency_id": "MXN"
    }
  ],
  "total_amount": 880.00,
  "currency_id": "MXN",
  "buyer": {
    "id": 123456789
  },
  "seller": {
    "id": 987654321
  },
  "payments": [
    {
      "id": 12345678901,
      "transaction_amount": 880.00,
      "currency_id": "MXN",
      "status": "approved",
      "date_created": "2026-01-05T10:31:00.000-03:00",
      "date_last_modified": "2026-01-05T10:32:00.000-03:00"
    }
  ],
  "shipping": {
    "id": 43210987654321
  },
  "tags": [
    "paid",
    "not_delivered"
  ]
}

Breakdown of the calculation in the example

Step-by-step calculation:

// Example data
unit_price = 440.00        // Unit price WITH discount applied
discounts.full = 341.00    // Unit discount
quantity = 2               // Quantity of units

// Formula application
gross_price = (unit_price + discounts.full) × quantity
gross_price = (440.00 + 341.00) × 2
gross_price = 781.00 × 2
gross_price = 1562.00      // Total gross price without discounts

Considerations

  • The gross_price field may not be present in old orders created before the implementation of this attribute.
  • When there are no discounts applied (discounts.full = 0), the gross_price value will be equal to unit_price × quantity.
  • The gross_price is expressed in the same currency indicated in the item's currency_id field.
  • The discounts.seller field indicates the portion of the discount assumed by the seller, useful for co-funded campaigns.

Errors

HTTP Code Error Message
403 forbidden Invalid caller.id
403 forbidden Can not identify the user.
404 not_found Resource not found.
500 internal_server_error Oops! Something went wrong...
401 not_found invalid_token
400 bad_request Malformed access_token: TOKEN_NOT_VALID
400 bad_request Param not valid
451 unavailable.for.legal.reasons The requested user is not available due to legal reasons

As soon as you receive an orders notification, with the order ID you get the information making a request to the /marketplace/orders resource (get an order). Then, with the shipping ID you can identify the logistics (logistic_type and mode) by consulting the /marketplace/shipments resource (get shippment details). With this information, you will know what steps you should take next depending on each shipping method.

*The error 404 can occur when trying to query a pack_id with the orders resource. Please review how to Manage Cart Orders.


Check shipments associated with a sale Updated

With this resource you can get the shipment(s) associated with a sale. Based on the order ID, it returns the corresponding ID and type. It's useful for knowing and relating shipments from the order, and building the relationship between entities starting from orders. It supports both the purchase shipment (forward) and returns (return) when applicable.

FORMAT CHANGE
The Hosted View ALWAYS returns an array [], even when the order has a single shipment. In the current view, without the list or list_all parameters, the endpoint returns a single object {}.

IF YOU MIGRATE TO THE HOSTED VIEW WITHOUT UPDATING YOUR DEVELOPMENT TO READ AN ARRAY INSTEAD OF AN OBJECT, YOUR INTEGRATION WILL FAIL AUTOMATICALLY.

Call

curl -X GET -H 'Authorization: Bearer ACCESSTOKEN'-H'X-New-Domain:true'https://api.mercadolibre.com/orders/ORDER_ID/shipments

Parameters

Parameter Type Required Description
order_id Long Yes Order ID

Query Params

Parameter Type Required Default Description
hosted Boolean No false Parameter to view the format supported by APICore, without shipment details.

Headers

Header Type Required Description
X-New-Domain Boolean No Required in public calls to route to the hosted view.

Response (200 OK)

Returns an array of shipments (forward, and optionally return):

[
  {
    "id": 46803546483,
    "type": "forward"
  },
  {
    "id": 46862336330,
    "type": "return"
  },
  {
    "id": 46875410994,
    "type": "return_to_buyer"
  }
]
Note:
Don't assume that the first element of the array is the original shipment. You must iterate the array and explicitly filter by type == "forward" to identify the purchase shipment.

Field Description

Field Type Description
id Long Shipment ID
type String Shipment type (e.g., forward purchase shipment, return return to seller)

Status Codes

Code Description
200 OK Shipments found
204 No Content The order exists but has no associated shipments (or they're in asynchronous propagation)
400 Bad Request Invalid parameters (e.g., non-numeric order_id)
401 Unauthorized Authentication failed or caller not identified
403 Forbidden Insufficient permissions to access the resource (e.g., querying returns without authorization)
404 Not Found The order_id doesn't exist
500 Internal Server Error Server error
503 Service Unavailable Service unavailable

Current view

Important:
This view will be deprecated starting late September 2026.

Call

curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' -H 'X-New-Domain: true' https://api.mercadolibre.com/orders/2000014428837134/shipments?list_all=true

Parameters

Parameter Type Required Description
order_id Long Yes Order ID

Query Params

Parameter Type Required Default Description
list_all Boolean No false If true, returns an array with shipments of type forward + return (returns)

Headers

Header Type Required Description
X-New-Domain Boolean No Required in public calls to route to the hosted view.
X-Api-Version String No Send with value 2 to receive the full PII data (receiver_name, receiver_phone) inside receiver_address. It's recommended to send it consistently to validate that flows work with the decoupled contract before migrating to the Hosted View.

Response (200 OK) — Base case (without list or list_all)

Returns a single object with the order's forward shipment:

{
  "id": 46140728791,
  "order_id": 2000014428837134,
  "pack_id": 2000010703698453,
  "status": "delivered",
  "substatus": null,
  "type": "forward",
  "mode": "me2",
  "logistic_type": "self_service",
  "tracking_number": "46140728791",
  "service_id": 413471,
  "sender_id": 87778784,
  "receiver_id": 182431181,
  "site_id": "MPE",
  "market_place": "MELI",
  "order_cost": 3577.91,
  "base_cost": 14.5,
  "date_created": "2025-12-22T03:04:56.853-04:00",
  "last_updated": "2025-12-23T16:20:08.028-04:00",
  "date_first_printed": "2025-12-23T10:57:10.026-04:00",
  "created_by": "receiver",
  "status_history": {
    "date_handling": "2025-12-22T03:05:36.000-04:00",
    "date_ready_to_ship": "2025-12-22T03:05:39.891-04:00",
    "date_shipped": "2025-12-23T14:29:32.000-04:00",
    "date_first_visit": "2025-12-23T16:20:05.000-04:00",
    "date_delivered": "2025-12-23T16:20:05.000-04:00"
  },
  "shipping_items": [
    {
      "id": "MPE879310016",
      "description": "Apple Macbook Air 13 M4 16 Gb De Ram 256 Gb Ssd Plateada",
      "quantity": 1,
      "user_product_id": "MPEU3190351474",
      "sender_id": 87778784
    }
  ],
  "shipping_option": {
    "id": 656816902,
    "name": "Prioritario a domicilio",
    "shipping_method_id": 513647,
    "cost": 0,
    "list_cost": 7.25,
    "currency_id": "PEN",
    "delivery_type": "estimated"
  }
}

Response (200 OK) — List case (with list=true or list_all=true)

Returns an array of shipments (forward, and optionally return):

[
  {
    "id": 46803546483,
    "order_id": 2000015872907480,
    "pack_id": 2000010703698453,
    "status": "delivered",
    "substatus": null,
    "type": "forward",
    "mode": "me2",
    "logistic_type": "cross_docking",
    "tracking_number": "d4cc9f8f-2899-55ff-aac3-30ea36c1eadd",
    "tracking_method": "MEL Distribution",
    "return_tracking_number": null,
    "service_id": 157861,
    "sender_id": 1281407372,
    "receiver_id": 165500824,
    "site_id": "MLB",
    "market_place": "MELI",
    "order_cost": 480,
    "base_cost": 0,
    "date_created": "2026-04-07T10:11:29.102-04:00",
    "last_updated": "2026-04-11T08:51:38.673-04:00",
    "date_first_printed": "2026-04-08T09:32:28.417-04:00",
    "created_by": "receiver",
    "status_history": {
      "date_handling": "2026-04-07T10:12:24.000-04:00",
      "date_ready_to_ship": "2026-04-07T10:12:24.000-04:00",
      "date_shipped": "2026-04-08T20:31:10.673-04:00",
      "date_first_visit": "2026-04-11T08:51:37.000-04:00",
      "date_delivered": "2026-04-11T08:51:37.000-04:00",
      "date_not_delivered": null,
      "date_returned": null,
      "date_cancelled": null
    },
    "shipping_items": [
      {
        "id": "MLB4440111989",
        "description": "Borracha Líquida 45kg Solução Para Vazamento Em Telhado",
        "quantity": 1,
        "dimensions": "24.0x26.0x33.0,2010.0",
        "user_product_id": "MLBU3756435310",
        "sender_id": 1281407372
      }
    ],
    "shipping_option": {
      "id": 3033979541,
      "name": "Normal",
      "shipping_method_id": 100009,
      "cost": 0,
      "list_cost": 56.7,
      "currency_id": "BRL",
      "delivery_type": "estimated"
    },
    "tags": ["source_pack_split"]
  },
  {
    "id": 46862336330,
    "order_id": 2000015872907480,
    "pack_id": 2000010703698453,
    "status": "delivered",
    "substatus": null,
    "type": "return",
    "mode": "me2",
    "logistic_type": "xd_drop_off",
    "tracking_number": "MEL46862336330FMDOR01",
    "tracking_method": null,
    "return_tracking_number": null,
    "service_id": null,
    "sender_id": 165500824,
    "receiver_id": 1281407372,
    "site_id": "MLB",
    "market_place": "MELI",
    "order_cost": 480,
    "base_cost": 20,
    "date_created": "2026-04-15T13:14:18.637-04:00",
    "last_updated": "2026-04-17T00:32:44.587-04:00",
    "date_first_printed": "2026-04-15T13:14:18.939-04:00",
    "created_by": "receiver",
    "status_history": {
      "date_handling": "2026-04-15T13:14:18.685-04:00",
      "date_ready_to_ship": "2026-04-15T13:14:18.939-04:00",
      "date_shipped": "2026-04-16T03:56:43.381-04:00",
      "date_first_visit": null,
      "date_delivered": "2026-04-17T00:32:42.768-04:00",
      "date_not_delivered": null,
      "date_returned": null,
      "date_cancelled": null
    },
    "shipping_items": [
      {
        "id": "MLB4440111989",
        "description": "Borracha Líquida 45kg Solução Para Vazamento Em Telhado",
        "quantity": 1,
        "dimensions": "24.0x26.0x33.0,2010.0",
        "user_product_id": "MLBU3756435310",
        "sender_id": 165500824
      }
    ],
    "shipping_option": {
      "id": 5101454440111989,
      "name": "Devolução padrão",
      "shipping_method_id": 510145,
      "cost": 20,
      "list_cost": 20,
      "currency_id": "BRL",
      "delivery_type": "estimated"
    },
    "tags": ["claims_return"]
  },
  {
    "id": 46875410994,
    "order_id": 2000015872907480,
    "pack_id": 2000010703698453,
    "status": "ready_to_ship",
    "substatus": "printed",
    "type": "return_to_buyer",
    "mode": "me2",
    "logistic_type": "melinet",
    "tracking_number": "1f3338d7-eebc-5168-bf54-b226b3691178",
    "tracking_method": "MEL Distribution",
    "return_tracking_number": null,
    "service_id": 157861,
    "sender_id": 1281407372,
    "receiver_id": 165500824,
    "site_id": "MLB",
    "market_place": "MELI",
    "order_cost": 480,
    "base_cost": 21.1,
    "date_created": "2026-04-17T08:08:54.860-04:00",
    "last_updated": "2026-04-17T11:00:23.014-04:00",
    "date_first_printed": "2026-04-17T11:00:22.116-04:00",
    "created_by": "triage",
    "status_history": {
      "date_handling": "2026-04-17T08:08:57.000-04:00",
      "date_ready_to_ship": "2026-04-17T08:08:59.643-04:00",
      "date_shipped": null,
      "date_first_visit": null,
      "date_delivered": null,
      "date_not_delivered": null,
      "date_returned": null,
      "date_cancelled": null
    },
    "shipping_items": [
      {
        "id": "MLB4440111989",
        "description": "Borracha Líquida 45kg Solução Para Vazamento Em Telhado",
        "quantity": 1,
        "dimensions": "15.0x16.0x19.0,2705.0",
        "user_product_id": "MLBU3756435310",
        "sender_id": 1281407372
      }
    ],
    "shipping_option": {
      "id": 5101454440111989,
      "name": "Devolução padrão",
      "shipping_method_id": 510145,
      "cost": 21.1,
      "list_cost": 21.1,
      "currency_id": "BRL",
      "delivery_type": "estimated"
    },
    "tags": []
  }
]

Field Description

Field Type Description
id Long Shipment ID
order_id Long Associated order ID
pack_id Long ID of the pack the order belongs to
status String Shipment status. Known values: pending, handling, ready_to_ship, shipped, delivered, not_delivered, not_verified, cancelled
substatus String (nullable) Shipment substatus
type String Shipment type (e.g., forward purchase shipment, return return to seller, return_to_buyer return re-shipped to buyer)
mode String Shipment's logistics mode (e.g., me2)
logistic_type String Shipment's logistics type
tracking_number String (nullable) Shipment tracking number
tracking_method String (nullable) Carrier tracking method
return_tracking_number String (nullable) Return tracking number
service_id Long Shipping service ID
sender_id Long Seller/sender ID
receiver_id Long Buyer/receiver ID
customer_id Long (nullable) Associated customer ID
site_id String Mercado Libre site ID (e.g., MLA, MLB, MPE)
market_place String Marketplace
order_cost BigDecimal Shipping cost for the seller
base_cost BigDecimal Base shipping cost without discounts/promotions
date_created ISO8601 Shipment creation date
last_updated ISO8601 Last update date
date_first_printed ISO8601 (nullable) Label first-print date
created_by String Who created the shipment
application_id Long (nullable) ID of the client app that originated the shipment
status_history Object Timestamps for each state: date_handling, date_ready_to_ship, date_shipped, date_first_visit, date_delivered, date_not_delivered, date_returned, date_cancelled
substatus_history Array History of substatus changes with {status, substatus, date}
shipping_items Array Items included in the shipment with id, description, quantity, dimensions, user_product_id, sender_id
shipping_option Object Shipping option with id, name, shipping_method_id, cost, list_cost, currency_id, delivery_type, delivery estimates
sender_address Object (nullable) Origin address. Only present with ?views=origin
receiver_address Object (nullable) Destination address. Only present with ?views=destination. The receiver_name and receiver_phone fields require X-Api-Version: 2
Note:
The sender_address and receiver_address fields were not removed from the current view. To receive them, you must explicitly add the ?views=origin,destination parameter to the call. This makes it possible to lighten the payload when full addresses aren't needed.

Status Codes

Code Description
200 OK Shipments found
400 Bad Request Invalid parameters (e.g., non-numeric order_id)
401 Unauthorized Authentication failed or caller not identified
403 Forbidden Insufficient permissions to access the resource
404 Not Found The order doesn't exist / The order has no associated shipments
500 Internal Server Error Server error
503 Service Unavailable Service unavailable

Technical Considerations

  • Propagation timing: The shipment is associated with the order asynchronously after the order is created. There may be a brief delay between order creation and the shipment appearing in this resource.

Fraud alerts (stop shipping)

After the payment approval, and due to the relationship with banks and cards, we may receive an alert that the order is a fraud and to avoid a financial expense, you shouldn´t send the merchandise to the buyer.
In this case, or order is marked with the tag "fraud_risk_detected" and we send a notification with the topic "orders_v2" with the ID of this order.
Once identified, the order must be canceled. Case the seller has already been sent products, it will be necessary to check or send it through the Mercado Libre or Mercado Pago sites.


Invoice

Get the "proforma" invoice to be used for customs declarations.


Request:

curl -H 'Authorization: Bearer $ACCESS_TOKEN' -X GET https://api.mercadolibre.com/marketplace/orders/$ORDER_ID/invoice

Example:



Add product information

Important:
Providing the IMEI number is now mandatory for cell phone purchases in the Colombian market. Please update your application accordingly.

Due to regulations in the Colombian market, it will be mandatory to include the IMEI number (IMEI stands for International Mobile Equipment Identity. It is a unique 15-digit number assigned to every mobile phone and smartphone.) on the label when buyers from this market purchase mobile phones. For this purpose, items associated with the category ID MCO1055 are considered cell phone purchases. To comply with this requirement, we have made available a writing resource on the label that allows for the inclusion of the IMEI number of the mobile phone being shipped in the package. For implementation, make a request with POST method as shown below:


Request:

curl -X POST -H 'Authorization: Bearer $ACCESS_TOKEN' \
-d '{
   "name": "IMEI",
 "value": "1234567890ABCDE"
 }'
https://api.mercadolibre.com/marketplace/orders/$ORDER_ID/attributes

Example:

curl -X POST -H 'Authorization: Bearer $ACCESS_TOKEN' \
-d '{
   "name": "IMEI",
 "value": "1H24HD121H24HD1"
 }'
https://api.mercadolibre.com/marketplace/orders/2000003508419223/attributes

Response: Status Code 201

{
   "status": "success"
 }

Errors

HTTP Code Error Message
400 Invalid order We can only update product from category [MCO1055]
400 Invalid request IMEI must be 15 digits long.
400 Invalid request Must specify valid attribute name.

Next: Shipments.