Skip to main content

Online Ordering

Placed Orders.

URL:https://api.lingaros.com/v1/online-order/lingaPOS/store/{store_id}/placedOrders

curl -X GET -H "apikey: generated-api-key" \ 
"https://api.lingaros.com/v1/online-order/lingaPOS/store/{store_id}/placedOrders"

Save Web order.

URL:https://api.lingaros.com/v1/online-order/store/{store_id}/saveWebOrder

Order [Order]

MethodTypeDescription
idStringUnique order ID.
uniqueOrderIDStringCheck ID.
orderNumberStringCheck number.
orderDetails[]OrderDetailOrder summary.
subTotalIntSub total amount.
subTotalStrStringSub total amount in string.
totalAmountIntTotal amount.
totalAmountStrStringTotal amount in string.
taxes[]OrderTaxOrder taxes.
taxAmountIntTax amount.
taxAmountStrIntTax amount in string.
inclusiveTaxes[]OrderTaxOrder inclusive taxes.
inclusiveTaxAmountIntInclusive tax amount.
inclusiveTaxAmountStrStringInclusive tax amount in string.
totalTaxIntTotal tax amount (tax + inclusive tax amount).
totalTaxStrStringTotal tax amount in string.
discounts(Optional)[]discountsDiscount details.
orderStatusIntOrder status.
orderedDateStrStringOrder date in string.
deliveryDetail[]DeliveryDetailDelivery details.
paymentPaidBoolPayment flag.
paymentTypeIntPayment type (1-Online / 2-COD).
deliveryCharge(Optional)IntDelivery charge.
deliveryChargeStr(Optional)StringDelivery charge in string.
deliveryTimeStringExpected delivery time.
comments(Optional)StringDriver instructions.
discountAppliedBoolDenotes discount applied or not.
discountIdStringDiscount ID.
appliedDiscountCodeStringDiscount code.
mailStatus(Optional)StringDriver instructions.
userType(Optional)StringUser type(ex: guest,loggedinCustomer).
driverTipAmount(Optional)IntDriver tip amount.
driverTipAmountStr(Optional)StringDriver tip amount in string.
ccDetails(Optional)CcDetailsCCDetails.
merchantType(Optional)IntType of merchant.
isRefunded(Optional)booleanDenotes refunded or not.
refund(Optional)[]refundrefund.

Order Detail [OrderDetail]

