Get orderhttps://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.
GET
Request parameters
Header
Authorization
Access Token obtained through the developer panel. Must be sent in all requests.string
REQUIRED
Path
user_id
User Idstring
REQUIRED
external_pos_id
External POS Idstring
REQUIRED
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 APP_USR-8*********932064-12*********edf6d3c99*********2236c703f*********668' \
Response
[
{
"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"
}
]