Get Order

This endpoint is for fetching the details of an order.

Request
Security:
path Parameters
orderId
required
string

ID of order to retrieve

header Parameters
Authorization
required
string
Default: Bearer {$$.env.access_token}
Responses
200

The order response

403

Insufficient permissions to view an order

404

Order id not found

get/orders/{orderId}
Request samples
curl -i -X GET \
  'https://api.tyro.com/connect/orders/{orderId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "id": "order-identifier-in-tyro-connect",
  • "locationId": "tc-merchant-2000",
  • "origin": {
    },
  • "items": [
    ],
  • "discounts": [
    ],
  • "surcharges": [
    ],
  • "tip": {
    },
  • "total": {
    },
  • "table": {
    },
  • "status": "ACCEPTED",
  • "customers": [
    ],
  • "fulfilment": {
    },
  • "paymentStatus": "CLOSED"
}
Copyright © Tyro Payments 2019-2024. All right reserved.