MethodTypeDescription
catExternalIDStringCategory ID.
subCatexternalIDStringSubCategory ID.
isFreeItemBoolDenotes is free item or not.
miExternalIDStringMenu item BO ID.
miNameStringMenu item name.
miimageIDStringMenu item image ID.
ssExternalIDStringServing size BO ID.
ssNameStringServing size name.
quantityIntItem quantity.
customizeFlag(Optional)BoolCustomize flag.
noOfSlice(Optional)IntNumber of slices.
itemPriceIntItem price.
itemPriceStrStringItem price in string.
priceAmountIntItem amount (price * qty).
priceAmountStrStringItem amount in string.
amountIntItem amount + Modifier amount.
amountStrStringAmount in string.
includedModifiers(Optional)[]OrderModifierIncluded modifiers.
includedModifierPrice(Optional)IntIncluded modifier amount.
includedModifierPriceStr(Optional)StringIncluded modifiers amount in string.
IncludedModifierTax(Optional)IntIncluded modifier tax.
IncludedModifierIncTax(Optional)IntIncluded modifier inclusive tax.
optionalModifiers(Optional)[]OrderModifierOptional modifiers.
optionalModifierPrice(Optional)IntOptional modifier amount.
optionalModifierPriceStr(Optional)StringOptional modifier amount in string.
optionalModifierTaxIntOptional modifier tax.
optionalModifierIncTaxIntOptional modifier inclusive tax.
mandatoryModifiers(Optional)[]OrderModifierMandatory modifiers.
mandatoryModifierPrice(Optional)IntMandatory modifier amount.
mandatoryModifierPriceStr(Optional)StringMandatory modifier amount in string.
mandatoryModifierTax(Optional)IntMandatory modifier tax.
mandatoryModifierIncTax(Optional)IntMandatory modifier inclusive tax.
totalModifierPrice(Optional)IntTotal modifiers amount.
totalModifierPriceStr(Optional)StringTotal modifier amount in string.
taxes(Optional)[]OrderTaxOrder taxes.
itemTaxAmount(Optional)IntMenuItem tax.
itemTaxAmountStr(Optional)StringMenuItem tax in string.
itemInclusiveTaxAmount(Optional)IntMenuItem inclusive tax.
itemInclusiveTaxAmountStr(Optional)StringMenuItem inclusive tax in string.
modifierTaxAmount(Optional)IntTotalModifier tax amount.
modifierTaxAmountStr(Optional)StringTotalModifier tax amount in string.
modifierInclusiveTaxAmount(Optional)IntTotalModifier inclusive tax amount.
modifierInclusiveTaxAmountStr(Optional)StringTotalModifier inclusive tax amount in string.
taxAmount(Optional)IntOrder tax amount (item tax + total modifier tax).
taxAmountStr(Optional)StringOrder tax amount in string (item tax + total modifier tax).
inclusiveTaxes(Optional)[]OrderTaxOrder inclusive taxes.
inclusiveTaxAmount(Optional)IntOrder tax amount (item inclusive tax + total modifier tax).
inclusiveTaxAmountStr(Optional)StringOrder tax amount in string(item inclusive tax + total modifier tax).
exclusiveTaxAmount (Optional)IntExclusive tax amount.
exclusiveTaxAmountStr(Optional)StringExclusive tax amount.
itemTotalTax(Optional)IntitemTax(item tax + item inclusive tax).
itemTotalTaxStr(Optional)StringitemTax(item tax + item inclusive tax) in string.
modifierTotalTax(Optional)IntTotalModifier Tax(TotalModifier tax + TotalModifier inclusive tax).
modifierTotalTaxStr(Optional)StringTotalModifier Tax(TotalModifier tax + TotalModifier inclusive tax) in string.
totalTax(Optional)IntTotal tax amount ( tax + inclusive).
totalTaxStr(Optional)StringTotal tax amount ( tax + inclusive).
comments(Optional)StringPreparation comments.
discounts(Optional)discounts[]Discounts.
discountOnMenuItemIntDiscount on menu item.
discountOnMenuItemStrStringDiscount on menu item in string.
discountOnItemIncTaxIntMenu item inclusive tax discount.
discountOnItemIncTaxStrStringMenu item inclusive tax discount in string.
discountOnItemTaxIntMenu item tax discount.
discountOnItemTaxStrStringMenu item tax discount in string.
totalDiscountTaxAmountIntTotal discount tax.
totalDiscountTaxAmountStrStringTotal discount tax in String.
totalDiscountInTaxAmountIntTotal discount tax.
totalDiscountInTaxAmountStrStringTotal discount tax in string.
totalDiscountIntTotal discount.
totalDiscountStrStringTotal discount in string.
totalDiscountOnTaxesIntDescribe Total discount on taxes.
totalDiscountOnTaxesStrStringDescribe Total discount on taxes in String.
appliedDiscountQtyIntCount of discount applied quantity.
appliedNonDiscountQtyIntCount of discount non applied quantity.
discountPercentageFloatDiscount on percentage.
discountOnModifierIntDiscount on modifiers.
discountOnModifierStrStringDiscount on percentage in string.
discountOnModifierIncTaxIntDiscount on modifier inclusive taxes.
discountOnModifierIncTaxStrStringDiscount on modifier inclusive taxes in string.
discountOnModifierTaxIntDiscount on modifier tax.
discountOnModifierTaxStrStringDiscount on modifier tax in string.
isAmountDiffers(Optional)BoolIt denotes the amount differs in total amount and previous order total amount(in repeat order).

