Get order - Instore Orders v2 - Mercado Pago Developers
What are you looking for?

Do not know how to start integrating? 

Check the first steps
Get order

GET

https://api.mercadopago.com/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
PATH
user_id
string

REQUIRED

User Id
external_pos_id
string

REQUIRED

External POS Id
Response parameters
external_reference
string
total_amount
number
items
array
title
string
Errors

400Error

invalid_collectorId

user_id must be a number.

invalid_externalPosId

externalPosId must be present.

404Error

point_of_sale_in_store_order_not_found

No associated order found.

500Error

in_store_order_creation_error

Failed to create order.

Request
curl -X GET \
      'https://api.mercadopago.com/instore/qr/seller/collectors/{user_id}/pos/{external_pos_id}/orders'\
       -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-7719*********832-03141*********ec9309854*********f1e54b5-1*********' \
       
Sample answer
[
  {
    "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": 662208785
    },
    "expiration_date": "2023-08-22T16:34:56.559-04:00",
    "notification_url": "http://www.yourserver.com/notification"
  }
]