{"_id":"582c7058e4a4920f00ff0060","version":{"_id":"582c7058e4a4920f00ff0045","project":"56c1e50bce02590d006091c9","__v":2,"createdAt":"2016-11-16T14:42:32.468Z","releaseDate":"2016-11-16T14:42:32.468Z","categories":["582c7058e4a4920f00ff0046","582c7058e4a4920f00ff0047","582c7058e4a4920f00ff0048","582c7058e4a4920f00ff0049","582c7058e4a4920f00ff004a","582c7058e4a4920f00ff004b","582c7058e4a4920f00ff004c","582c7058e4a4920f00ff004d","582c7058e4a4920f00ff004e","582c7058e4a4920f00ff004f","582d97124b2536250038b392"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"user":"56c2ea5f2c90fa17001b8383","parentDoc":null,"project":"56c1e50bce02590d006091c9","category":{"_id":"582c7058e4a4920f00ff004d","__v":0,"version":"582c7058e4a4920f00ff0045","project":"56c1e50bce02590d006091c9","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-26T12:33:01.341Z","from_sync":false,"order":6,"slug":"examples","title":"Examples"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-26T12:42:22.790Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/Uh2QQx2fQN6itvCxKewT_10555180.png\",\n        \"10555180.png\",\n        \"320\",\n        \"492\",\n        \"#82320b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"Id\\\": \\\"ghq40hfobuqbtoq1xxkkfq\\\",\\n  \\\"CustomerOrderId\\\": 10555180,\\n  \\\"Order\\\": {\\n    \\\"NoteToRestaurant\\\": \\\"Test order with delivery fee\\\",\\n    \\\"ServiceType\\\": \\\"Delivery\\\",\\n    \\\"PlacedDate\\\": \\\"2015-04-28T12:33:24.014+00:00\\\",\\n    \\\"DueDate\\\": \\\"2015-04-28T13:20:00+00:00\\\",\\n\\t\\\"DueDateWithUtcOffset\\\": \\\"2015-04-28T13:20:00+01:00\\\",\\n    \\\"InitialDueDate\\\": \\\"2015-04-28T13:20:00+00:00\\\",\\n\\t\\\"InitialDueDateWithUtcOffset\\\": \\\"2015-04-28T13:20:00+01:00\\\",\\n    \\\"PromptAsap\\\": true\\n  },\\n  \\\"RestaurantInfo\\\": {\\n    \\\"Id\\\": \\\"525\\\",\\n    \\\"Name\\\": \\\"Just Pizzas\\\",\\n    \\\"PhoneNumber\\\": \\\"01234567890\\\",\\n    \\\"AddressLines\\\": [\\n      \\\"15 Test Street\\\"\\n    ],\\n    \\\"City\\\": \\\"London\\\",\\n    \\\"Postcode\\\": \\\"EC4M 7rf\\\",\\n    \\\"DispatchMethod\\\": \\\"JEPosV1\\\",\\n    \\\"EmailAddress\\\": \\\"\\\"\\n  },\\n  \\\"PaymentInfo\\\": {\\n    \\\"PaymentLines\\\": [\\n      {\\n        \\\"Type\\\": \\\"Cash\\\",\\n        \\\"CardFee\\\": 0,\\n        \\\"Value\\\": 4.9\\n      }\\n    ],\\n    \\\"Total\\\": 4.9,\\n    \\\"TotalComplementary\\\": 0,\\n    \\\"PaidDate\\\": \\\"2015-04-28T12:33:28.616+00:00\\\",\\n    \\\"CashOnDelivery\\\": true\\n  },\\n  \\\"CustomerInfo\\\": {\\n    \\\"Id\\\": \\\"1957127\\\",\\n    \\\"Email\\\": \\\"new.user:::at:::just-eat.com\\\",\\n    \\\"Name\\\": \\\"asd\\\",\\n    \\\"Address\\\": \\\"Test, Test\\\",\\n    \\\"City\\\": \\\"Test\\\",\\n    \\\"Postcode\\\": \\\"SE16 1DD\\\",\\n    \\\"PhoneNumber\\\": \\\"1234567890\\\",\\n    \\\"TimeZone\\\": \\\"GMT Standard Time\\\",\\n    \\\"PreviousRestuarantOrderCount\\\": 0\\n  },\\n  \\\"BasketInfo\\\": {\\n    \\\"BasketId\\\": \\\"btVo2VjKA0qIJ4UUaWWj4Q\\\",\\n    \\\"MenuId\\\": 1649,\\n    \\\"Discounts\\\": [\\n      {\\n        \\\"Id\\\": 31410,\\n        \\\"Discount\\\": 20,\\n        \\\"DiscountType\\\": \\\"Percent\\\",\\n        \\\"QualifyingValue\\\": 30\\n      }\\n    ],\\n    \\\"SubTotal\\\": 3.9,\\n    \\\"ToSpend\\\": 0,\\n    \\\"MultiBuyDiscount\\\": 0,\\n    \\\"Discount\\\": 0,\\n    \\\"DeliveryCharge\\\": 1,\\n    \\\"Total\\\": 4.9,\\n    \\\"GroupedBasketItems\\\": [\\n      {\\n        \\\"BasketItem\\\": {\\n          \\\"ProductId\\\": 108705,\\n          \\\"ProductTypeId\\\": 5,\\n          \\\"MenuCardNumber\\\": \\\"303\\\",\\n          \\\"Name\\\": \\\"Fanta\\\",\\n          \\\"Synonym\\\": \\\"1.5 L\\\",\\n          \\\"UnitPrice\\\": 1.95,\\n          \\\"CombinedPrice\\\": 1.95,\\n          \\\"MealParts\\\": [],\\n          \\\"OptionalAccessories\\\": [],\\n          \\\"RequiredAccessories\\\": [],\\n          \\\"Discounts\\\": [],\\n          \\\"MultiBuyDiscounts\\\": []\\n        },\\n        \\\"Quantity\\\": 1,\\n        \\\"CombinedPrice\\\": 1.95,\\n        \\\"OrderSubId\\\": 0,\\n        \\\"MenuCardNumber\\\": null\\n      },\\n      {\\n        \\\"BasketItem\\\": {\\n          \\\"ProductId\\\": 108687,\\n          \\\"ProductTypeId\\\": 3,\\n          \\\"MenuCardNumber\\\": \\\"55\\\",\\n          \\\"Name\\\": \\\"Strawberry Cheesecake\\\",\\n          \\\"Synonym\\\": \\\"\\\",\\n          \\\"UnitPrice\\\": 1.95,\\n          \\\"CombinedPrice\\\": 1.95,\\n          \\\"MealParts\\\": [],\\n          \\\"OptionalAccessories\\\": [],\\n          \\\"RequiredAccessories\\\": [],\\n          \\\"Discounts\\\": [],\\n          \\\"MultiBuyDiscounts\\\": []\\n        },\\n        \\\"Quantity\\\": 1,\\n        \\\"CombinedPrice\\\": 1.95,\\n        \\\"OrderSubId\\\": 0,\\n        \\\"MenuCardNumber\\\": null\\n      }\\n    ]\\n  },\\n  \\\"IsAMiniFistPumpOrder\\\": false\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"simple-item-with-delivery-fee","type":"basic","title":"Simple item with delivery fee"}

Simple item with delivery fee


[block:image] { "images": [ { "image": [ "https://files.readme.io/Uh2QQx2fQN6itvCxKewT_10555180.png", "10555180.png", "320", "492", "#82320b", "" ] } ] } [/block] [block:code] { "codes": [ { "code": "{\n \"Id\": \"ghq40hfobuqbtoq1xxkkfq\",\n \"CustomerOrderId\": 10555180,\n \"Order\": {\n \"NoteToRestaurant\": \"Test order with delivery fee\",\n \"ServiceType\": \"Delivery\",\n \"PlacedDate\": \"2015-04-28T12:33:24.014+00:00\",\n \"DueDate\": \"2015-04-28T13:20:00+00:00\",\n\t\"DueDateWithUtcOffset\": \"2015-04-28T13:20:00+01:00\",\n \"InitialDueDate\": \"2015-04-28T13:20:00+00:00\",\n\t\"InitialDueDateWithUtcOffset\": \"2015-04-28T13:20:00+01:00\",\n \"PromptAsap\": true\n },\n \"RestaurantInfo\": {\n \"Id\": \"525\",\n \"Name\": \"Just Pizzas\",\n \"PhoneNumber\": \"01234567890\",\n \"AddressLines\": [\n \"15 Test Street\"\n ],\n \"City\": \"London\",\n \"Postcode\": \"EC4M 7rf\",\n \"DispatchMethod\": \"JEPosV1\",\n \"EmailAddress\": \"\"\n },\n \"PaymentInfo\": {\n \"PaymentLines\": [\n {\n \"Type\": \"Cash\",\n \"CardFee\": 0,\n \"Value\": 4.9\n }\n ],\n \"Total\": 4.9,\n \"TotalComplementary\": 0,\n \"PaidDate\": \"2015-04-28T12:33:28.616+00:00\",\n \"CashOnDelivery\": true\n },\n \"CustomerInfo\": {\n \"Id\": \"1957127\",\n \"Email\": \"new.user@just-eat.com\",\n \"Name\": \"asd\",\n \"Address\": \"Test, Test\",\n \"City\": \"Test\",\n \"Postcode\": \"SE16 1DD\",\n \"PhoneNumber\": \"1234567890\",\n \"TimeZone\": \"GMT Standard Time\",\n \"PreviousRestuarantOrderCount\": 0\n },\n \"BasketInfo\": {\n \"BasketId\": \"btVo2VjKA0qIJ4UUaWWj4Q\",\n \"MenuId\": 1649,\n \"Discounts\": [\n {\n \"Id\": 31410,\n \"Discount\": 20,\n \"DiscountType\": \"Percent\",\n \"QualifyingValue\": 30\n }\n ],\n \"SubTotal\": 3.9,\n \"ToSpend\": 0,\n \"MultiBuyDiscount\": 0,\n \"Discount\": 0,\n \"DeliveryCharge\": 1,\n \"Total\": 4.9,\n \"GroupedBasketItems\": [\n {\n \"BasketItem\": {\n \"ProductId\": 108705,\n \"ProductTypeId\": 5,\n \"MenuCardNumber\": \"303\",\n \"Name\": \"Fanta\",\n \"Synonym\": \"1.5 L\",\n \"UnitPrice\": 1.95,\n \"CombinedPrice\": 1.95,\n \"MealParts\": [],\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": [],\n \"Discounts\": [],\n \"MultiBuyDiscounts\": []\n },\n \"Quantity\": 1,\n \"CombinedPrice\": 1.95,\n \"OrderSubId\": 0,\n \"MenuCardNumber\": null\n },\n {\n \"BasketItem\": {\n \"ProductId\": 108687,\n \"ProductTypeId\": 3,\n \"MenuCardNumber\": \"55\",\n \"Name\": \"Strawberry Cheesecake\",\n \"Synonym\": \"\",\n \"UnitPrice\": 1.95,\n \"CombinedPrice\": 1.95,\n \"MealParts\": [],\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": [],\n \"Discounts\": [],\n \"MultiBuyDiscounts\": []\n },\n \"Quantity\": 1,\n \"CombinedPrice\": 1.95,\n \"OrderSubId\": 0,\n \"MenuCardNumber\": null\n }\n ]\n },\n \"IsAMiniFistPumpOrder\": false\n}", "language": "json" } ] } [/block]