Order Modifier [OrderModifier] (if modifier available)

MethodTypeDescription
mgExternalIDStringModifier group ID.
mgNameStringModifier group name.
mExternalIDStringModifier ID.
mNameStringModifier name.
pExternalIDStringPrefix ID.
pNameStringPrefix name.
mExternalIDStringModifier ID.
sliceNameStringSlice name.
quantityIntModifier quantity.
mPriceIntModifier price + prefix price.
mPriceStrStringModifier price + prefix price string.
prefixPriceIntPrefix price.
prefixPriceStrStringPrefix price.
modifierPriceIntModifier price.
modifierPriceStrStringModifier price in string.
amountIntModifier price + prefix price.
amountStrStringModifier price + prefix price in string.
totalAmountIntamount + Total tax.
totalAmountStrStringamount + Total tax string.
taxes[]OrderTaxModifier taxes.
taxAmountIntModifier tax amount.
taxAmountStrStringModifier tax amount in string.
inclusiveTaxes[]OrderTaxModifier inclusive taxes.
inclusiveTaxAmountIntModifier inclusive tax amount.
inclusiveTaxAmountStrStrModifier inclusive tax amount in string.
totalTaxIntTotal tax amount.
totalTaxStrStringTotal tax amount in string.

Order Tax [OrderTax]

MethodTypeDescription
txExternalIDStringExternal tax ID.
txNameStringTax name.
percentageIntTax percentage.
percentageStrStringTax percentage in string.
amountIntTax amount.
amountStrStringTax amount in string.

Delivery Detail [DeliveryDetail]

MethodTypeDescription
deliveryTypeStringMenu item ID.
dateStrStringDelivery date in string.
contactPersonStringCustomer name.
phoneNumberStringCustomer phone number.
emailStringCustomer email.
address(Optional)DeliveryAddressCustomer address.
isFutureOrderBoolDenotes is future order or not.

Delivery Address [DeliveryAddress]

MethodTypeDescription
line1StringCustomer address line 1.
line2StringCustomer address line 2.
cityStringCustomer city.
stateStringCustomer state.
countryStringCustomer country.
zipCodeStringCustomer zip code.
latitudeFloatLatitude.
longitudeFloatLongitude.

Zone Details [Zone Details]

MethodTypeDescription
externalIDStringZone ID.
deliveryTimeStringDelivery time.
nameStringZone name.

CCDetails [CcDetails] (if online payment)

MethodTypeDescription
transactionStatusIntTransaction status.
transactionIDStringTransaction ID.
transactionTagStringTransaction tag.
amountStringTransaction amount.
amountStrStringTransaction amount in string.
currencyStringTransaction currency.
cardHolderNameStringCard holder name.
expDateStringCard exp date.
cardTypeStringCard type.
cardNumberStringCard number.

Discount [Discount] (if discount is applied)

