Buscar en cajas - Cajas - Mercado Pago Developers
¿Qué estás buscando?

¿No sabes cómo empezar la integración? 

Accede a los primeros pasos
Buscar en cajas

GET

https://api.mercadopago.com/pos
Encuentra toda la información de los puntos de venta a través de filtros específicos.
Parámetros para la solicitud
QUERY
external_id
string
External ID
external_store_id
string
External Store ID
store_id
string
Store ID
category
string
Category
Parámetros de respuesta
paging
object
paging
results
array
results
Errores

400Error

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.

Solicitud
curl -X GET \
      'https://api.mercadopago.com/pos?external_id=SUC001POS001'\
       -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-7719*********832-03141*********ec9309854*********f1e54b5-1*********' \
       
Respuesta de ejemplo
{
  "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"
    }
  ]
}