Actualizar caja - Cajas - Mercado Pago Developers
¿Qué documentación quieres buscar?

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

Accede a los primeros pasos
Actualizar caja

PUT

https://api.mercadopago.com/pos/{id}
Renueva los datos de un punto de venta. Indica el ID de la caja y envía los parámetros con la información que quieras actualizar.
Parámetros para la solicitud
PATH
id
string

REQUERIDO

POS Id
BODY
category
number
Código MCC que indica el rubro del Punto de Venta. Si no se especifica, queda como categoría genérica
Gastronomy:
621102: Argentina
5611203: Brazil
Ver más
external_store_id
string
External_id of the store to which the pos belongs defined by integrator system.
fixed_amount
boolean
Determina si el cliente puede insertar el monto a pagar
name
string
Nombre de la caja
Parámetros de respuesta
id
number
id
qr
object
qr
status
string
status
date_created
string
date_created
Errores

400Error

MISSING_BODY

HTTP body is required to modify pos.

UNKNOWN_FIELD_EXCEPTION

The indicated field is not allowed for this operation or is unknown.

INVALID_POS_ID

The ID of the pos is invalid, it must be numeric.

INVALID_NAME

NAME must be string.

NAME_TOO_LONG

The NAME must be less than 45 characters.

INVALID_FIXED_AMOUNT

FIXED_AMOUNT must be boolean.

INVALID_CATEGORY

CATEGORY must be numeric.

POS_UNKNOWN_MCC

The CATEGORY must be valid for the user's site.

POS_INVALID_STORE_ID

STORE_ID must be numeric.

INVALID_EXTERNAL_STORE_ID

EXTERNAL_STORE_ID muste be string.

EXTERNAL_STORE_ID_NOT_MATCH

The EXTERNAL_STORE_ID does not refer to the indicated STORE_ID.

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_URL

The URL must be string and muste have the format of a valid url

URL_TOO_LONG

The URL must be less than 300 characters.

FIXED_AMOUNT_FALSE

If the URL field is indicated, the FIXED_AMOUNT field must be true. We do not support the open amount modality in this case.

403Error

1

If you are using the URL field, the host must be enabled by Mercado Pago. If it is not, you will receive this error. Please contact your assigned technical advisor.

404Error

1

If the POS does not exist for an indicated ID or EXTERNAL_ID and user.

409Error

1

A pos with the same EXTERNAL_ID already exists.

Solicitud
curl -X PUT \
      'https://api.mercadopago.com/pos/{id}'\
       -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-8971*********918-01191*********5874530a4*********4799fdf-1*********' \
       -d '{
  "category": 621102,
  "fixed_amount": false,
  "name": "First POS",
  "store_id": 1234567
}'
Respuesta de ejemplo
{
  "id": 2711382,
  "qr": {
    "image": "https://www.mercadopago.com/instore/merchant/qr/2711382/0977011a027c4b4387e52069da4264deae2946af4dcc44ee98a8f1dbb376c8a1.png",
    "template_document": "https://www.mercadopago.com/instore/merchant/qr/2711382/template_0977011a027c4b4387e52069da4264deae2946af4dcc44ee98a8f1dbb376c8a1.pdf",
    "template_image": "https://www.mercadopago.com/instore/merchant/qr/2711382/template_0977011a027c4b4387e52069da4264deae2946af4dcc44ee98a8f1dbb376c8a1.png"
  },
  "status": "active",
  "date_created": "2019-08-22T14:11:12.000Z",
  "date_last_updated": "2019-08-22T14:11:12.000Z",
  "uuid": "0977011a027c4b4387e52069da4264deae2946af4dcc44ee98a8f1dbb376c8a1",
  "user_id": 446566691,
  "name": "First POS",
  "fixed_amount": false,
  "category": 621102,
  "store_id": 1234567,
  "external_store_id": "SUC001",
  "external_id": "SUC001POS002",
  "site": "MLB",
  "qr_code": "00020101021226940014BR.GOV.BCB.PIX2572pix-qr-h.mercadopago.com/instore/h/p/v2/db12b6e2ec4844839825c6dce7cd2f2243530016com.mercadolibre0129https://mpago.la/pos/212798995204000053039865802BR5924VICTOR CORREA DE ALMEIDA6008CAMPINAS62070503***63040B44"
}