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]
Method | Type | Description |
---|---|---|
id | String | Unique order ID. |
uniqueOrderID | String | Check ID. |
orderNumber | String | Check number. |
orderDetails | []OrderDetail | Order summary. |
subTotal | Int | Sub total amount. |
subTotalStr | String | Sub total amount in string. |
totalAmount | Int | Total amount. |
totalAmountStr | String | Total amount in string. |
taxes | []OrderTax | Order taxes. |
taxAmount | Int | Tax amount. |
taxAmountStr | Int | Tax amount in string. |
inclusiveTaxes | []OrderTax | Order inclusive taxes. |
inclusiveTaxAmount | Int | Inclusive tax amount. |
inclusiveTaxAmountStr | String | Inclusive tax amount in string. |
totalTax | Int | Total tax amount (tax + inclusive tax amount). |
totalTaxStr | String | Total tax amount in string. |
discounts(Optional) | []discounts | Discount details. |
orderStatus | Int | Order status. |
orderedDateStr | String | Order date in string. |
deliveryDetail | []DeliveryDetail | Delivery details. |
paymentPaid | Bool | Payment flag. |
paymentType | Int | Payment type (1-Online / 2-COD). |
deliveryCharge(Optional) | Int | Delivery charge. |
deliveryChargeStr(Optional) | String | Delivery charge in string. |
deliveryTime | String | Expected delivery time. |
comments(Optional) | String | Driver instructions. |
discountApplied | Bool | Denotes discount applied or not. |
discountId | String | Discount ID. |
appliedDiscountCode | String | Discount code. |
mailStatus(Optional) | String | Driver instructions. |
userType(Optional) | String | User type(ex: guest,loggedinCustomer). |
driverTipAmount(Optional) | Int | Driver tip amount. |
driverTipAmountStr(Optional) | String | Driver tip amount in string. |
ccDetails(Optional) | CcDetails | CCDetails. |
merchantType(Optional) | Int | Type of merchant. |
isRefunded(Optional) | boolean | Denotes refunded or not. |
refund(Optional) | []refund | refund. |
Order Detail [OrderDetail]
Method | Type | Description |
---|---|---|
catExternalID | String | Category ID. |
subCatexternalID | String | SubCategory ID. |
isFreeItem | Bool | Denotes is free item or not. |
miExternalID | String | Menu item BO ID. |
miName | String | Menu item name. |
miimageID | String | Menu item image ID. |
ssExternalID | String | Serving size BO ID. |
ssName | String | Serving size name. |
quantity | Int | Item quantity. |
customizeFlag(Optional) | Bool | Customize flag. |
noOfSlice(Optional) | Int | Number of slices. |
itemPrice | Int | Item price. |
itemPriceStr | String | Item price in string. |
priceAmount | Int | Item amount (price * qty). |
priceAmountStr | String | Item amount in string. |
amount | Int | Item amount + Modifier amount. |
amountStr | String | Amount in string. |
includedModifiers(Optional) | []OrderModifier | Included modifiers. |
includedModifierPrice(Optional) | Int | Included modifier amount. |
includedModifierPriceStr(Optional) | String | Included modifiers amount in string. |
IncludedModifierTax(Optional) | Int | Included modifier tax. |
IncludedModifierIncTax(Optional) | Int | Included modifier inclusive tax. |
optionalModifiers(Optional) | []OrderModifier | Optional modifiers. |
optionalModifierPrice(Optional) | Int | Optional modifier amount. |
optionalModifierPriceStr(Optional) | String | Optional modifier amount in string. |
optionalModifierTax | Int | Optional modifier tax. |
optionalModifierIncTax | Int | Optional modifier inclusive tax. |
mandatoryModifiers(Optional) | []OrderModifier | Mandatory modifiers. |
mandatoryModifierPrice(Optional) | Int | Mandatory modifier amount. |
mandatoryModifierPriceStr(Optional) | String | Mandatory modifier amount in string. |
mandatoryModifierTax(Optional) | Int | Mandatory modifier tax. |
mandatoryModifierIncTax(Optional) | Int | Mandatory modifier inclusive tax. |
totalModifierPrice(Optional) | Int | Total modifiers amount. |
totalModifierPriceStr(Optional) | String | Total modifier amount in string. |
taxes(Optional) | []OrderTax | Order taxes. |
itemTaxAmount(Optional) | Int | MenuItem tax. |
itemTaxAmountStr(Optional) | String | MenuItem tax in string. |
itemInclusiveTaxAmount(Optional) | Int | MenuItem inclusive tax. |
itemInclusiveTaxAmountStr(Optional) | String | MenuItem inclusive tax in string. |
modifierTaxAmount(Optional) | Int | TotalModifier tax amount. |
modifierTaxAmountStr(Optional) | String | TotalModifier tax amount in string. |
modifierInclusiveTaxAmount(Optional) | Int | TotalModifier inclusive tax amount. |
modifierInclusiveTaxAmountStr(Optional) | String | TotalModifier inclusive tax amount in string. |
taxAmount(Optional) | Int | Order tax amount (item tax + total modifier tax). |
taxAmountStr(Optional) | String | Order tax amount in string (item tax + total modifier tax). |
inclusiveTaxes(Optional) | []OrderTax | Order inclusive taxes. |
inclusiveTaxAmount(Optional) | Int | Order tax amount (item inclusive tax + total modifier tax). |
inclusiveTaxAmountStr(Optional) | String | Order tax amount in string(item inclusive tax + total modifier tax). |
exclusiveTaxAmount (Optional) | Int | Exclusive tax amount. |
exclusiveTaxAmountStr(Optional) | String | Exclusive tax amount. |
itemTotalTax(Optional) | Int | itemTax(item tax + item inclusive tax). |
itemTotalTaxStr(Optional) | String | itemTax(item tax + item inclusive tax) in string. |
modifierTotalTax(Optional) | Int | TotalModifier Tax(TotalModifier tax + TotalModifier inclusive tax). |
modifierTotalTaxStr(Optional) | String | TotalModifier Tax(TotalModifier tax + TotalModifier inclusive tax) in string. |
totalTax(Optional) | Int | Total tax amount ( tax + inclusive). |
totalTaxStr(Optional) | String | Total tax amount ( tax + inclusive). |
comments(Optional) | String | Preparation comments. |
discounts(Optional) | discounts[] | Discounts. |
discountOnMenuItem | Int | Discount on menu item. |
discountOnMenuItemStr | String | Discount on menu item in string. |
discountOnItemIncTax | Int | Menu item inclusive tax discount. |
discountOnItemIncTaxStr | String | Menu item inclusive tax discount in string. |
discountOnItemTax | Int | Menu item tax discount. |
discountOnItemTaxStr | String | Menu item tax discount in string. |
totalDiscountTaxAmount | Int | Total discount tax. |
totalDiscountTaxAmountStr | String | Total discount tax in String. |
totalDiscountInTaxAmount | Int | Total discount tax. |
totalDiscountInTaxAmountStr | String | Total discount tax in string. |
totalDiscount | Int | Total discount. |
totalDiscountStr | String | Total discount in string. |
totalDiscountOnTaxes | Int | Describe Total discount on taxes. |
totalDiscountOnTaxesStr | String | Describe Total discount on taxes in String. |
appliedDiscountQty | Int | Count of discount applied quantity. |
appliedNonDiscountQty | Int | Count of discount non applied quantity. |
discountPercentage | Float | Discount on percentage. |
discountOnModifier | Int | Discount on modifiers. |
discountOnModifierStr | String | Discount on percentage in string. |
discountOnModifierIncTax | Int | Discount on modifier inclusive taxes. |
discountOnModifierIncTaxStr | String | Discount on modifier inclusive taxes in string. |
discountOnModifierTax | Int | Discount on modifier tax. |
discountOnModifierTaxStr | String | Discount on modifier tax in string. |
isAmountDiffers(Optional) | Bool | It denotes the amount differs in total amount and previous order total amount(in repeat order). |
Order Modifier [OrderModifier] (if modifier available)
Method | Type | Description |
---|---|---|
mgExternalID | String | Modifier group ID. |
mgName | String | Modifier group name. |
mExternalID | String | Modifier ID. |
mName | String | Modifier name. |
pExternalID | String | Prefix ID. |
pName | String | Prefix name. |
mExternalID | String | Modifier ID. |
sliceName | String | Slice name. |
quantity | Int | Modifier quantity. |
mPrice | Int | Modifier price + prefix price. |
mPriceStr | String | Modifier price + prefix price string. |
prefixPrice | Int | Prefix price. |
prefixPriceStr | String | Prefix price. |
modifierPrice | Int | Modifier price. |
modifierPriceStr | String | Modifier price in string. |
amount | Int | Modifier price + prefix price. |
amountStr | String | Modifier price + prefix price in string. |
totalAmount | Int | amount + Total tax. |
totalAmountStr | String | amount + Total tax string. |
taxes | []OrderTax | Modifier taxes. |
taxAmount | Int | Modifier tax amount. |
taxAmountStr | String | Modifier tax amount in string. |
inclusiveTaxes | []OrderTax | Modifier inclusive taxes. |
inclusiveTaxAmount | Int | Modifier inclusive tax amount. |
inclusiveTaxAmountStr | Str | Modifier inclusive tax amount in string. |
totalTax | Int | Total tax amount. |
totalTaxStr | String | Total tax amount in string. |
Order Tax [OrderTax]
Method | Type | Description |
---|---|---|
txExternalID | String | External tax ID. |
txName | String | Tax name. |
percentage | Int | Tax percentage. |
percentageStr | String | Tax percentage in string. |
amount | Int | Tax amount. |
amountStr | String | Tax amount in string. |
Delivery Detail [DeliveryDetail]
Method | Type | Description |
---|---|---|
deliveryType | String | Menu item ID. |
dateStr | String | Delivery date in string. |
contactPerson | String | Customer name. |
phoneNumber | String | Customer phone number. |
String | Customer email. | |
address(Optional) | DeliveryAddress | Customer address. |
isFutureOrder | Bool | Denotes is future order or not. |
Delivery Address [DeliveryAddress]
Method | Type | Description |
---|---|---|
line1 | String | Customer address line 1. |
line2 | String | Customer address line 2. |
city | String | Customer city. |
state | String | Customer state. |
country | String | Customer country. |
zipCode | String | Customer zip code. |
latitude | Float | Latitude. |
longitude | Float | Longitude. |
Zone Details [Zone Details]
Method | Type | Description |
---|---|---|
externalID | String | Zone ID. |
deliveryTime | String | Delivery time. |
name | String | Zone name. |
CCDetails [CcDetails] (if online payment)
Method | Type | Description |
---|---|---|
transactionStatus | Int | Transaction status. |
transactionID | String | Transaction ID. |
transactionTag | String | Transaction tag. |
amount | String | Transaction amount. |
amountStr | String | Transaction amount in string. |
currency | String | Transaction currency. |
cardHolderName | String | Card holder name. |
expDate | String | Card exp date. |
cardType | String | Card type. |
cardNumber | String | Card number. |
Discount [Discount] (if discount is applied)
Method | Type | Description |
---|---|---|
disExternalID | String | Discount ID. |
name | String | Name of the discount. |
discountValue | Int | Discount percentage in integer. |
discountAmount | Int | Discount amount. |
discountAmountStr | String | Discount amount in string. |
discountType | String | Type of discount. |
isAfterTax | Bool | Denote discount is apply after tax. |
discountTax | Int | Tax of the discount. |
discountTaxStr | Int | Tax of the discount in string. |
includeAdditionalModifier | Bool | Defines if the discount includes additional modifiers. |
menuDiscountAmount | Int | Discount amount of menu. |
menuDiscountInclusiveTax | Int | Inclusive tax of menu discount amount. |
modifiersDiscountAmount | Int | Discount amount of modifiers |
menuDiscountTax | Int | Discount tax on menu item. |
modifiersDiscountInclusiveTax | Int | Inclusive tax of modifier discount. |
modifiersDiscountTax | Int | Discount tax of modifiers. |
totalInclusiveTax | Int | Total inclusive tax. |
modifierTotalInclusiveTax | Int | Total inclusive tax of modifiers. |
adjustAmount | String | Defines amount adjust after or before tax. |
quantity | Int | Number 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\