Just Eat Platform

Welcome to The Just Eat Platform

Powering the world's greatest menu

MealDeal with Accessories and discount

{
  "Id": "yuop540jukcowmlthkc2lg",
  "CustomerOrderId": 10555158,
  "Order": {
    "NoteToRestaurant": null,
    "ServiceType": "Delivery",
    "PlacedDate": "2015-04-28T12:24:28.8248+00:00",
    "DueDate": "2015-04-28T13:10:00+00:00",
	"DueDateWithUtcOffset": "2015-04-28T13:10:00+01:00",
    "InitialDueDate": "2015-04-28T13:10:00+00:00",
	"InitialDueDateWithUtcOffset": "2015-04-28T13:10:00+01:00",
    "PromptAsap": true
  },
  "RestaurantInfo": {
    "Id": "525",
    "Name": "Just Pizzas",
    "PhoneNumber": "01234567890",
    "AddressLines": [
      "15 Test Street"
    ],
    "City": "London",
    "Postcode": "EC4M 7rf",
    "DispatchMethod": "JEPosV1",
    "EmailAddress": ""
  },
  "PaymentInfo": {
    "PaymentLines": [
      {
        "Type": "Cash",
        "CardFee": 0,
        "Value": 30.88
      }
    ],
    "Total": 30.88,
    "TotalComplementary": 0,
    "PaidDate": "2015-04-28T12:24:51.632+00:00",
    "CashOnDelivery": true
  },
  "CustomerInfo": {
    "Id": "1957127",
    "Email": "new.user@just-eat.com",
    "Name": "asd",
    "Address": "Test, Test",
    "City": "Test",
    "Postcode": "SE16 1DD",
    "PhoneNumber": "1234567890",
    "TimeZone": "GMT Standard Time",
    "PreviousRestuarantOrderCount": 0
  },
  "BasketInfo": {
    "BasketId": "DizHSBDKakikPMy3sySBuQ",
    "MenuId": 1649,
    "Discounts": [
      {
        "Id": 31410,
        "Discount": 20,
        "DiscountType": "Percent",
        "QualifyingValue": 30
      }
    ],
    "SubTotal": 38.6,
    "ToSpend": 0,
    "MultiBuyDiscount": 0,
    "Discount": 7.72,
    "DeliveryCharge": 0,
    "Total": 30.88,
    "GroupedBasketItems": [
      {
        "BasketItem": {
          "ProductId": 108700,
          "ProductTypeId": 5,
          "MenuCardNumber": "300",
          "Name": "Coca-Cola",
          "Synonym": "0.33 L",
          "UnitPrice": 0.7,
          "CombinedPrice": 2.8,
          "MealParts": [],
          "OptionalAccessories": [],
          "RequiredAccessories": [],
          "Discounts": [],
          "MultiBuyDiscounts": []
        },
        "Quantity": 4,
        "CombinedPrice": 2.8,
        "OrderSubId": 0,
        "MenuCardNumber": null
      },
      {
        "BasketItem": {
          "ProductId": 3585120,
          "ProductTypeId": 86,
          "MenuCardNumber": "77",
          "Name": "Tex-Mex Platter",
          "Synonym": "",
          "UnitPrice": 8.95,
          "CombinedPrice": 8.95,
          "MealParts": [
            {
              "MealPartId": 3584971,
              "GroupId": 1,
              "Name": "Dip",
              "Synonym": "Chilli",
              "OptionalAccessories": [],
              "RequiredAccessories": []
            },
            {
              "MealPartId": 3584971,
              "GroupId": 2,
              "Name": "Dip",
              "Synonym": "Chilli",
              "OptionalAccessories": [],
              "RequiredAccessories": []
            }
          ],
          "OptionalAccessories": [],
          "RequiredAccessories": [],
          "Discounts": [],
          "MultiBuyDiscounts": []
        },
        "Quantity": 1,
        "CombinedPrice": 8.95,
        "OrderSubId": 0,
        "MenuCardNumber": null
      },
      {
        "BasketItem": {
          "ProductId": 108719,
          "ProductTypeId": 86,
          "MenuCardNumber": "64",
          "Name": "Family Meal",
          "Synonym": "",
          "UnitPrice": 14.95,
          "CombinedPrice": 26.85,
          "MealParts": [
            {
              "MealPartId": 108509,
              "GroupId": 1,
              "Name": "Beefy Eater",
              "Synonym": "12\" Thin Crust",
              "OptionalAccessories": [
                {
                  "OptionalAccessoryId": 13,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Pepperoni"
                },
                {
                  "OptionalAccessoryId": 34,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Tuna"
                },
                {
                  "OptionalAccessoryId": 42,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Sweetcorn"
                },
                {
                  "OptionalAccessoryId": 48,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Beef"
                },
                {
                  "OptionalAccessoryId": 55,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Anchovies"
                },
                {
                  "OptionalAccessoryId": 56,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Prawns"
                },
                {
                  "OptionalAccessoryId": 72,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Tandoori Chicken"
                },
                {
                  "OptionalAccessoryId": 79,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Salami"
                },
                {
                  "OptionalAccessoryId": 122,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Spicy Sausage"
                },
                {
                  "OptionalAccessoryId": 137,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Red onions"
                },
                {
                  "OptionalAccessoryId": 138,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Egg"
                },
                {
                  "OptionalAccessoryId": 194,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Chicken"
                },
                {
                  "OptionalAccessoryId": 332,
                  "Quantity": 1,
                  "UnitPrice": 0.8,
                  "Name": "Onions"
                },
                {
                  "OptionalAccessoryId": 551,
                  "Quantity": 1,
                  "UnitPrice": 1.5,
                  "Name": "Stuffed Edge with Cheese & Pepperoni"
                }
              ],
              "RequiredAccessories": []
            },
            {
              "MealPartId": 3584971,
              "GroupId": 2,
              "Name": "Dip",
              "Synonym": "Chilli",
              "OptionalAccessories": [],
              "RequiredAccessories": []
            },
            {
              "MealPartId": 3584972,
              "GroupId": 3,
              "Name": "Dip",
              "Synonym": "Garlic",
              "OptionalAccessories": [],
              "RequiredAccessories": []
            },
            {
              "MealPartId": 108703,
              "GroupId": 4,
              "Name": "Diet Coca-Cola",
              "Synonym": "1.5 L",
              "OptionalAccessories": [],
              "RequiredAccessories": []
            }
          ],
          "OptionalAccessories": [],
          "RequiredAccessories": [],
          "Discounts": [],
          "MultiBuyDiscounts": []
        },
        "Quantity": 1,
        "CombinedPrice": 26.85,
        "OrderSubId": 0,
        "MenuCardNumber": null
      }
    ]
  },
  "IsAMiniFistPumpOrder": false
}