Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.21 KB

list-cash-drawer-shifts-response.md

File metadata and controls

44 lines (36 loc) · 1.21 KB

List Cash Drawer Shifts Response

Structure

ListCashDrawerShiftsResponse

Fields

Name Type Tags Description
items CashDrawerShiftSummary[] | undefined Optional A collection of CashDrawerShiftSummary objects for shifts that match
the query.
cursor string | undefined Optional Opaque cursor for fetching the next page of results. Cursor is not
present in the last page of results.
errors Error[] | undefined Optional Any errors that occurred during the request.

Example (as JSON)

{
  "items": [
    {
      "closed_at": "2019-11-22T00:44:49.000Z",
      "closed_cash_money": {
        "amount": 9970,
        "currency": "USD"
      },
      "description": "Misplaced some change",
      "ended_at": "2019-11-22T00:44:49.000Z",
      "expected_cash_money": {
        "amount": 10000,
        "currency": "USD"
      },
      "id": "DCC99978-09A6-4926-849F-300BE9C5793A",
      "opened_at": "2019-11-22T00:42:54.000Z",
      "opened_cash_money": {
        "amount": 10000,
        "currency": "USD"
      },
      "state": "CLOSED"
    }
  ]
}