Did you find this information useful?
Yes
No
Get order/instore/qr/seller/collectors/{user_id}/pos/{external_pos_id}/ordersCheck the payment information for a product or service with the ID of the order you want.
GET
Products that use it:
Request's parameters
user_idstring
Localization: pathUser IdREQUIRED
external_pos_idstring
Localization: pathExternal POS IdREQUIRED
Response parameters
external_reference
Localization: bodystring
total_amount
Localization: bodynumber
items
Localization: bodyarray
title
Localization: bodystring
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_collectorId
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.