Skip to content

Instantly share code, notes, and snippets.

@bfatemi
Last active August 2, 2021 22:13
Show Gist options
  • Save bfatemi/f680651ce695262ce5d7cfb402e043f2 to your computer and use it in GitHub Desktop.
Save bfatemi/f680651ce695262ce5d7cfb402e043f2 to your computer and use it in GitHub Desktop.
/reporting/transactions
[
{
"transactionId": 0,
"customerId": 0,
"employeeId": 0,
"transactionDate": "2021-08-02T21:01:20.947Z",
"voidDate": "2021-08-02T21:01:20.947Z",
"isVoid": true,
"subtotal": 0,
"totalDiscount": 0,
"totalBeforeTax": 0,
"tax": 0,
"total": 0,
"paid": 0,
"changeDue": 0,
"totalItems": 0,
"terminalName": "string",
"checkInDate": "2021-08-02T21:01:20.947Z",
"invoiceNumber": "string",
"transactionType": "string",
"loyaltyEarned": 0,
"loyaltySpent": 0,
"items": [
{
"transactionId": 0,
"productId": 0,
"totalPrice": 0,
"quantity": 0,
"unitPrice": 0,
"unitCost": 0,
"packageId": "string",
"sourcePackageId": "string",
"totalDiscount": 0,
"unitId": 0,
"unitWeight": 0,
"unitWeightUnit": "string",
"flowerEquivalent": 0,
"flowerEquivalentUnit": "string",
"discounts": [
{
"discountName": "string",
"discountReason": "string",
"amount": 0,
"transactionItemId": 0
}
],
"taxes": [
{
"rateName": "string",
"rate": 0,
"amount": 0,
"transactionItemId": 0
}
],
"returnDate": "2021-08-02T21:01:20.947Z",
"isReturned": true,
"returnedByTransactionId": 0,
"returnReason": "string",
"batchName": "string",
"transactionItemId": 0,
"vendor": "string",
"isCoupon": true
}
],
"discounts": [
{
"discountName": "string",
"discountReason": "string",
"amount": 0,
"transactionItemId": 0
}
],
"lastModifiedDateUTC": "2021-08-02T21:01:20.947Z",
"cashPaid": 0,
"debitPaid": 0,
"electronicPaid": 0,
"electronicPaymentMethod": "string",
"checkPaid": 0,
"creditPaid": 0,
"giftPaid": 0,
"revenueFeesAndDonations": 0,
"nonRevenueFeesAndDonations": 0,
"taxSummary": [
{
"rateName": "string",
"amount": 0
}
],
"returnOnTransactionId": 0,
"adjustmentForTransactionId": 0,
"orderType": "string",
"wasPreOrdered": true,
"orderSource": "string",
"invoiceName": "string",
"isReturn": true,
"authCode": "string",
"customerTypeId": 0,
"orderIds": [
0
],
"totalCredit": 0
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment