Discount with no selections / payments?
AnsweredI'm currently working with your API to process checks - I've come across an unusual scenario for restaurant ID e8dbbc83-677b-4167-ad67-
{
"guid": "0ffb5f99-ef12-4a1a-9e92-41a65f2355a2",
"entityType": "Check",
"externalId": null,
"displayNumber": "101",
"payments": [],
"appliedDiscounts": [
{
"guid": "ace51d1a-3a7f-41ef-a7d6-07871d52a57e",
"entityType": "AppliedCustomDiscount",
"externalId": null,
"approver": {
"guid": "9ede43c6-ec35-4395-828a-168db36d3e6b",
"entityType": "RestaurantUser",
"externalId": null
},
"loyaltyDetails": null,
"discountPercent": 15.0,
"comboItems": [],
"discountAmount": 5.48,
"discount": {
"guid": "ee17d971-3a97-493b-a84b-ad31fa302ab6",
"entityType": "Discount"
},
"triggers": [],
"appliedPromoCode": null,
"processingState": null,
"name": "Discount % (Check)",
"nonTaxDiscountAmount": 5.48,
"discountType": "PERCENT"
}
],
"lastModifiedDevice": {
"id": "e2155432d5d2770d"
},
"voidDate": null,
"paidDate": null,
"appliedLoyaltyInfo": null,
"voided": false,
"paymentStatus": "OPEN",
"amount": 0.0,
"tabName": null,
"taxExempt": false,
"openedDate": "2022-02-04T00:16:01.029+0000",
"totalAmount": 0.0,
"selections": [],
"voidBusinessDate": null,
"createdDate": "2022-02-04T00:16:02.799+0000",
"deleted": true,
"createdDevice": {
"id": "e2155432d5d2770d"
},
"closedDate": null,
"deletedDate": "2022-02-04T01:46:55.695+0000",
"modifiedDate": "2022-02-04T01:46:55.697+0000",
"taxAmount": 0.0,
"appliedServiceCharges": [],
"customer": null
},
-
All the items on this check were moved to a different check. The deleted date updates when there are no longer any items on the check. This is a rather complicated order with a lot of items being moved around but once you see what I pasted below the check doesn't have any items on it anymore. For reporting purposes there might still be useful information in the check JSON but there are no items to pay for so there is no payment.
"deleted": true
0
Please sign in to leave a comment.
Comments
1 comment