Get Sales Data by SalesId

This endpoint is for fetching the details of a sales.

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

The sales response

404

When the provided saleId does not match a Sale stored in the system.

get/sales/{saleId}
Request samples
curl -i -X GET \
  'https://api.tyro.com/connect/sales/{saleId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "version": 69,
  • "locationId": "luna-park",
  • "origin": {
    },
  • "source": {
    },
  • "type": "SALE",
  • "status": "CLOSED",
  • "openedZonedDateTime": "2018-05-02T08:28:13+10:00",
  • "closedZonedDateTime": "2018-05-02T08:28:13+10:00",
  • "staff": {
    },
  • "bookingId": "6dca53a9-04c7-46aa-991c-cfdf51a8f652",
  • "items": [
    ],
  • "payments": [
    ],
  • "tax": {
    },
  • "total": {
    },
  • "table": {
    },
  • "subtotal": {
    }
}
Copyright © Tyro Payments 2019-2024. All right reserved.