Intelligent search powered by OpenAI
Get order
GET
Products that use it:
Request's parameters
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 TEST-4599*********755-11221*********d497ae962*********ecf8d85-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"
}
]