Documentation Mercado Libre
Check out all the necessary information about APIs Mercado Libre.
Documentation
Restricted brands for Global Selling
Check the brand before publishing
Before creating or updating a listing, check the group that matches the account's business model and logistics type. Brand restrictions can differ between groups. Continue to apply the other listing validations.
The API accepts no filters for destination marketplace, origin, category, or date. Review the brand policy for the destination marketplace before submitting individual listings or uploading listings in bulk.
See the Restricted Brands Help Portal.
Keep brand information consistent
- Use the correct brand attribute and make sure it matches the title, images, and other product information.
- Use “generic” only for unbranded products. Keep the actual brand in your product data even when a restriction applies.
If a brand is restricted
Listings for restricted brands may be canceled. Before resubmitting an item, review the applicable policy and requirements. Correct the brand information if it is inaccurate.
Get restricted brands
Call:
curl -X GET -H 'Authorization: Bearer $ACCESS_TOKEN' \
'https://api.mercadolibre.com/users/restricted-brands'
Response
The API returns HTTP 200 with an array of groups. Each group represents a combination of business model and logistic type and contains the names of the brands restricted for that combination.
Example — HTTP 200:
[
{
"business_model": "CBT CN International Drop Shipping",
"logistic_type": "remote",
"brands": [
"adidas",
"apple",
"bose"
]
},
{
"business_model": "CBT Local Fulfillment",
"logistic_type": "fulfillment",
"brands": [
"apple",
"cartier"
]
}
]
This example is illustrative: the list and groups depend on the accounts and the current restrictions. Brands are not repeated within a group, but a brand may appear in more than one group. The API sorts brands by name and groups by business model and logistic type.
Response fields
| Field | Type | Description |
|---|---|---|
business_model | String | Name of the business model for this group. |
logistic_type | String | Logistic type of the accounts in the group. |
brands | Array of strings | Names of the brands restricted for this business model and logistic type combination. |
Empty response
If no brands apply, the API returns HTTP 200 with an empty array:
[]
An empty list may mean that the user has no associated accounts, no restricted brands apply, or a matching business model could not be determined. By itself, an empty list does not confirm that any brand is allowed for listing.
Errors
If a valid user identity cannot be obtained, the query returns HTTP 401. If an error occurs while processing the query, the API does not return partial results.
| HTTP | Response | Description |
|---|---|---|
| 401 | unauthorizedinvalid access token | The access token is invalid or cannot be used to identify the user. |
| 500 | internal error | The query could not be completed. No partial results are returned. |
| 503 | service unavailable | The service is unavailable. |
Error response examples
HTTP 401:
{
"code": "unauthorized",
"message": "invalid access token"
}
HTTP 500:
{
"message": "internal error"
}
HTTP 503:
{
"message": "service unavailable"
}
How to interpret the results
| Scenario | Response |
|---|---|
| The query succeeds and applicable restrictions are found | HTTP 200 with brands grouped by business model and logistic type. |
| No brands apply or groups cannot be associated with the user | HTTP 200 with []. An empty list does not guarantee that a brand is allowed. |
| The token cannot be used to identify the user | HTTP 401. Check that the access token is valid. |
| The query cannot be completed | HTTP 500 or 503. No partial results are returned. |