Search preferences/checkout/preferences/searchFind all the information related to generated preferences using specific filters or a specific date range.
GET
Request's parameters
sponsor_id
Localization: queryThe sponsor idstring
external_reference
Localization: queryThe external referencestring
site_id
Localization: queryThe site idstring
marketplace
Localization: queryThe marketplace identifierstring
Response parameters
elements
Localization: bodyelementsarray
next_offset
Localization: bodynext_offsetnumber
total
Localization: bodytotalnumber
Request
curl
curl -X GET \
'https://api.mercadopago.com/checkout/preferences/search?sponsor_id=undefined&external_reference=undefined&site_id=undefined&marketplace=undefined' \
-H 'Authorization: Bearer ACCESS_TOKEN_ENV'
Answer
json
{
"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
}
Errors
400bad_request
ds_search_query
401bad_request
invalid_token
invalid_caller_id
Was this information helpful?