List transactions
Returns sales, paginated with 0-based page and size (default 20). Filter by one of dayCycleId, registerId, a businessDateFrom/businessDateTo range or a single businessDate; if several are sent, they are applied in that order of priority and the rest are ignored. Filtered results come newest first; with no filter the order is not guaranteed. Entries carry header totals only; use Get a transaction for lines and payments.
BearerAuthAuthorizationBearer <JWT>businessDate?stringSingle trading date to list, YYYY-MM-DD. Ignored when a day cycle, register or full date range is given.
businessDateFrom?stringStart of a trading date range, YYYY-MM-DD. Used only together with businessDateTo.
businessDateTo?stringEnd of a trading date range, YYYY-MM-DD (inclusive). Used only together with businessDateFrom.
dayCycleId?stringOnly sales of this day cycle (a salesperson's working day). Takes priority over all other filters.
uuidregisterId?integerOnly sales made on this register, from List registers. Ignored when dayCycleId is given.
int64page?integerPage number, starting at 0. See Paging.
int320size?integerNumber of records per page.
int3220OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request was handled, ERROR otherwise.
message*stringShort human-readable message describing the outcome, e.g. which record was fetched or saved.
data?array<>|The sales on this page, newest first.
curl -X GET 'https://beta.iotoms.com/api/v1/transaction/transactions'{ "status": "string", "message": "string", "data": [ { "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc", "cartId": "string", "clientTransactionId": "string", "channel": "LINE_DISTRIBUTION", "contextType": "STORE_VISIT", "businessDate": "2019-08-24", "dayCycleId": "bbed7a30-80be-4ccf-810d-a33c370a67d1", "storeId": 0, "storeName": "string", "registerId": 0, "customerNumber": "string", "invoiceNumber": "string", "subtotal": 0, "taxTotal": 0, "discountTotal": 0, "grandTotal": 0, "paymentStatus": "Paid", "cashCollected": 0, "creditIssued": 0, "paymentMode": "string", "syncStatus": "string", "soldBy": "string", "createdAt": "2019-08-24T14:15:22Z", "lines": [ { "itemId": "string", "description": "string", "quantitySold": 0, "unitPrice": 0, "discountAmount": 0, "taxAmount": 0, "lineSubtotal": 0, "lineTotal": 0, "quantityReturned": 0, "quantityReturnable": 0 } ], "payments": [ { "mode": "CASH", "amount": 0 } ], "returnSummary": { "totalReturnedAmount": 0, "returnCount": 0, "status": "string" } } ]}