Documentation Mercado Libre

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

Documentation

Last update 23/09/2026

Fulfilment Inbound Creation

The public Inbound FBM API allows sellers and external applications to programmatically create and query product shipments to Mercado Libre's distribution centers, aiming to streamline the operational process for sellers.

Important:
Currently, this flow is only available for sellers using the Fulfillment China model.

The Inbound FBM public API allows sellers and external applications to programmatically create and track product shipments to Mercado Libre distribution centers, streamlining the sellers' operational process. Two endpoints are exposed under a fully asynchronous model: the integrator sends the POST /marketplace/fbm/inbounds with the list of products to be validated and then receives a 202 Accepted with a process_id. In the background, the system executes the chained business steps: inventory declaration, inbound creation, and rule creation if applicable. The total time of the asynchronous process is approximately 55 seconds.

Create Inbound

Initiates the asynchronous process of creating an inbound. Returns a process_id that must be used to query the process status.

Upcoming changes — effective September 1, 2026:
1. Migration of validations from POST to GET: The creation flow validations previously executed in the POST request are being moved to an independent GET resource as part of the decoupling toward the centralized Validation Engine (Validation Engine).

2. Validation Engine errors added to GET /{process_id}: Errors generated by the Validation Engine will be incorporated into this resource’s response. Integrators must handle the new error cases in their flow.

Request:

curl -X POST \
  'https://api.mercadolibre.com/marketplace/fbm/inbounds' \
  -H 'Authorization: Bearer $ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "items": [
      {
        "user_product_id": "MLA123456789",
        "quantity": 10
      },
      {
        "user_product_id": "MLA987654321",
        "quantity": 5
      }
    ]
  }'

Body parameters

Variable Type Description
items array List of items to ship to the distribution center. Minimum 1 item.
items[].user_product_id string Seller's product identifier in Mercado Libre.
items[].quantity integer Number of units to ship.

Request restrictions:

  • Limit of up to 250 different UPs per creation request.
  • Required Content-Type: application/json.

Response fields

Field Type Description
process_id string Unique identifier of the creation process. Use it to query the status via GET.
status string Process status. Possible values: PENDING, FAIL.

Successful response example (202 Accepted):

{
  "status": "pending",
  "process_id": "0123456789abcdef0123456789abcdef"
}

Response example with invalid items (400 Unprocessable Entity):

{
  "error": "Bad Request",
  "message": "Validation failed: 'items': items list cannot be empty",
  "status": 400
}

Response example for items without quantity (400 Unprocessable Entity):

{
  "error": "Bad Request",
  "message": "Validation failed: 'items[0].quantity': quantity is required",
  "status": 400
}

Response example for items without identifiers (400 Unprocessable Entity):

{
  "error": "Bad Request",
  "message": "Validation failed: 'items[0].userProductId': user_product_id is required",
  "status": 400
}

Response example for invalid item quantity (400 Unprocessable Entity):

{
  "error": "Bad Request",
  "message": "Validation failed: 'items[0].quantity': quantity must be greater than 0",
  "status": 400
}

Response example for non-existent seller (404 Not Found):

{
  "error": "caller_not_found",
  "message": "Caller not found: 999999999999",
  "status": 404
}

Response example for seller not m4/m6 (403 Forbidden):

{
  "error": "site_mismatch",
  "message": "Caller site does not match request site",
  "status": 403
}

Response example for empty items list (400 Unprocessable Entity):

{
  "error": "Bad Request",
  "message": "Validation failed: 'items': items list cannot be empty",
  "status": 400
}

Response example for malformed JSON (400 Unprocessable Entity):

{
  "error": "Bad Request",
  "message": "Invalid request body.",
  "status": 400
}

Response example for incorrect seller type for the flow (403 Forbidden):

{
  "error": "unauthorized_user",
  "message": "The seller is not authorized to access this workflow.",
  "status": 403
}

Response example for seller without logistics centers (422 Unprocessable Entity):

{
  "error_code": "INVALID_SELLER_LOGISTIC"
}

Response example for restricted seller (422 Unprocessable Entity):

{
  "error_code": "INVALID_SELLER_RESTRICTED"
}

Response example when the shipping timeframe for related products cannot be determined (422 Unprocessable Entity):

{
  "status": "failed",
  "error_message":"Shipment deadline could not be resolved for the inbound products."
}

Response codes

HTTP Cause
202 Request received and accepted successfully. Contains process_id and status pending.
400 Invalid request. Accompanied by an error message.
401 Unauthorized to consume the service.
403 Missing token.
422 Invalid items. Accompanied by a message and error codes.
500 Process error. Status failed with message and associated error codes, or unexpected error.
502 Communication error.

Error codes

Note:
New error codes may appear in the future.
errorCode Cause
INVALID_SELLER_LOGISTIC Invalid seller logistics.
INVALID_SELLER_MODEL Invalid seller model.
INVALID_SELLER_RESTRICTED The seller is restricted.

Get Process Status

Queries the status of an inbound creation process. The integrator must perform polling until obtaining a definitive final status: SUCCESS or FAIL. A minimum interval of 5 seconds between queries is recommended.

Request:

curl -X GET \
  'https://api.mercadolibre.com/marketplace/fbm/inbounds/process/{process_id}' \
  -H 'Authorization: Bearer $ACCESS_TOKEN'

Required parameters

Variable Type Description
process_id string Process identifier obtained from the POST response. Maximum 64 characters.

Response fields

