Last active
November 7, 2016 08:59
-
-
Save palasgaonkar-vishal/c66fb148351c50174e85eae14d28afcf to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"order_id": 1, | |
"created_at": "2016-11-04 12:33:00", | |
"restaurant_id": 1, | |
"visit_id": 1, | |
"user": { | |
"user_id": 1, | |
"user_name": "John Smith", | |
}, | |
"status": "pending | completed | cancelled", | |
"items": [ | |
{ | |
"item_id": 1, | |
"label": "Some fancy dish 1", | |
"quantity": 1, | |
"price_per_item": { | |
"amount": 10, | |
"currency": "$", | |
} | |
}, | |
{ | |
"item_id": 2, | |
"label": "Some fancy dish 2", | |
"quantity": 2, | |
"price_per_item": { | |
"amount": 15, | |
"currency": "$", | |
} | |
} | |
], | |
"paymentDetails": { | |
"totalAmount": { | |
"amount": 40, | |
"currency": "$" | |
}, | |
"transactionId": "123456789", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment