Get Single Check
Returns a check based on the Account Identifier.
Path parameters
-
The ID of the account being requested. (ex: A78094.69)
Query parameters
-
The unique identifier for the business location.
GET
/o/op/1/order/accounts/{accountIdentifier}
curl \
-X GET https://api.lsk.lightspeed.app/o/op/1/order/accounts/A739800.52?businessLocationId=45454565682155 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"clientCount": 4,
"identifier": "string",
"uuid": "a3bb189e-8f29-4cce-b0e9-f29b123dfe3d",
"openDate": "2021-06-21T14:20:00Z",
"closeDate": "2021-06-22T10:15:00Z",
"paidAmount": 100.0,
"serviceCharge": 10.0,
"name": "ORDER A1C2E",
"currentAmount": 110.0,
"staffName": "Jane Smith",
"staffId": 7701234,
"salesEntries": [
{
"id": 1341648999023061,
"uuid": "2c83b049-a2c1-4bc5-8479-eb152e5a54be",
"itemName": "Burger",
"itemSku": "14",
"unitAmount": 10.0,
"quantity": 1.0,
"modifiers": [
{
"name": "Rare",
"quantity": 1
}
],
"amountWithTax": 11.5,
"amountLessTax": 10.0,
"discountedAmount": 0.0,
"timeOfTransactionUtc": "2023-11-07T21:24:44.741+0000",
"active": true,
"subLineItems": [
{
"id": 1341648999023062,
"uuid": "2c83b049-a2c1-4bc5-8479-eb152e5a54be",
"active": true,
"itemSku": "35",
"itemName": "Extra Cheese",
"quantity": 1.0,
"modifiers": [],
"unitAmount": 1.0,
"taxIncluded": false,
"subLineItems": [],
"amountLessTax": 1.0,
"amountWithTax": 1.15,
"grossUnitAmount": 1.0,
"discountedAmount": 0.0,
"timeOfTransactionUtc": "2023-11-07T21:24:44.755+0000"
}
],
"taxIncluded": false
}
],
"paymentEntries": [
{
"paymentMethodDescription": "API Payment",
"externalReference": "12345678901234",
"paymentMethodCode": "APM",
"amountPaid": 12.65,
"paymentDate": "2023-11-07T22:05:16.127+0000",
"active": true
}
],
"id": "string",
"ikaccountId": "A78094.48",
"number": 42,
"tableNumber": 2,
"posId": 54321,
"deviceId": 42
}
Response examples (400)
{
"timestamp": "2023-11-07T22:18:49.101+0000",
"status": 400,
"error": "Bad Request",
"message": "Invalid account identifier",
"path": "/o/op/1/order/accounts/-1"
}
Response examples (404)
{
"timestamp": "2023-11-07T22:18:49.101+0000",
"status": 404,
"error": "Not Found",
"message": "account not found for BL 123456789",
"path": "/o/op/1/order/accounts/A78094.697/"
}