What are you looking for?
Do not know how to start integrating?
Check the first stepsSearch preferences
GET
Products that use it:
Request's parameters
QUERY
sponsor_id
Unique numeric ID to identify the sponsor. It is used to identify what platform the checkout flow was initiated in.string
external_reference
Reference you can synchronize with your payment system.string
site_id
The site idstring
MLA: Mercado Libre Argentina
MLB: Mercado Libre Brasil
MLC: Mercado Libre Chile
See moremarketplace
Marketplace ID.string
Response parameters
elements
Elementsarray
next_offset
Numeric field used to paginate the response.number
total
totalnumber
Errors
400Error
ds_search_query
invalid query.
401Error
invalid_token
invalid_token.
invalid_caller_id
invalid caller_id
Did you find this information useful?
Yes
No
Request
curl -X GET \
'https://api.mercadopago.com/checkout/preferences/search'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-7719*********832-03141*********ec9309854*********f1e54b5-1*********' \
Sample answer
{
"elements": [
{
"id": "202809963-a2201f8d-11cb-443f-adf6-de5a42eed67d",
"client_id": 6295877106812064,
"collector_id": 202809963,
"date_created": "2018-02-02T19:18:51.150Z",
"items": [
{}
],
"marketplace": "NONE",
"site_id": "MLA",
"sponsor_id": 0
}
],
"next_offset": 1,
"total": 1
}