Created
May 3, 2024 08:45
-
-
Save s4kibs4mi/8412f9dc0cb04e7eb859d2a53f5c83bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // POST {{baseUrl}}/OnlineOrder/Create | |
| { | |
| "orderId": 11055, | |
| "orderReference": "11055", | |
| "orderAmount": 2000, | |
| "tip": 0, | |
| "callbackUrl": "https://webhook.site/c6ea287c-0f30-4da5-8dad-eb58eb5658a0", | |
| "orderStatus": { | |
| "statusCode": 2, | |
| "description": "Pending", | |
| "timestamp": "2023-03-22 14:53:15.350" | |
| }, | |
| "items": [ | |
| { | |
| "id": 1, | |
| "plu": "1004", | |
| "vendorItemCode": "", | |
| "price": 15000, | |
| "item": "classic Nachos", | |
| "quantity": 2, | |
| "note": "", | |
| "issueStatus": 0, | |
| "issueError": "", | |
| "issueDescription": "", | |
| "options": [ | |
| { | |
| "id": 2868, | |
| "plu": "8697", | |
| "vendorItemCode": "", | |
| "item": "CHIPS ONLY", | |
| "price": 0, | |
| "isExtra": false | |
| } | |
| ], | |
| "isExtra": false | |
| }, | |
| { | |
| "id": 2, | |
| "plu": "9174", | |
| "vendorItemCode": "", | |
| "price": 0, | |
| "item": "DEL P\/mint Crisp Tart", | |
| "quantity": 1, | |
| "note": "", | |
| "issueStatus": 0, | |
| "issueError": "", | |
| "issueDescription": "", | |
| "options": [ | |
| { | |
| "id": 4234, | |
| "plu": "9445", | |
| "vendorItemCode": "", | |
| "item": "ICE CREAM", | |
| "price": 0, | |
| "isExtra": false | |
| } | |
| ], | |
| "isExtra": false | |
| } | |
| ], | |
| "client": { | |
| "name": "Sanet J.", | |
| "email": "", | |
| "contactNumber": "+27600702929 [611 57 957]", | |
| "address": "" | |
| }, | |
| "tableInfo": { | |
| "proformaRef": "", | |
| "tableNumber": "2", | |
| "waiterNumber": "2", | |
| "transactionId": "11058", | |
| "tableCovers": 0, | |
| "stationId": "", | |
| "ignoreNoStock": false, | |
| "ignorePluTimes": false, | |
| "InvoiceRef": "" | |
| } | |
| } | |
| Response | |
| { | |
| "Status": true, | |
| "Message": "Success", | |
| "Code": 0, | |
| "Reference": "11062" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment