BETA - Get Aborted Orders Beta
Retrieves a list of aborted orders for a specified business day.
An aborted order is defined as an instance where items were added to an order, but all items were subsequently removed without being committed.
Path parameters
-
The unique identifier for the business location.
Query parameters
-
The business date of the aborted orders.
GET /f/v2/beta/business-location/{businessLocationId}/aborted-orders
curl \
-X GET https://api.trial.lsk.lightspeed.app/f/v2/beta/business-location/{businessLocationId}/aborted-orders?date=2023-01-01 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"staffName": "Employee 1",
"timeOfAbortedOrder": "2023-03-14T19:58:48.224Z",
"totalAmountAborted": "33.32",
"abortedLineItems": [
{
"itemName": "Soda",
"itemSku": "9",
"itemQuantity": "4.000",
"itemAmount": "33.32",
"itemPrice": "8.33"
}
]
}
]
Response examples (400)
{
"error": "string"
}
Response examples (500)
{
"timestamp": "2024-05-04T09:42:00+00:00",
"path": "string",
"status": 42,
"error": "string",
"requestId": "string"
}