Documentation Mercado Libre

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

Documentation

Last update 14/08/2026
FAQs CBT › Orders and Packs: data model, availability, and field interpretation

Orders and Packs: data model, availability, and field interpretation


Why does a purchase with multiple items appear as separate orders in the API?

This is expected behavior under the packs model: a single purchase can group multiple orders. The API for an individual order returns only the items within that order. To see the full purchase content, query the corresponding pack using pack_id.

Recommendation
If your business logic needs "purchase-level" operations (single invoice, single shipment grouping), build around pack retrieval and then iterate through the contained order_id values.
I call /marketplace/orders/{id} and get 404 because the ID was a pack. How should I query it?

If the identifier belongs to a pack rather than an order, you must query it using the packs endpoint (for example, /marketplace/orders/pack/{pack_id}) and then use the associated order_id values to fetch individual orders.

Recommendation
Add ID-type detection in your integration: if an order lookup fails with 404, try a pack lookup path (where applicable) before treating it as a hard failure.
Why do some orders return temporary errors (404) or become intermittent when I query them?

This can be related to asynchronous processes and intermediate or failed states during creation/updates, such as packs in error/pending states or fulfillment shipments that do not yet have a shipping.id. Retry in cycles, rely on webhooks when possible, and verify pack state before querying dependent resources.

Recommendation
Implement resilient retrieval: retry with progressive delays, stop after a maximum window, and prefer notifications over aggressive polling for newly created orders.
What should I do if pack_id sometimes comes as null in orders that seem to belong to a pack?

Mercado Libre is migrating toward a model where pack_id will be required, but during the transition it may be null. When pack_id is not available, use order_id as the operational identifier for grouping and implement logic that supports both scenarios.

Recommendation
Design your schema so pack_id is optional and can be backfilled later. Avoid hard dependencies on pack_id being present in all responses.
How can I get complete fee/billing information for an order if fields are missing in the API?

Complete billing details depend on using the access token of the order owner. If you query billing endpoints with a token that is not from the user who owns the order, some details (such as fees) may be missing.

Recommendation
In multi-account platforms, always execute billing reads under the seller account that owns the transaction. If you operate with delegated tokens, ensure the correct ownership context before calling billing APIs.
Does SearchOrders (/marketplace/orders/search) return the full order information?

Not necessarily. SearchOrders typically returns a summary view and may require additional calls (Get Order and Shipment details) to obtain complete information. If the summary is sufficient, you can avoid extra calls. Notifications are recommended to reduce polling.

Recommendation
Use /marketplace/orders/search for indexing and then selectively hydrate only the orders that require full detail. Combine with webhooks to avoid frequent search polling.
Which field in /marketplace/shipments/{id}/lead_time gives the actual shipping cutoff shown in the seller dashboard?

The /marketplace/shipments/{shipment_id}/lead_time endpoint returns two fields related to shipping deadlines that are commonly confused. The estimated_handling_limit field reflects an estimate and may not match what the seller sees in their Mercado Libre dashboard. The correct field that corresponds to the actual cutoff date displayed in the seller panel is pay_before. This is the real deadline by which the seller must dispatch the shipment to avoid performance impact.

Recomendación
Always use pay_before (not estimated_handling_limit) when displaying shipping deadlines to sellers in your integration. Relying on the estimated field can cause sellers to miss their actual dispatch window, generating support tickets and reputational impact on the account.
Can CBT accounts access claims and returns data through the API (/v2/claims/{claim_id}/returns)?

The /v2/claims/{claim_id}/returns sub-resource is not officially documented or guaranteed for standard CBT seller accounts. Queries to this endpoint may return errors or empty responses without a clear explanatory error code. There is currently no confirmed, publicly documented API endpoint for accessing after-sales return data for CBT accounts — the existing official documentation covers specific restrictions (such as Model 6 sellers being blocked with 403), but does not confirm general support for standard CBT seller profiles.

Recomendación
For CBT after-sales workflows, rely on the available claims endpoints (/marketplace/v2/claims) and the seller dashboard for return management. Avoid building critical integration logic around undocumented sub-resources, and monitor official documentation updates for future returns API coverage for CBT.