Field Type Description
status string Current process status (see possible values in the response codes table).
inbound_id string Only when status = SUCCESS. Identifier of the created inbound.
links.self string Link to schedule the shipment plan. The integrator must redirect the seller to this link so they can complete the inbound.
error object Only when status = FAIL. Details of the error that occurred.
error.message string Description of the failure reason.
invalid_items array Products with validation errors. Listed only when there are product errors.
invalid_items[].user_product_id string ID of the product with an error.
invalid_items[].errors array List of errors for a product.
invalid_items[].errors.error_code array Product error code.
invalid_items[].errors.error_message array Message associated with the product error.
Note:
The link will redirect the seller directly to a scheduling screen in MeLi.

Response example — successful process (200 OK):

{
  "status": "success",
  "links": {
    "self": "https://global-selling.mercadolibre.com/shipping/inbounds/12345678/hub"
  },
  "process_id": "0123456789abcdef0123456789abcdef",
  "inbound_id": 12345678
}

Response example — process in progress (200 OK):

{
  "status": "PENDING"
}

Response example — process failed due to item errors (200 OK):

{
  "status": "fail",
  "process_id": "1bac1eacbf064e2e9f8b50e568d33ce5",
  "invalid_items": [
    {
      "user_product_id": "U3632216058",
      "error_code": "INVALID_PRODUCT_STATUS",
      "error_message": "Invalid status"
    }
  ]
}

Response example — failed process (200 OK):

{
  "status": "fail",
  "process_id": "5c766213d46a40618563a607614058fc",
  "last_update": "2026-07-24T18:17:01.196119081Z",
  "errors": [
    {
      "code": "SELLER_OCCUPANCY",
      "message": "Invalid occupancy"
    }
  ]
}

Response example — process failed due to an error when the shipping timeframe for related products cannot be determined (200 OK):

{
    "process": {
        "process_id": "0e2225bd6f774c38a9bc4ad0b3a59713",
        "status": "fail",
        "last_update": "2026-09-03T15:49:27.628818766-04:00",
        "errors": [
            {
                "code": "SHIPMENT_DEADLINE_NOT_RESOLVED",
                "message": "Shipment deadline could not be resolved for the inbound products."
            }
        ],
3000900448/contracts?

        "product_errors": []
    }
}

Response example — non-existent process_id (404 Not Found):

{
  "error": "not_found",
  "message": "Not found",
  "status": 404
}

Response example — process_id too long (400 Bad Request):

{
  "error": "Bad Request",
  "message": "An error occurred in the provided arguments. Exception: getInbound.id: Process ID must contain only alphanumeric characters and hyphens",
  "status": 400
}

Response example — inbound status belonging to another seller (404 Not Found):

{
  "error": "not_found",
  "message": "Not found",
  "status": 404
}

Response example — invalid process_id (400 Bad Request):

{
  "error": "Bad Request",
  "message": "An error occurred in the provided arguments. Exception: getInbound.id: Process ID must contain only alphanumeric characters and hyphens",
  "status": 400
}

Response codes

HTTP Cases
200 The 200 response may include the following statuses:
  • pending: the creation process is still running.
  • completed: the creation process completed successfully.
  • failed: the inbound creation process encountered a failure.
  • timeout: the process_id query exceeded the response time limit.
  • service_unavailable: the service is unavailable.
  • unexpected_error: an unexpected error occurred during the query.
  • no-describe-items-with-errors
  • inventory-no-equals-product-request
  • product-with-restriction
400 Invalid request.
40X Authentication error.
404 Not Found.
502 Bad Gateway.

Error codes

Note:
New error codes may appear in the future.
errorCode Cause Error level
SELLER_NOT_FOUND Seller not found. top-level
MAX_PRODUCTS_IN_PLAN Plan size exceeded. top-level
DUPLICATED_PRODUCTS Duplicate items. item-level
INVALID_SEGMENT_PRODUCT Invalid segment for the item. item-level
INVALID_USER_PRODUCT_ID Invalid UP. product-level
INVALID_UNIT_STATUS Invalid item status. product-level
RESTRICTED Restricted item. product-level
SELLER_OCCUPANCY Seller has no space available for planning. top-level
MISSING_PRODUCT_QUANTITY Invalid number of units to ship for the item. product-level
INVALID_PRODUCT_PACKAGE Invalid master box (does not apply for m3 - m4). product-level
INVALID_PRODUCT_ORDER Invalid order (m6 only). product-level

Errors

Error response format:

{
  "status": 429,
  "message": "Too Many Requests",
  "error": "too_many_requests"
}
Note:
Server errors (5xx) are sanitized and do not expose internal information. Only a generic message is returned.
HTTP Code Message Solution
403 Bad Request Missing identity information in the authentication. Verify that the OAuth2 token is valid and contains the required scopes.
401 Unauthorized Authentication failure. Verify the access token. It may be expired or invalid. Regenerate via Authorization Code Flow.
404 Not Found Resource not found. Verify that the endpoint URL is correct.
413 Request Entity Too Large The request body exceeds the allowed limit. Reduce the number of items per request.
422 Unprocessable Entity Business validation error. Review the error details and correct the submitted data (invalid items, incorrect quantities, etc.).
429 Too Many Requests Seller's request limit exceeded. Wait and retry respecting the rate limit (100 req / 60s). Avoid sending duplicate requests.
500 Internal Server Error Internal server error. Retry the operation with exponential backoff. If it persists, contact support.