MethodTypeDescription
disExternalIDStringDiscount ID.
nameStringName of the discount.
discountValueIntDiscount percentage in integer.
discountAmountIntDiscount amount.
discountAmountStrStringDiscount amount in string.
discountTypeStringType of discount.
isAfterTaxBoolDenote discount is apply after tax.
discountTaxIntTax of the discount.
discountTaxStrIntTax of the discount in string.
includeAdditionalModifierBoolDefines if the discount includes additional modifiers.
menuDiscountAmountIntDiscount amount of menu.
menuDiscountInclusiveTaxIntInclusive tax of menu discount amount.
modifiersDiscountAmountIntDiscount amount of modifiers
menuDiscountTaxIntDiscount tax on menu item.
modifiersDiscountInclusiveTaxIntInclusive tax of modifier discount.
modifiersDiscountTaxIntDiscount tax of modifiers.
totalInclusiveTaxIntTotal inclusive tax.
modifierTotalInclusiveTaxIntTotal inclusive tax of modifiers.
adjustAmountStringDefines amount adjust after or before tax.
quantityIntNumber of quantity.
curl -X POST \ 
-H "apikey: generated-api-key" \
-H "Content-Type: application/json" \
-d '{
"_id" : ObjectId("5d4142a6be8be124dfe0ed85"),
"uniqueOrderID" : "4ea5bf12-8ed9-4e9e-b83c-3d462ca10fa5",
"orderNumber" : "3107190724-8322",
"orderDetails" : [
{
"_id" : ObjectId("5d41422e1bd864000167d2ba"),
"menuItem" : ObjectId("5d36a740df0bca02fae45978"),
"category" : ObjectId("5c625f9f95fbdf3d74697cb6"),
"catExternalID" : "5c1cd92a4971200001dd08c1",
"isFreeItem" : false,
"miExternalID" : "5d14d51169ce91000192fa3c",
"miName" : "sample menu",
"ssExternalID" : "5c1cd92a4971200001dd08ab",
"ssName" : "EACH",
"quantity" : 1,
"customizeFlag" : false,
"noOfSlice" : 1,
"itemPrice" : 1000,
"itemPriceStr" : "10.00",
"priceAmount" : 1000,
"priceAmountStr" : "10.00",
"amount" : 1000,
"amountStr" : "10.00",
"totalAmount" : 1000,
"totalAmountStr" : "10.00",
"includedModifiers" : [
{
"mgExternalID" : "5c1cd92a4971200001dd08db",
"mgName" : "CheeCarot",
"mExternalID" : "5c1cd92a4971200001dd08d7",
"mName" : "Carrot",
"pExternalID" : "",
"pName" : "",
"sliceName" : "",
"quantity" : 1,
"modifierPrice" : 0,
"modifierPriceStr" : "",
"mPrice" : 0,
"discountModifierprice" : 0,
"DiscountModifierpriceStr" : "",
"mPriceStr" : "0.00",
"prefixPrice" : 0,
"prefixPriceStr" : "",
"amount" : 0,
"amountStr" : "",
"totalAmount" : 0,
"totalAmountStr" : "",
"taxes" : [],
"inclusiveTaxes" : [],
"taxAmount" : 0,
"taxAmountStr" : "",
"discountTaxAmount" : 0,
"discountTaxAmountStr" : "",
"inclusiveTaxAmount" : 0,
"inclusiveTaxAmountStr" : "",
"discountInclusiveTaxAmount" : 0,
"discountInclusiveTaxAmountStr" : "",
"totalTax" : 0,
"totalTaxStr" : "0.00"
}
],
"includedModifierPrice" : 0,
"includedModifierPriceStr" : "",
"includedmodifiertax" : 0,
"includedmodiferinctax" : 0,
"optionalModifiers" : [],
"optionalModifierPrice" : 0,
"optionalModifierPriceStr" : "",
"optionalmodifiertax" : 0,
"optionalmodifierinctax" : 0,
"mandatoryModifiers" : [],
"mandatoryModifierPrice" : 0,
"mandatoryModifierPriceStr" : "",
"mandatorymodifiertax" : 0,
"mandatorymodifierinctax" : 0,
"totalModifierPrice" : 0,
"totalModifierPriceStr" : "0.00",
"taxes" : [
{
"tax" : ObjectId("5c625fa095fbdf3d74697d95"),
"txExternalID" : "5c1cd92a4971200001dd08ba",
"txName" : "Default1",
"isTaxPerServiceType" : false,
"percentage" : 10000,
"percentageStr" : "10.000",
"taxOnTax" : [
"5cfa6347e3d62800013eb7e4",
"5cfa655ee3d62800013eb958",
"5cfa693af123dd00015fda07"
],
"amount" : 100,
"amountStr" : "1.00"
}
],
"itemTaxAmount" : 100,
"itemTaxAmountStr" : "1.00",
"inclusiveTaxes" : [],
"itemInclusiveTaxAmount" : 0,
"itemInclusiveTaxAmountStr" : "0.00",
"modifierTaxAmount" : 0,
"modifierTaxAmountStr" : "0.00",
"modifierInclusiveTaxAmount" : 0,
"modifierInclusiveTaxAmountStr" : "0.00",
"taxAmount" : 100,
"taxAmountStr" : "1.00",
"inclusiveTaxAmount" : 0,
"inclusiveTaxAmountStr" : "0.00",
"exclusiveTaxAmount" : 0,
"exclusiveTaxAmountStr" : "",
"totalTax" : 100,
"totalTaxStr" : "1.00",
"itemTotalTax" : 100,
"itemTotalTaxStr" : "1.00",
"modifierTotaltax" : 0,
"modifierTotaltaxStr" : "0.00",
"comments" : "",
"discounts" : [
{
"_id" : ObjectId("5d0cb4ab0a64d6143fda797d"),
"disExternalID" : "5d04d00146195b000132e839",
"name" : "Item %AT",
"discountValue" : 1000,
"discountAmount" : 100,
"discountAmountStr" : "1.00",
"discountType" : "Item Based",
"isAfterTax" : false,
"discountTax" : 0,
"discountTaxStr" : "0.00",
"includeAdditionalModifier" : false,
"menuDiscountAmount" : 100,
"menuDiscountInclusiveTax" : 0,
"modifiersDiscountAmount" : 0,
"menuDiscountTax" : 0,
"modifiersDiscountInclusiveTax" : 0,
"modifiersDiscountTax" : 0,
"totalInclusiveTax" : 0,
"modifierTotalInclusiveTax" : 0,
"adjustAmount" : "After Tax",
"quantity" : 1
}
],
"discountOnMenuItem" : 100,
"discountOnMenuItemStr" : "1.00",
"discountOnItemIncTax" : 0,
"discountOnItemIncTaxStr" : "",
"discountOnItemTax" : 0,
"discountOnItemTaxStr" : "",
"totalDiscountTaxAmount" : 0,
"totalDiscountTaxAmountStr" : "",
"totalDiscountInTaxAmount" : 0,
"totalDiscountInTaxAmountStr" : "",
"totalDiscount" : 100,
"totalDiscountStr" : "1.00",
"totalDiscountOnTaxes" : 0,
"totalDiscountOnTaxesStr" : "",
"appliedDiscountQty" : 1,
"appliedNonDiscountQty" : 0,
"discountPercentage" : 10.0,
"discountOnModifier" : 0,
"discountOnModifierStr" : "0.00",
"discountOnModifierIncTax" : 0,
"discountOnModifierIncTaxStr" : "",
"discountOnModifierTax" : 0,
"discountOnModifierTaxStr" : "",
"discountAmount" : 100,
"discountAmountStr" : "1.00",
"isAmountDiffers" : false
},
{
"_id" : ObjectId("5d4142361bd864000167d2bb"),
"menuItem" : ObjectId("5c625fa295fbdf3d74697e15"),
"category" : ObjectId("5c625f9f95fbdf3d74697cfa"),
"catExternalID" : "5c1cd92a4971200001dd08c4",
"isFreeItem" : false,
"miExternalID" : "5c1cd92b4971200001dd08e1",
"miName" : "Burger",
"ssExternalID" : "5c1cd92a4971200001dd08ae",
"ssName" : "LARGE",
"quantity" : 1,
"customizeFlag" : true,
"noOfSlice" : 2,
"itemPrice" : 1500,
"itemPriceStr" : "15.00",
"priceAmount" : 1500,
"priceAmountStr" : "15.00",
"amount" : 1500,
"amountStr" : "15.00",
"totalAmount" : 1350,
"totalAmountStr" : "13.50",
"includedModifiers" : [
{
"mgExternalID" : "5c1cd92a4971200001dd08db",
"mgName" : "CheeCarot",
"mExternalID" : "5c1cd92a4971200001dd08d7",
"mName" : "Carrot",
"pExternalID" : "",
"pName" : "",
"sliceName" : "",
"quantity" : 1,
"modifierPrice" : 0,
"modifierPriceStr" : "",
"mPrice" : 0,
"discountModifierprice" : 0,
"DiscountModifierpriceStr" : "",
"mPriceStr" : "0.00",
"prefixPrice" : 0,
"prefixPriceStr" : "",
"amount" : 0,
"amountStr" : "",
"totalAmount" : 0,
"totalAmountStr" : "",
"taxes" : [],
"inclusiveTaxes" : [],
"taxAmount" : 0,
"taxAmountStr" : "",
"discountTaxAmount" : 0,
"discountTaxAmountStr" : "",
"inclusiveTaxAmount" : 0,
"inclusiveTaxAmountStr" : "",
"discountInclusiveTaxAmount" : 0,
"discountInclusiveTaxAmountStr" : "",
"totalTax" : 0,
"totalTaxStr" : "0.00"
},
{
"mgExternalID" : "5c1cd92a4971200001dd08db",
"mgName" : "CheeCarot",
"mExternalID" : "5c1cd92a4971200001dd08d0",
"mName" : "No Sauted Onion $1.50",
"pExternalID" : "",
"pName" : "",
"sliceName" : "",
"quantity" : 1,
"modifierPrice" : 0,
"modifierPriceStr" : "",
"mPrice" : 0,
"discountModifierprice" : 0,
"DiscountModifierpriceStr" : "",
"mPriceStr" : "0.00",
"prefixPrice" : 0,
"prefixPriceStr" : "",
"amount" : 0,
"amountStr" : "",
"totalAmount" : 0,
"totalAmountStr" : "",
"taxes" : [],
"inclusiveTaxes" : [],
"taxAmount" : 0,
"taxAmountStr" : "",
"discountTaxAmount" : 0,
"discountTaxAmountStr" : "",
"inclusiveTaxAmount" : 0,
"inclusiveTaxAmountStr" : "",
"discountInclusiveTaxAmount" : 0,
"discountInclusiveTaxAmountStr" : "",
"totalTax" : 0,
"totalTaxStr" : "0.00"
}
],
"includedModifierPrice" : 0,
"includedModifierPriceStr" : "",
"includedmodifiertax" : 0,
"includedmodiferinctax" : 0,
"optionalModifiers" : [],
"optionalModifierPrice" : 0,
"optionalModifierPriceStr" : "",
"optionalmodifiertax" : 0,
"optionalmodifierinctax" : 0,
"mandatoryModifiers" : [],
"mandatoryModifierPrice" : 0,
"mandatoryModifierPriceStr" : "",
"mandatorymodifiertax" : 0,
"mandatorymodifierinctax" : 0,
"totalModifierPrice" : 0,
"totalModifierPriceStr" : "0.00",
"taxes" : [
{
"tax" : ObjectId("5cff78209cebe86f4d2f55af"),
"txExternalID" : "5cfe31956921ef00013a328a",
"txName" : "Cat Tax",
"isTaxPerServiceType" : false,
"percentage" : 0,
"percentageStr" : "0.000",
"taxOnTax" : [],
"amount" : 0,
"amountStr" : "0.00"
}
],
"itemTaxAmount" : 0,
"itemTaxAmountStr" : "0.00",
"inclusiveTaxes" : [],
"itemInclusiveTaxAmount" : 0,
"itemInclusiveTaxAmountStr" : "0.00",
"modifierTaxAmount" : 0,
"modifierTaxAmountStr" : "0.00",
"modifierInclusiveTaxAmount" : 0,
"modifierInclusiveTaxAmountStr" : "0.00",
"taxAmount" : 0,
"taxAmountStr" : "0.00",
"inclusiveTaxAmount" : 0,
"inclusiveTaxAmountStr" : "0.00",
"exclusiveTaxAmount" : 0,
"exclusiveTaxAmountStr" : "",
"totalTax" : 0,
"totalTaxStr" : "0.00",
"itemTotalTax" : 0,
"itemTotalTaxStr" : "0.00",
"modifierTotaltax" : 0,
"modifierTotaltaxStr" : "0.00",
"comments" : "",
"discounts" : [
{
"_id" : ObjectId("5d0cb4ab0a64d6143fda797d"),
"disExternalID" : "5d04d00146195b000132e839",
"name" : "Item %AT",
"discountValue" : 1000,
"discountAmount" : 150,
"discountAmountStr" : "1.50",
"discountType" : "Item Based",
"isAfterTax" : false,
"discountTax" : 0,
"discountTaxStr" : "0.00",
"includeAdditionalModifier" : false,
"menuDiscountAmount" : 150,
"menuDiscountInclusiveTax" : 0,
"modifiersDiscountAmount" : 0,
"menuDiscountTax" : 0,
"modifiersDiscountInclusiveTax" : 0,
"modifiersDiscountTax" : 0,
"totalInclusiveTax" : 0,
"modifierTotalInclusiveTax" : 0,
"adjustAmount" : "After Tax",
"quantity" : 1
}
],
"discountOnMenuItem" : 150,
"discountOnMenuItemStr" : "1.50",
"discountOnItemIncTax" : 0,
"discountOnItemIncTaxStr" : "",
"discountOnItemTax" : 0,
"discountOnItemTaxStr" : "",
"totalDiscountTaxAmount" : 0,
"totalDiscountTaxAmountStr" : "",
"totalDiscountInTaxAmount" : 0,
"totalDiscountInTaxAmountStr" : "",
"totalDiscount" : 150,
"totalDiscountStr" : "1.50",
"totalDiscountOnTaxes" : 0,
"totalDiscountOnTaxesStr" : "",
"appliedDiscountQty" : 1,
"appliedNonDiscountQty" : 0,
"discountPercentage" : 10.0,
"discountOnModifier" : 0,
"discountOnModifierStr" : "0.00",
"discountOnModifierIncTax" : 0,
"discountOnModifierIncTaxStr" : "",
"discountOnModifierTax" : 0,
"discountOnModifierTaxStr" : "",
"discountAmount" : 150,
"discountAmountStr" : "1.50",
"isAmountDiffers" : false
}
],
"subTotal" : 2500,
"subTotalStr" : "25.00",
"totalAmount" : 2350,
"totalAmountStr" : "23.50",
"taxes" : [
{
"tax" : ObjectId("5c625fa095fbdf3d74697d95"),
"txExternalID" : "5c1cd92a4971200001dd08ba",
"txName" : "Default1",
"isTaxPerServiceType" : false,
"percentage" : 10000,
"percentageStr" : "10.000",
"taxOnTax" : [
"5cfa6347e3d62800013eb7e4",
"5cfa655ee3d62800013eb958",
"5cfa693af123dd00015fda07"
],
"amount" : 100,
"amountStr" : "1.00"
},
{
"tax" : ObjectId("5cff78209cebe86f4d2f55af"),
"txExternalID" : "5cfe31956921ef00013a328a",
"txName" : "Cat Tax",
"isTaxPerServiceType" : false,
"percentage" : 0,
"percentageStr" : "0.000",
"taxOnTax" : [],
"amount" : 0,
"amountStr" : "0.00"
}
],
"taxAmount" : 100,
"taxAmountStr" : "1.00",
"inclusiveTaxes" : [],
"inclusiveTaxAmount" : 0,
"inclusiveTaxAmountStr" : "0.00",
"totalTax" : 100,
"totalTaxStr" : "1.00",
"discounts" : [
{
"_id" : ObjectId("5d0cb4ab0a64d6143fda797d"),
"disExternalID" : "5d04d00146195b000132e839",
"name" : "Item %AT",
"discountValue" : 1000,
"discountAmount" : 250,
"discountAmountStr" : "1.00",
"discountType" : "Item Based",
"isAfterTax" : false,
"discountTax" : 0,
"discountTaxStr" : "0.00",
"includeAdditionalModifier" : false,
"menuDiscountAmount" : 100,
"menuDiscountInclusiveTax" : 0,
"modifiersDiscountAmount" : 0,
"menuDiscountTax" : 0,
"modifiersDiscountInclusiveTax" : 0,
"modifiersDiscountTax" : 0,
"totalInclusiveTax" : 0,
"modifierTotalInclusiveTax" : 0,
"adjustAmount" : "After Tax",
"quantity" : 1
}
],
"orderStatus" : 2,
"orderedDate" : ISODate("2019-07-31T07:26:30.449Z"),
"orderedDateStr" : "31-Jul-2019 07:26:30",
"deliveryDetail" : {
"deliveryType" : "PICKUP",
"date" : ISODate("2019-07-31T07:26:30.449Z"),
"dateStr" : "31-Jul-2019 07:26:30",
"contactPerson" : "xyz",
"phoneNumber" : "00000000000",
"emailID" : "xyz@mail.com",
"address" : {
"line1" : "",
"line2" : "",
"city" : "",
"state" : "",
"country" : "",
"zipCode" : "",
"googleAddress" : "",
"googlePlaceID" : "",
"latitude" : 0.0,
"longitude" : 0.0
},
"zoneDetail" : {
"externalID" : "",
"deliveryTime" : "",
"name" : ""
},
"isFutureOrder" : false,
"ccDetails" : {
"transactionID" : "",
"amount" : ""
}
},
"orderCancelledOn" : Date(-62135596800000),
"orderCancelledOnStr" : "",
"orderConformedOn" : Date(-62135596800000),
"orderConformedOnStr" : "",
"orderDispatchedOn" : Date(-62135596800000),
"orderDispatchedOnStr" : "",
"orderDeliveredOn" : Date(-62135596800000),
"orderDeliveredOnStr" : "",
"paymentPaid" : false,
"paymentType" : 2,
"customerID" : ObjectId("5d2704354ae0fc000148f5f7"),
"customerExternalID" : "5d270436675c400001b8a3d9",
"internalStore" : ObjectId("5c625f9f95fbdf3d74697c6f"),
"deliveryCharge" : 0,
"deliveryChargeStr" : "",
"deliveryTime" : "",
"comments" : "",
"discountApplied" : true,
"appliedDiscountCode" : "discount10",
"mailStatus" : false,
"userType" : 1,
"driverTipAmount" : 0,
"driverTipAmountStr" : "00",
"ccDetails" : {
"transactionID" : "",
"amount" : ""
},
"companyExtID" : "",
"merchantType" : 0,
"isRefunded" : false,
"refund" : {
"transactionAmount" : ""
},
"exclusiveTaxAmount" : 0,
"exclusiveTaxAmountStr" : "0.00",
"isMobileSale" : false,
"loyaltyTransactionID" : "",
"saleOrigin" : "WEB",
"discountOnMenuItem" : 250,
"discountOnMenuItemStr" : "2.50",
"discountOnItemIncTax" : 0,
"discountOnItemIncTaxStr" : "0.00",
"discountOnItemTax" : 0,
"discountOnItemTaxStr" : "0.00",
"totalDiscountTaxAmount" : 0,
"totalDiscountTaxAmountStr" : "",
"totalDiscountInTaxAmount" : 0,
"totalDiscountInTaxAmountStr" : "",
"totalDiscount" : 250,
"totalDiscountStr" : "2.50",
"totalDiscountOnTaxes" : 0,
"totalDiscountOnTaxesStr" : "0.00",
"appliedDiscountQty" : 2,
"appliedNonDiscountQty" : 0,
"discountPercentage" : 0.0,
"discountOnModifier" : 0,
"discountOnModifierStr" : "0.00",
"discountOnModifierIncTax" : 0,
"discountOnModifierIncTaxStr" : "0.00",
"discountOnModifierTax" : 0,
"discountOnModifierTaxStr" : "0.00"
}' \
https://api.lingaros.com/v1/online-order/store/5cc6c4e4078c180001096583/saveWebOrder\