Qual documentação você quer buscar?
Não sabe como começar a integrar?
Acesse os primeiros passosBuscar em caixas
GET
Produtos relacionados:
Parâmetros de requisição
QUERY
external_id
External IDstring
external_store_id
External Store IDstring
store_id
Store IDstring
category
Categorystring
Parâmetros de resposta
paging
pagingobject
results
resultsarray
Erros
400Erro
INVALID_CATEGORY
The CATEGORY must be numeric.
INVALID_STORE_ID
The STORE_ID must be numeric.
INVALID_EXTERNAL_STORE_ID
The EXTERNAL_STORE_ID must be string.
INEXISTENT_EXTERNAL_STORE_ID
The EXTERNAL STORE_ID does not refer to an existing Store.
INVALID_EXTERNAL_ID
The EXTERNAL_ID field must be alphanumeric, only letters and numbers. No spaces or hyphens, or special characters.
EXTERNAL_ID_TOO_LONG
The EXTERNAL_ID must be less than 40 characters.
INVALID_LIMIT
The LIMIT must be numeric.
INVALID_OFFSET
The OFFSET must be numeric.
Essa informação foi útil?
Sim
Não
Requisição
curl -X GET \
'https://api.mercadopago.com/pos?external_id=SUC001POS001'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-7434*********159-03141*********cee51edf8*********f94f589-1*********' \
Resposta de exemplo
{
"paging": {
"total": 1,
"offset": 0,
"limit": 0
},
"results": [
{
"user_id": 446566691,
"name": "Caja Principal",
"category": 621102,
"store_id": 1234567,
"external_id": "SUC001POS001",
"id": 1988157,
"qr": {
"image": "https://www.mercadopago.com/instore/merchant/qr/1988157/1f1da6401a4645e99fa21d3f4ffe0e702c4eab2209784fce9d45c83fa93bd5a7.png",
"template_document": "https://www.mercadopago.com/instore/merchant/qr/1988157/template_1f1da6401a4645e99fa21d3f4ffe0e702c4eab2209784fce9d45c83fa93bd5a7.pdf",
"template_image": "https://www.mercadopago.com/instore/merchant/qr/1988157/template_1f1da6401a4645e99fa21d3f4ffe0e702c4eab2209784fce9d45c83fa93bd5a7.png"
},
"date_created": "2019-06-24T13:31:56.000Z",
"date_last_updated": "2019-08-07T21:07:26.000Z",
"external_store_id": "SUC001"
}
]
}