Busca inteligente powered by OpenAI
Buscar em preferências
GET
Produtos relacionados:
Parâmetros de requisição
QUERY
sponsor_id
ID numérico exclusivo para identificar o sponsor. É usado para identificar em qual plataforma o fluxo de pagamento foi iniciado.string
external_reference
Referência que pode sincronizar com seu sistema de pagamentos.string
site_id
ID do site.string
MLA: Mercado Libre Argentina
MLB: Mercado Libre Brasil
MLC: Mercado Libre Chile
Ver maismarketplace
ID do Marketplace.string
Parâmetros de resposta
elements
Elementsarray
next_offset
Campo numérico usado para paginar a resposta.number
total
totalnumber
Erros
400Erro
ds_search_query
invalid query.
401Erro
invalid_token
invalid_token.
invalid_caller_id
invalid caller_id
Requisição
curl -X GET \
'https://api.mercadopago.com/checkout/preferences/search'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
curl -X GET \
'https://api.mercadopago.com/checkout/preferences/search'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
curl -X GET \
'https://api.mercadopago.com/checkout/preferences/search'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
curl -X GET \
'https://api.mercadopago.com/checkout/preferences/search'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-4599*********755-11221*********d497ae962*********ecf8d85-1*********' \
Resposta de exemplo
{
"elements": [
{
"id": "202809963-a2201f8d-11cb-443f-adf6-de5a42eed67d",
"client_id": 6295877106812064,
"collector_id": 202809963,
"date_created": "2018-02-02T19:18:51.150Z",
"expiration_date_from": "2022-11-17T09:37:52.000-04:00",
"expiration_date_to": "2022-11-17T10:37:52.000-05:00",
"items": [
{}
],
"marketplace": "NONE",
"site_id": "MLA",
"sponsor_id": 0
}
],
"next_offset": 1,
"total": 1
}