Skip to content

Instantly share code, notes, and snippets.

@itzurabhi
Created May 12, 2017 05:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itzurabhi/352a5673b66b3cb4a52fe1fd1fae8c40 to your computer and use it in GitHub Desktop.
Save itzurabhi/352a5673b66b3cb4a52fe1fd1fae8c40 to your computer and use it in GitHub Desktop.
Order Post Structure
{
"waiter" : 1,
"items" : [
{
"id" : 1,
"portion" : 1,
"quantity" : 2,
"extras" : [
{
"id" : 14,
"portion" : 1,
"quantity" : 2
},
{
"id" : 15,
"portion" : 4,
"quantity" : 1
}
],
"options" : [
{
"id" : 14
},
{
"id" : 15
}
]
},
{
"id" : 2,
"portion" : 5,
"quantity" : 2,
"extras" : [
{
"id" : 14,
"portion" : 1,
"quantity" : 2
},
{
"id" : 15,
"portion" : 4,
"quantity" : 1
}
],
"options" : [
{
"id" : 14
},
{
"id" : 15
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment