Skip to content

Instantly share code, notes, and snippets.

@anuragsolanki
Created October 2, 2025 14:13
Show Gist options
  • Select an option

  • Save anuragsolanki/1bee50a78ca11329205debe16a09b0fb to your computer and use it in GitHub Desktop.

Select an option

Save anuragsolanki/1bee50a78ca11329205debe16a09b0fb to your computer and use it in GitHub Desktop.
{
request_data: {
: entityType=>"Order",
: diningOption=>{
: guid=>"04822bca-a349-4491-bed8-c573b29a4175",
: entityType=>"DiningOption"
},
: checks=>[
{
: entityType=>"Check",
: selections=>[
{
: entityType=>"MenuItemSelection",
: itemGroup=>{
: entityType=>"MenuGroup",
: guid=>"5f3fe2fe-2912-4a28-aa2e-70c7b0589c33"
},
: item=>{
: entityType=>"MenuItem",
: guid=>"7cd4f981-bc8e-462a-a2da-5a0ce1750dd9"
},
: quantity=>1,
: modifiers=>[
{
: entityType=>"MenuItemSelection",
: optionGroup=>{
: guid=>"06defc5e-7dbd-4507-85d9-ec389a8cba1a"
},
: item=>{
: entityType=>"MenuItem",
: guid=>"3756abe5-be5a-4b60-9871-b5328af9bdf2"
},
: quantity=>1,
: modifiers=>[
],
: externalPriceAmount=>0.0
}
],
: externalPriceAmount=>37.0
},
{
: externalPriceAmount=>-11.1,
: entityType=>"MenuItemSelection",
: price=>-11.1,
: itemGroup=>{
: entityType=>"MenuGroup",
: guid=>"6d112420-09dc-46e2-90f6-31e3d38b2066"
},
: item=>{
: entityType=>"MenuItem",
: guid=>"eeab90ce-65fa-4c77-ab10-ec292e62e8c0"
},
: quantity=>1
}
],
: customer=>{
: email=>"f8dff001-e99f-468d-8613-df46d1947c78@itsacheckmate.com",
: phone=>"(555) 555-1212",
: firstName=>"Direct",
: lastName=>"POS D."
},
: taxExempt=>true,
: payments=>[
{
: paidDate=>"2025-09-23T08:54:15.589+0000",
: type=>"OTHER",
: amount=>25.9,
: tipAmount=>0.0,
: amountTendered=>25.9,
: otherPayment=>{
: guid=>"372be00f-ff48-40dd-afa3-49bc4a529402"
}
}
],
: tabName=>"uber-3DE67-1149"
}
],
: marketplaceFacilitatorTaxInfo=>{
: taxes=>[
{
: name=>"Tax",
: taxAmount=>0.0,
: facilitatorCollectAndRemitTax=>true
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment