Get order - Instore Orders v2 - Mercado Pago Developers
Get order

GET

/instore/qr/seller/collectors/{user_id}/pos/{external_pos_id}/orders
Check the payment information for a product or service with the ID of the order you want.
Request's parameters
user_id

REQUIRED

string
Localization: pathUser Id
external_pos_id

REQUIRED

string
Localization: pathExternal POS Id
Response parameters
external_reference
string
Localization: body
total_amount
number
Localization: body
items
array
Localization: body
title
string
Localization: body
Request
curl
curl -X GET \
    'https://api.mercadopago.com/instore/qr/seller/collectors/{user_id}/pos/{external_pos_id}/orders' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Answer
json
[
  {
    "external_reference": "12345",
    "total_amount": 100,
    "items": [
      {
        "sku_number": "KS955RUR",
        "category": "COMIDA",
        "title": "Pasta",
        "description": "Compra en Mercado Pago",
        "unit_measure": "unit",
        "quantity": 5,
        "unit_price": 20,
        "total_amount": 100
      }
    ],
    "title": "Compra",
    "description": "Compra en Mercado Pago",
    "sponsor": {
      "id": 329653963
    },
    "expiration_date": "2023-08-22T16:34:56.559-04:00",
    "notification_url": "www.yourserver.com"
  }
]
Errors
400bad_request
invalid_collectorIduser_id must be a number.
invalid_externalPosIdexternalPosId must be present.
404bad_request
point_of_sale_in_store_order_not_foundNo associated order found.
500bad_request
in_store_order_creation_errorFailed to create order.