{"info":{"_postman_id":"72823e21-8035-4ebc-8f15-54f63b44cf97","name":"Menlog Delivery API","description":"<html><head></head><body><p>This API makes it possible to integrate the channels integrated in Delivery aggregator to the store that uses a Menlog POS solution.  </p>\n<p>It provides two endpoints, one for retrieving menus and one for pushing new orders.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13034215","collectionId":"72823e21-8035-4ebc-8f15-54f63b44cf97","publishedId":"TVmV4Yzu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-12-10T15:11:44.000Z"},"item":[{"name":"Authentification","id":"32d0093b-311c-46c9-b1f3-568cb7a5dfd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.zybbo.com/jwt/authenticate?username={{client_username}}&password={{client_password}}","description":"<p>  Each endpoint of this API requires an authentication token. To get it, you need your login and password which will be provided by Menlog.  </p>\n<p>  Please cache this token, and don't forget to ask for a new one only when the previous token is expired. The token is valid for ten minutes. You can find the expiration date by decoding the JWT token (more information about JSON Wew Token <a href=\"jwt.io\">here</a>.</p>\n","urlObject":{"protocol":"https","path":["jwt","authenticate"],"host":["api","zybbo","com"],"query":[{"key":"username","value":"{{client_username}}"},{"key":"password","value":"{{client_password}}"}],"variable":[]}},"response":[{"id":"3eea16a7-4956-4881-96a8-968f3e399d16","name":"Authentification","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.zybbo.com/jwt/authenticate?username={{client_username}}&password={{client_password}}","protocol":"https","host":["api","zybbo","com"],"path":["jwt","authenticate"],"query":[{"key":"username","value":"{{client_username}}"},{"key":"password","value":"{{client_password}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.10.3"},{"key":"Date","value":"Fri, 04 Dec 2020 09:32:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"378"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"success\",\n    \"message\": \"Got your token\",\n    \"token\": \"ey******************************************************************************************************************************************************************************************************************************************************************************************************************************1U\"\n}"},{"id":"9e27c84b-099f-47ee-a8b5-4b3ad375cdf7","name":"Authentification","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://api.zybbo.com/jwt/authenticate?username={{client_username}}&password={{client_password}}","protocol":"https","host":["api","zybbo","com"],"path":["jwt","authenticate"],"query":[{"key":"username","value":"{{client_username}}"},{"key":"password","value":"{{client_password}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.10.3"},{"key":"Date","value":"Fri, 04 Dec 2020 09:32:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"378"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=20"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains; preload"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"success\",\n    \"message\": \"Got your token\",\n    \"token\": \"ey******************************************************************************************************************************************************************************************************************************************************************************************************************************1U\"\n}"}],"_postman_id":"32d0093b-311c-46c9-b1f3-568cb7a5dfd1"},{"name":"Check Menu","event":[{"listen":"prerequest","script":{"id":"3fc8a2ed-a98d-482f-b127-9c96c3aed296","exec":["const tokenUrl = 'https://api.zybbo.com/jwt/authenticate?username=' + pm.variables.get('client_username') + '&password=' + pm.variables.get('client_password');\r","console.log('test');\r","const getTokenRequest = {\r","  method: 'POST',\r","  url: tokenUrl,\r","};\r","\r","pm.sendRequest(getTokenRequest, (err, response) => {\r","  const jsonResponse = response.json();\r","  const newAccessToken = jsonResponse.token;\r","  pm.variables.set('access_token', newAccessToken);\r","});"],"type":"text/javascript"}}],"id":"35c93091-8a53-4ed7-8136-4d22887e5f5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-access-token","type":"text","value":"{{access_token}}"}],"url":"https://k8s.zybbo.com/delivery/v1/{{uuidclient}}/{{uuidmagasin}}/check_products","description":"<p>The informations about the store menu are retrieved by this endpoint.</p>\n<p>All the products in the menu are returned by the request. If a product that was previously sent to you does not appear in the list, then it must be deleted. Each product has a unique identifier called \"sku\". The list of all unique identifiers can be found in the <strong>productsList</strong> field.</p>\n<p>Products prices are in euros (EUR) and includes tax.</p>\n<p>The menu availability schedules can be found in the availabilities table, which contains one field for each day of the week.</p>\n<h2 id=\"product-type\">Product Type</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Product Type</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Product</td>\n<td>1</td>\n</tr>\n<tr>\n<td>Modifier</td>\n<td>2</td>\n</tr>\n<tr>\n<td>Modifier Group</td>\n<td>3</td>\n</tr>\n<tr>\n<td>Meal Deal Product</td>\n<td>4</td>\n</tr>\n</tbody>\n</table>\n</div><p>They are 4 types of products:  Products, Modifier Group, Modifer and Meal Deal Products.</p>\n<ul>\n<li>Product can be simple products, or Meal deals that contain different parts (Modifer Group).</li>\n<li>Modifier groups are used to group together modifiers or Meal Deal Products. </li>\n<li>Modifier are toppings that the customer can add to his products.</li>\n<li>Meal Deal Products are products sold as part of a meal deal and cannot be sold on their own outside the Meal Deal.</li>\n</ul>\n<p>Products are linked according to what is in the subProduct field.</p>\n<p>All modifiers have a min and max field that indicates how many modifiers should be selected.</p>\n<h2 id=\"example\">Example:</h2>\n<ul>\n<li>Structure of a product with topping:</li>\n</ul>\n<blockquote>\n<p>Products&gt;Modifier Group&gt;Modifier&gt;</p>\n</blockquote>\n<ul>\n<li>Structure of a Meal deal that contains Product with topping:</li>\n</ul>\n<blockquote>\n<p>Products&gt;Modifier Group&gt;Meal Deal Products&gt;Modifier Group&gt; Modifer</p>\n</blockquote>\n<p>The \"Meal Deal with topping\" and the \"Meal Deal with product as upsell\" show the same products but the \"Meal Deal with product as upsell\" includes a product that generates a 0.5€ upsell (CAPPUCCINO - PETIT).</p>\n","urlObject":{"protocol":"https","path":["delivery","v1","{{uuidclient}}","{{uuidmagasin}}","check_products"],"host":["k8s","zybbo","com"],"query":[],"variable":[]}},"response":[{"id":"6d791d64-fc4c-43cf-92f6-254c686afc7e","name":"Meal Deal with product as upsell","originalRequest":{"method":"GET","header":[{"key":"x-access-token","value":"{{access_token}}","type":"text"}],"url":"https://k8s.zybbo.com/delivery/v1/otter/{{uuidclient}}/{{uuidmagasin}}/check_products"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"OK\",\n    \"menu\": {\n        \"availabilities\": {\n            \"Monday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Tuesday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Wednesday\": {\n                \"available\": false,\n                \"startTime\": null,\n                \"endTime\": null\n            },\n            \"Thursday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Friday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Saturday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Sunday\": {\n                \"available\": false,\n                \"startTime\": null,\n                \"endTime\": null\n            }\n        },\n        \"imageUrl\": \"\",\n        \"products\": [\n            {\n                \"productType\": 1,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!\",\n                \"price\": 4.6,\n                \"name\": \"MENU P'TIT DEJ \",\n                \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"we4za*4Ze5lddV!!!P3I!!_!TbXHcDue5VXOCy4XnqpJ0\",\n                    \"we4za*4Ze5lddV!!!P3I!!_nqUtYP6he5lg0XMUNIlvV0\"\n                ]\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_!TbXHcDue5VXOCy4XnqpJ0\",\n                \"price\": 0,\n                \"name\": \"BOISSON\",\n                \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"we4za*4Ze5lddV!!!P3I!!_Lls2b*4Ze5lddV!!!P3I!!\",\n                    \"we4za*4Ze5lddV!!!P3I!!_TXH3b*4Ze5lddV!!!P3I!!\",\n                    \"we4za*4Ze5lddV!!!P3I!!_cSF6b*4Ze5lddV!!!P3I!!\"\n                ],\n                \"min\": 1,\n                \"max\": 1\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_nqUtYP6he5lg0XMUNIlvV0\",\n                \"price\": 0,\n                \"name\": \"VIENNOISERIE\",\n                \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"we4za*4Ze5lddV!!!P3I!!_F7Hoa*4Ze5lddV!!!P3I!!\",\n                    \"we4za*4Ze5lddV!!!P3I!!_kp9oa*4Ze5lddV!!!P3I!!\",\n                    \"we4za*4Ze5lddV!!!P3I!!_v!Moa*4Ze5lddV!!!P3I!!\"\n                ],\n                \"min\": 1,\n                \"max\": 1\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_Lls2b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0.5,\n                \"name\": \"CAPPUCCINO - PETIT \",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"PRSUBSTITU\",\n                \"subProducts\": [\n                    \"ABv2b*4Ze5lddV!!!P3I!!\",\n                    \"zcx2b*4Ze5lddV!!!P3I!!\"\n                ]\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_TXH3b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"CAFE LATTE - PETIT\",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"PRSUBSTITU\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_cSF6b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"CHOCOLAT - PETIT \",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"PRSUBSTITU\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_F7Hoa*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"PAIN AU CHOCOLAT\",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_kp9oa*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"CROISSANT \",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_v!Moa*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"PAIN AU RAISIN \",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"ABv2b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"SUPLÉMENTS AROME CHAUDS\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"c_vZ8UtBHce5Ff*U!!!P3I!!\",\n                    \"c_wZ8UtBHce5Ff*U!!!P3I!!\"\n                ],\n                \"min\": 0,\n                \"max\": 2\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"zcx2b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"ALTERNATIVE VEGETALE\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"c_zZ8UtBHce5Ff*U!!!P3I!!\",\n                    \"c_!a8UtBHce5Ff*U!!!P3I!!\"\n                ],\n                \"min\": 0,\n                \"max\": 1\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_vZ8UtBHce5Ff*U!!!P3I!!\",\n                \"price\": 0.5,\n                \"name\": \"CARAMEL\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_wZ8UtBHce5Ff*U!!!P3I!!\",\n                \"price\": 0.5,\n                \"name\": \"NOISETTE\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_zZ8UtBHce5Ff*U!!!P3I!!\",\n                \"price\": 0.5,\n                \"name\": \"AMANDE\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_!a8UtBHce5Ff*U!!!P3I!!\",\n                \"price\": 0.5,\n                \"name\": \"COCO\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            }\n        ],\n        \"categories\": [\n            {\n                \"name\": \"BOISSONS CHAUDES\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\"\n            },\n            {\n                \"name\": \"MENUS SUCRES\",\n                \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\"\n            },\n            {\n                \"name\": \"Produits dans une formule\",\n                \"idCategory\": \"product_on_combo\"\n            }\n        ],\n        \"productsList\": [\n            \"we4za*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_!TbXHcDue5VXOCy4XnqpJ0\",\n            \"we4za*4Ze5lddV!!!P3I!!_nqUtYP6he5lg0XMUNIlvV0\",\n            \"we4za*4Ze5lddV!!!P3I!!_F7Hoa*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_kp9oa*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_v!Moa*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_Lls2b*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_TXH3b*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_cSF6b*4Ze5lddV!!!P3I!!\",\n            \"ABv2b*4Ze5lddV!!!P3I!!\",\n            \"zcx2b*4Ze5lddV!!!P3I!!\",\n            \"c_vZ8UtBHce5Ff*U!!!P3I!!\",\n            \"c_wZ8UtBHce5Ff*U!!!P3I!!\",\n            \"c_zZ8UtBHce5Ff*U!!!P3I!!\",\n            \"c_!a8UtBHce5Ff*U!!!P3I!!\"\n        ]\n    }\n}"},{"id":"87027c84-9029-4e8e-b351-e4c0d706cf1a","name":"Meal Deal with topping","originalRequest":{"method":"GET","header":[{"key":"x-access-token","type":"text","value":"{{access_token}}"}],"url":"https://k8s.zybbo.com/delivery/v1/otter/{{uuidclient}}/{{uuidmagasin}}/check_products"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"OK\",\n    \"menu\": {\n        \"availabilities\": {\n            \"Monday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Tuesday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Wednesday\": {\n                \"available\": false,\n                \"startTime\": null,\n                \"endTime\": null\n            },\n            \"Thursday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Friday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Saturday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Sunday\": {\n                \"available\": false,\n                \"startTime\": null,\n                \"endTime\": null\n            }\n        },\n        \"imageUrl\": \"\",\n        \"products\": [\n            {\n                \"productType\": 1,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!\",\n                \"price\": 4.6,\n                \"name\": \"MENU P'TIT DEJ \",\n                \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"we4za*4Ze5lddV!!!P3I!!_!TbXHcDue5VXOCy4XnqpJ0\",\n                    \"we4za*4Ze5lddV!!!P3I!!_nqUtYP6he5lg0XMUNIlvV0\"\n                ]\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_!TbXHcDue5VXOCy4XnqpJ0\",\n                \"price\": 0,\n                \"name\": \"BOISSON\",\n                \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"we4za*4Ze5lddV!!!P3I!!_Lls2b*4Ze5lddV!!!P3I!!\",\n                    \"we4za*4Ze5lddV!!!P3I!!_TXH3b*4Ze5lddV!!!P3I!!\",\n                    \"we4za*4Ze5lddV!!!P3I!!_cSF6b*4Ze5lddV!!!P3I!!\"\n                ],\n                \"min\": 1,\n                \"max\": 1\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_nqUtYP6he5lg0XMUNIlvV0\",\n                \"price\": 0,\n                \"name\": \"VIENNOISERIE\",\n                \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"we4za*4Ze5lddV!!!P3I!!_F7Hoa*4Ze5lddV!!!P3I!!\",\n                    \"we4za*4Ze5lddV!!!P3I!!_kp9oa*4Ze5lddV!!!P3I!!\",\n                    \"we4za*4Ze5lddV!!!P3I!!_v!Moa*4Ze5lddV!!!P3I!!\"\n                ],\n                \"min\": 1,\n                \"max\": 1\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_Lls2b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"CAPPUCCINO - PETIT \",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"PRSUBSTITU\",\n                \"subProducts\": [\n                    \"ABv2b*4Ze5lddV!!!P3I!!\",\n                    \"zcx2b*4Ze5lddV!!!P3I!!\"\n                ]\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_TXH3b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"CAFE LATTE - PETIT\",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"PRSUBSTITU\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_cSF6b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"CHOCOLAT - PETIT \",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"PRSUBSTITU\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_F7Hoa*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"PAIN AU CHOCOLAT\",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_kp9oa*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"CROISSANT \",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 4,\n                \"sku\": \"we4za*4Ze5lddV!!!P3I!!_v!Moa*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"PAIN AU RAISIN \",\n                \"idCategory\": \"product_on_combo\",\n                \"description\": \"\",\n                \"subProducts\": []\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"ABv2b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"SUPLÉMENTS AROME CHAUDS\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"c_vZ8UtBHce5Ff*U!!!P3I!!\",\n                    \"c_wZ8UtBHce5Ff*U!!!P3I!!\"\n                ],\n                \"min\": 0,\n                \"max\": 2\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"zcx2b*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"ALTERNATIVE VEGETALE\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"c_zZ8UtBHce5Ff*U!!!P3I!!\",\n                    \"c_!a8UtBHce5Ff*U!!!P3I!!\"\n                ],\n                \"min\": 0,\n                \"max\": 1\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_vZ8UtBHce5Ff*U!!!P3I!!\",\n                \"price\": 0.5,\n                \"name\": \"CARAMEL\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_wZ8UtBHce5Ff*U!!!P3I!!\",\n                \"price\": 0.5,\n                \"name\": \"NOISETTE\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_zZ8UtBHce5Ff*U!!!P3I!!\",\n                \"price\": 0.5,\n                \"name\": \"AMANDE\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_!a8UtBHce5Ff*U!!!P3I!!\",\n                \"price\": 0.5,\n                \"name\": \"COCO\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            }\n        ],\n        \"categories\": [\n            {\n                \"name\": \"BOISSONS CHAUDES\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\"\n            },\n            {\n                \"name\": \"MENUS SUCRES\",\n                \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\"\n            },\n            {\n                \"name\": \"Produits dans une formule\",\n                \"idCategory\": \"product_on_combo\"\n            }\n        ],\n        \"productsList\": [\n            \"we4za*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_!TbXHcDue5VXOCy4XnqpJ0\",\n            \"we4za*4Ze5lddV!!!P3I!!_nqUtYP6he5lg0XMUNIlvV0\",\n            \"we4za*4Ze5lddV!!!P3I!!_F7Hoa*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_kp9oa*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_v!Moa*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_Lls2b*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_TXH3b*4Ze5lddV!!!P3I!!\",\n            \"we4za*4Ze5lddV!!!P3I!!_cSF6b*4Ze5lddV!!!P3I!!\",\n            \"ABv2b*4Ze5lddV!!!P3I!!\",\n            \"zcx2b*4Ze5lddV!!!P3I!!\",\n            \"c_vZ8UtBHce5Ff*U!!!P3I!!\",\n            \"c_wZ8UtBHce5Ff*U!!!P3I!!\",\n            \"c_zZ8UtBHce5Ff*U!!!P3I!!\",\n            \"c_!a8UtBHce5Ff*U!!!P3I!!\"\n        ]\n    }\n}"},{"id":"9bf589c8-8219-4493-91ec-96e3f2ba295c","name":"Product with extra topping","originalRequest":{"method":"GET","header":[{"key":"x-access-token","value":"{{access_token}}","type":"text"}],"url":"https://k8s.zybbo.com/delivery/v1/otter/{{uuidclient}}/{{uuidmagasin}}/check_products"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"OK\",\n    \"menu\": {\n        \"availabilities\": {\n            \"Monday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Tuesday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Wednesday\": {\n                \"available\": false,\n                \"startTime\": null,\n                \"endTime\": null\n            },\n            \"Thursday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Friday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Saturday\": {\n                \"available\": true,\n                \"startTime\": \"11:30\",\n                \"endTime\": \"19:30\"\n            },\n            \"Sunday\": {\n                \"available\": false,\n                \"startTime\": null,\n                \"endTime\": null\n            }\n        },\n        \"imageUrl\": \"\",\n        \"products\": [\n            {\n                \"productType\": 1,\n                \"sku\": \"B1tma*4Ze5lddV!!!P3I!!\",\n                \"price\": 1.8,\n                \"name\": \"LUNGO PETIT \",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"suxma*4Ze5lddV!!!P3I!!\",\n                    \"cbqma*4Ze5lddV!!!P3I!!\"\n                ]\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"suxma*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"SUPLÉMENTS AROME CHAUDS\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"c_TAyhpQEue5VXOCy4XnqpJ0\",\n                    \"c_XwYWtQEue5VXOCy4XnqpJ0\",\n                    \"c_UkAfsQEue5VXOCy4XnqpJ0\",\n                    \"c_ukJmvQEue5VXOCy4XnqpJ0\"\n                ],\n                \"min\": 0,\n                \"max\": 2\n            },\n            {\n                \"productType\": 3,\n                \"sku\": \"cbqma*4Ze5lddV!!!P3I!!\",\n                \"price\": 0,\n                \"name\": \"SUPPLEMENT CHANTILLY\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\",\n                \"subProducts\": [\n                    \"c_MWSj1rX0f5FeaPL4l2piV1\"\n                ],\n                \"min\": 0,\n                \"max\": 1\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_TAyhpQEue5VXOCy4XnqpJ0\",\n                \"price\": 0.5,\n                \"name\": \"CARAMEL\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_XwYWtQEue5VXOCy4XnqpJ0\",\n                \"price\": 0.5,\n                \"name\": \"NOISETTE\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_UkAfsQEue5VXOCy4XnqpJ0\",\n                \"price\": 0.5,\n                \"name\": \"SPECULOS\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_ukJmvQEue5VXOCy4XnqpJ0\",\n                \"price\": 0.5,\n                \"name\": \"VANILLE\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            },\n            {\n                \"productType\": 2,\n                \"sku\": \"c_MWSj1rX0f5FeaPL4l2piV1\",\n                \"price\": 0.5,\n                \"name\": \"CHANTILLY\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\n                \"description\": \"\"\n            }\n        ],\n        \"categories\": [\n            {\n                \"name\": \"BOISSONS CHAUDES\",\n                \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\"\n            }\n        ],\n        \"productsList\": [\n            \"B1tma*4Ze5lddV!!!P3I!!\",\n            \"suxma*4Ze5lddV!!!P3I!!\",\n            \"cbqma*4Ze5lddV!!!P3I!!\",\n            \"c_TAyhpQEue5VXOCy4XnqpJ0\",\n            \"c_XwYWtQEue5VXOCy4XnqpJ0\",\n            \"c_UkAfsQEue5VXOCy4XnqpJ0\",\n            \"c_ukJmvQEue5VXOCy4XnqpJ0\",\n            \"c_MWSj1rX0f5FeaPL4l2piV1\"\n        ]\n    }\n}"}],"_postman_id":"35c93091-8a53-4ed7-8136-4d22887e5f5c"},{"name":"Webhook Orders","event":[{"listen":"prerequest","script":{"id":"e5fca2f1-80b8-4bc2-a3af-8292fcac0043","exec":["const tokenUrl = 'https://api.zybbo.com/jwt/authenticate?username=' + pm.variables.get('client_username') + '&password=' + pm.variables.get('client_password');\r","\r","const getTokenRequest = {\r","  method: 'POST',\r","  url: tokenUrl,\r","};\r","\r","pm.sendRequest(getTokenRequest, (err, response) => {\r","  const jsonResponse = response.json();\r","  const newAccessToken = jsonResponse.token;\r","  pm.variables.set('access_token', newAccessToken);\r","});"],"type":"text/javascript"}}],"id":"3b20d5b0-2f3d-4e15-a462-f81d31309412","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-access-token","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"created_at\": \"2021-07-19T17:53:03Z\",\r\n    \"id\": \"8cd30b9c-b55a-4398-a667-4416bde26fc9\",\r\n    \"account\": \"qe8Q3TVwX5VU4TAQFskZw!\",\r\n    \"source\": \"ubereats\",\r\n    \"channelOrderDisplayId\": \"26FC9\",\r\n    \"channelOrderId\": \"8cd30b9c-b55a-4398-a667-4416bde26fc9\",\r\n    \"customer\": {\r\n        \"name\": \"Besa S.\",\r\n        \"phone\": \"+33 9 74 99 56 76\",\r\n        \"email\": null,\r\n        \"personalIdentifiers\": null\r\n    },\r\n    \"deliveryAddress\": {\r\n        \"city\": null,\r\n        \"extraAddressInfo\": null,\r\n        \"postalCode\": null,\r\n        \"street\": null,\r\n        \"streetNumber\": null\r\n    },\r\n    \"orderTotal\": {\r\n        \"subtotal\": 20.8,\r\n        \"discount\": null,\r\n        \"tax\": null,\r\n        \"tip\": null,\r\n        \"deliveryFee\": null,\r\n        \"total\": null,\r\n        \"couponCode\": null\r\n    },\r\n    \"deliveryIsAsap\": true,\r\n    \"deliveryTime\": \"1970-01-01T00:00:00Z\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": 2,\r\n            \"sku\": \"ul61Soecf5*eiYF!frsOE*\",\r\n            \"price\": 5.5,\r\n            \"name\": \"Falafels\",\r\n            \"quantity\": 1,\r\n            \"idCategory\": \"1b50a54f-3fdd-4423-9e99-55dab6ad34e8\",\r\n            \"description\": \"\",\r\n            \"remark\": null,\r\n            \"subItems\": []\r\n        },\r\n        {\r\n            \"productType\": 1,\r\n            \"sku\": \"tZ54t7fcf5*eiYF!frsOE*\",\r\n            \"price\": 13.4,\r\n            \"name\": \"Burger + Frites maison\",\r\n            \"quantity\": 1,\r\n            \"idCategory\": \"1439d214-8ce8-4b15-9187-b207a257c51b\",\r\n            \"description\": \"\",\r\n            \"remark\": null,\r\n            \"subItems\": [\r\n                {\r\n                    \"productType\": 2,\r\n                    \"sku\": \"m_73YzRoecf5*eiYF!frsOE*_0\",\r\n                    \"price\": 0,\r\n                    \"name\": \"Le Signature\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": null,\r\n                    \"description\": \"\",\r\n                    \"remark\": null,\r\n                    \"subItems\": []\r\n                },\r\n                {\r\n                    \"productType\": 2,\r\n                    \"sku\": \"m_oaw*Soecf5*eiYF!frsOE*_0\",\r\n                    \"price\": 0,\r\n                    \"name\": \"Duo de frites cuites au four\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": null,\r\n                    \"description\": \"\",\r\n                    \"remark\": null,\r\n                    \"subItems\": []\r\n                },\r\n                {\r\n                    \"productType\": 2,\r\n                    \"sku\": \"m_Zeh4Soecf5*eiYF!frsOE*_190\",\r\n                    \"price\": 1.9,\r\n                    \"name\": \"Eau Pétillante (50 cL)\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": null,\r\n                    \"description\": \"\",\r\n                    \"remark\": null,\r\n                    \"subItems\": []\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"location\": \"OHTkDV!Qf5VgvsO*wd5lA!\",\r\n    \"note\": \"Nouveau client\\n Ne pas ajouter de couverts\",\r\n    \"orderType\": \"DELIVERY\",\r\n    \"pickupTime\": \"2021-07-20T11:00:34Z\",\r\n    \"status\": \"NEW_ORDER\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://k8s.zybbo.com/delivery/v1/otter/{{uuidclient}}/{{uuidmagasin}}","description":"<h2 id=\"url-webhook\">URL webhook</h2>\n<p>  Each retail chain is represented by an unique internal id called <strong>uuidclient</strong>.  </p>\n<p>  A retail chain can have several location and each locations has an unique internal id called <strong>uuidmagasin</strong>.</p>\n<p>  Replace in the query <strong>{{uuidclient}}</strong> and <strong>{{uuidmagasin}}</strong> with id communicated by Menlog before the integration process.</p>\n<h2 id=\"body-content\">Body Content</h2>\n<p>The body of the request should be an JSON format and contains all the all the necessary information for the POS to correctly process the order (products, customer info...)  </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Menlog API</th>\n<th>Explanation</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>created_at</td>\n<td>Date of creation of the order or date the customer made this order  (ISO 8601 Extended Format)</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Internal id of the order or order id from the delivery channel</td>\n</tr>\n<tr>\n<td>account</td>\n<td>Internal id of the retail chain or Menlog id of the retail channel</td>\n</tr>\n<tr>\n<td>source</td>\n<td>Name of the delivery channel</td>\n</tr>\n<tr>\n<td>channelOrderDisplayId</td>\n<td>Human-readable ID from the channel</td>\n</tr>\n<tr>\n<td>channelOrderId</td>\n<td>Order Id from the delivery channel</td>\n</tr>\n<tr>\n<td>customer</td>\n<td>Customer Information</td>\n</tr>\n<tr>\n<td>deliveryAddress</td>\n<td>object containing information about the customer's address</td>\n</tr>\n<tr>\n<td>orderTotal</td>\n<td>Checkout detail of Order see Ex</td>\n</tr>\n<tr>\n<td>deliveryIsAsap</td>\n<td>A booleen that indicates if the order is for now or if the order is scheduled.</td>\n</tr>\n<tr>\n<td>deliveryTime</td>\n<td>Delivery time  (ISO 8601 Extended Format)</td>\n</tr>\n<tr>\n<td>items</td>\n<td>order contents</td>\n</tr>\n<tr>\n<td>location</td>\n<td>Internal id of the location or Menlog id of the location</td>\n</tr>\n<tr>\n<td>note</td>\n<td>customer's note</td>\n</tr>\n<tr>\n<td>orderType</td>\n<td>ENUM: \"PICKUP\", \"DELIVERY\" or \"EATIN\"</td>\n</tr>\n<tr>\n<td>pickupTime</td>\n<td>Pickup time  (ISO 8601 Extended Format)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the order</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"webhook-response\">Webhook response</h2>\n<p>  If the authentication token has been correctly verified and the command has been processed, the endpoint return status 200. If the status is 401, you need a valid token.</p>\n<p>  It's possible that the endpoints may be <strong>temporarily unavailable</strong>, if the endpoints do not respond, <strong>retry the orders</strong> several times at a few seconds intervals.</p>\n","urlObject":{"protocol":"https","path":["delivery","v1","otter","{{uuidclient}}","{{uuidmagasin}}"],"host":["k8s","zybbo","com"],"query":[],"variable":[]}},"response":[{"id":"3d6d6cd7-a087-47a1-b45e-d92c88886df0","name":"Many Products, with topping and without topping","originalRequest":{"method":"POST","header":[{"key":"x-access-token","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"created_at\": \"2020-12-03T13:00:37.964958Z\",\r\n    \"id\": \"5fc8e1752695927c2da6d9f6\",\r\n    \"account\": \"5ecc246c6040b70001f3075d\",\r\n    \"source\": \"uber eats\",\r\n    \"channelOrderDisplayId\": \"BC953\",\r\n    \"channelOrderId\": \"f9f363d1-e1c2-4595-b477-c649845bc953\",\r\n    \"customer\": {\r\n        \"email\": \"aurelien.joncour@menlog.com\",\r\n        \"name\": \"Aurelien J\",\r\n        \"phoneNumber\": \"0909090909\"\r\n    },\r\n    \"deliveryAddress\": {\r\n        \"city\": \"Pont-l'Abbé\",\r\n        \"extraAddressInfo\": \"\",\r\n        \"postalCode\": \"29120\",\r\n        \"street\": \"Rue Georges Clemenceau\",\r\n        \"streetNumber\": \"14\"\r\n    },\r\n    \"orderTotal\": {\r\n        \"subtotal\": 11.4,\r\n        \"discount\": 0,\r\n        \"tax\": 0,\r\n        \"tip\": 0,\r\n        \"deliveryFee\": 5,\r\n        \"total\": 16.4\r\n    },\r\n    \"deliveryIsAsap\": true,\r\n    \"deliveryTime\": \"2020-12-03T13:00:38Z\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": 1,\r\n            \"sku\": \"B1tma*4Ze5lddV!!!P3I!!\",\r\n            \"price\": 1.8,\r\n            \"name\": \"LUNGO PETIT \",\r\n            \"quantity\": 3,\r\n            \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\r\n            \"description\": \"\",\r\n            \"subItems\": [\r\n                {\r\n                    \"productType\": 2,\r\n                    \"sku\": \"c_i9oma*4Ze5lddV!!!P3I!!_50\",\r\n                    \"price\": 0.5,\r\n                    \"name\": \"CARAMEL\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\r\n                    \"description\": \"\",\r\n                    \"subItems\": []\r\n                },\r\n                {\r\n                    \"productType\": 2,\r\n                    \"sku\": \"c_p9oma*4Ze5lddV!!!P3I!!_50\",\r\n                    \"price\": 0.5,\r\n                    \"name\": \"CHANTILLY\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\r\n                    \"description\": \"\",\r\n                    \"subItems\": []\r\n                }\r\n            ]\r\n        },\r\n        {\r\n            \"productType\": 1,\r\n            \"sku\": \"B1tma*4Ze5lddV!!!P3I!!\",\r\n            \"price\": 1.8,\r\n            \"name\": \"LUNGO PETIT \",\r\n            \"quantity\": 1,\r\n            \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\r\n            \"description\": \"\",\r\n            \"subItems\": []\r\n        },\r\n        {\r\n            \"productType\": 1,\r\n            \"sku\": \"kp9oa*4Ze5lddV!!!P3I!!\",\r\n            \"price\": 1.2,\r\n            \"name\": \"CROISSANT \",\r\n            \"quantity\": 1,\r\n            \"idCategory\": \"1sgma*4Ze5lddV!!!P3I!!\",\r\n            \"description\": \"\",\r\n            \"subItems\": []\r\n        }\r\n    ],\r\n    \"location\": \"5f082ca8668f6dfdadbef766\",\r\n    \"note\": \"No sugar on cofee\",\r\n    \"orderType\": \"DELIVERY\",\r\n    \"pickupTime\": \"2020-12-03T13:00:38Z\",\r\n    \"status\": \"NEW_ORDER\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://k8s.zybbo.com/delivery/v1/otter/{{uuidclient}}/{{uuidmagasin}}"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":""},{"id":"1accb648-f906-4e27-be46-8be0cdd9d350","name":"Simple Meal Deal","originalRequest":{"method":"POST","header":[{"key":"x-access-token","type":"text","value":"{{access_token}}"},{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"created_at\": \"2020-12-03T13:00:37.964958Z\",\r\n    \"id\": \"5fc8e1752695927c2da6d9f6\",\r\n    \"account\": \"5ecc246c6040b70001f3075d\",\r\n    \"source\": \"uber eats\",\r\n    \"channelOrderDisplayId\": \"BC953\",\r\n    \"channelOrderId\": \"f9f363d1-e1c2-4595-b477-c649845bc953\",\r\n    \"customer\": {\r\n        \"email\": \"aurelien.joncour@menlog.com\",\r\n        \"name\": \"Aurelien J\",\r\n        \"phoneNumber\": \"0909090909\"\r\n    },\r\n    \"deliveryAddress\": {\r\n        \"city\": \"Pont-l'Abbé\",\r\n        \"extraAddressInfo\": \"\",\r\n        \"postalCode\": \"29120\",\r\n        \"street\": \"Rue Georges Clemenceau\",\r\n        \"streetNumber\": \"14\"\r\n    },\r\n    \"orderTotal\": {\r\n        \"subtotal\": 4.6,\r\n        \"discount\": 0,\r\n        \"tax\": 0,\r\n        \"tip\": 0,\r\n        \"deliveryFee\": 5,\r\n        \"total\": 9.6\r\n    },\r\n    \"deliveryIsAsap\": true,\r\n    \"deliveryTime\": \"2020-12-03T13:00:38Z\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": 1,\r\n            \"sku\": \"we4za*4Ze5lddV!!!P3I!!\",\r\n            \"price\": 4.6,\r\n            \"name\": \"MENU P'TIT DEJ \",\r\n            \"quantity\": 1,\r\n            \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\",\r\n            \"description\": \"\",\r\n            \"subItems\": [\r\n                {\r\n                    \"productType\": 4,\r\n                    \"sku\": \"m_cSF6b*4Ze5lddV!!!P3I!!_0\",\r\n                    \"price\": 0,\r\n                    \"name\": \"CHOCOLAT - PETIT \",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": \"produit_on_formule\",\r\n                    \"description\": \"PRSUBSTITU\",\r\n                    \"subItems\": []\r\n                },\r\n                {\r\n                    \"productType\": 4,\r\n                    \"sku\": \"m_F7Hoa*4Ze5lddV!!!P3I!!_0\",\r\n                    \"price\": 0,\r\n                    \"name\": \"PAIN AU CHOCOLAT\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": \"produit_on_formule\",\r\n                    \"description\": \"\",\r\n                    \"subItems\": []\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"location\": \"5f082ca8668f6dfdadbef766\",\r\n    \"note\": \"No sugar on cofee\",\r\n    \"orderType\": \"DELIVERY\",\r\n    \"pickupTime\": \"2020-12-03T13:00:38Z\",\r\n    \"status\": \"NEW_ORDER\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://k8s.zybbo.com/delivery/v1/otter/{{uuidclient}}/{{uuidmagasin}}"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":""},{"id":"9023d454-faea-4375-9518-5ba03a128a19","name":"Meal Deal With Extra Topping","originalRequest":{"method":"POST","header":[{"key":"x-access-token","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"created_at\": \"2020-12-03T13:00:37.964958Z\",\r\n    \"id\": \"5fc8e1752695927c2da6d9f6\",\r\n    \"account\": \"5ecc246c6040b70001f3075d\",\r\n    \"source\": \"uber eats\",\r\n    \"channelOrderDisplayId\": \"BC953\",\r\n    \"channelOrderId\": \"f9f363d1-e1c2-4595-b477-c649845bc953\",\r\n    \"customer\": {\r\n        \"email\": \"aurelien.joncour@menlog.com\",\r\n        \"name\": \"Aurelien J\",\r\n        \"phoneNumber\": \"0909090909\"\r\n    },\r\n    \"deliveryAddress\": {\r\n        \"city\": \"Pont-l'Abbé\",\r\n        \"extraAddressInfo\": \"\",\r\n        \"postalCode\": \"29120\",\r\n        \"street\": \"Rue Georges Clemenceau\",\r\n        \"streetNumber\": \"14\"\r\n    },\r\n    \"orderTotal\": {\r\n        \"subtotal\": 3.4,\r\n        \"discount\": 0,\r\n        \"tax\": 0,\r\n        \"tip\": 0,\r\n        \"deliveryFee\": 5,\r\n        \"total\": 8.4\r\n    },\r\n    \"deliveryIsAsap\": true,\r\n    \"deliveryTime\": \"2020-12-03T13:00:38Z\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": 1,\r\n            \"sku\": \"QLzya*4Ze5lddV!!!P3I!!\",\r\n            \"price\": 2.4,\r\n            \"name\": \"MENU EXPRESS\",\r\n            \"quantity\": 1,\r\n            \"idCategory\": \"Gb9aAPS2f5*eL0Zq9InbI*\",\r\n            \"description\": \"\",\r\n            \"subItems\": [\r\n                {\r\n                    \"productType\": 4,\r\n                    \"sku\": \"m_F7Hoa*4Ze5lddV!!!P3I!!_0\",\r\n                    \"price\": 0,\r\n                    \"name\": \"PAIN AU CHOCOLAT\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": \"produit_on_formule\",\r\n                    \"description\": \"\",\r\n                    \"subItems\": []\r\n                },\r\n                {\r\n                    \"productType\": 4,\r\n                    \"sku\": \"m_B1tma*4Ze5lddV!!!P3I!!_0\",\r\n                    \"price\": 0,\r\n                    \"name\": \"LUNGO PETIT \",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": \"produit_on_formule\",\r\n                    \"description\": \"\",\r\n                    \"subItems\": [\r\n                        {\r\n                            \"productType\": 2,\r\n                            \"sku\": \"c_i9oma*4Ze5lddV!!!P3I!!_50\",\r\n                            \"price\": 0.5,\r\n                            \"name\": \"CARAMEL\",\r\n                            \"quantity\": 1,\r\n                            \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\r\n                            \"description\": \"\",\r\n                            \"subItems\": []\r\n                        },\r\n                        {\r\n                            \"productType\": 2,\r\n                            \"sku\": \"c_p9oma*4Ze5lddV!!!P3I!!_50\",\r\n                            \"price\": 0.5,\r\n                            \"name\": \"CHANTILLY\",\r\n                            \"quantity\": 1,\r\n                            \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\r\n                            \"description\": \"\",\r\n                            \"subItems\": []\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"location\": \"5f082ca8668f6dfdadbef766\",\r\n    \"note\": \"\",\r\n    \"orderType\": \"DELIVERY\",\r\n    \"pickupTime\": \"2020-12-03T13:00:38Z\",\r\n    \"status\": \"NEW_ORDER\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://k8s.zybbo.com/delivery/v1/otter/{{uuidclient}}/{{uuidmagasin}}"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":""},{"id":"b9f4bd8f-7204-4781-b000-314db45d9a3e","name":"Meal deal with upsell products","originalRequest":{"method":"POST","header":[{"key":"x-access-token","type":"text","value":"{{access_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"created_at\": \"2020-12-03T13:00:37.964958Z\",\r\n    \"id\": \"5fc8e1752695927c2da6d9f6\",\r\n    \"account\": \"5ecc246c6040b70001f3075d\",\r\n    \"source\": \"uber eats\",\r\n    \"channelOrderDisplayId\": \"BC953\",\r\n    \"channelOrderId\": \"f9f363d1-e1c2-4595-b477-c649845bc953\",\r\n    \"customer\": {\r\n        \"email\": \"aurelien.joncour@menlog.com\",\r\n        \"name\": \"Aurelien J\",\r\n        \"phoneNumber\": \"0909090909\"\r\n    },\r\n    \"deliveryAddress\": {\r\n        \"city\": \"Pont-l'Abbé\",\r\n        \"extraAddressInfo\": \"\",\r\n        \"postalCode\": \"29120\",\r\n        \"street\": \"Rue Georges Clemenceau\",\r\n        \"streetNumber\": \"14\"\r\n    },\r\n    \"orderTotal\": {\r\n        \"subtotal\": 8,\r\n        \"discount\": 0,\r\n        \"tax\": 0,\r\n        \"tip\": 0,\r\n        \"deliveryFee\": 5,\r\n        \"total\": 13\r\n    },\r\n    \"deliveryIsAsap\": true,\r\n    \"deliveryTime\": \"2020-12-03T13:00:38Z\",\r\n    \"items\": [\r\n        {\r\n            \"productType\": 1,\r\n            \"sku\": \"3*bya*4Ze5lddV!!!P3I!!\",\r\n            \"price\": 6.5,\r\n            \"name\": \"MENU DUO \",\r\n            \"quantity\": 1,\r\n            \"idCategory\": \"l6Xma*4Ze5lddV!!!P3I!!\",\r\n            \"description\": \"\",\r\n            \"subItems\": [\r\n                {\r\n                    \"productType\": 4,\r\n                    \"sku\": \"m_74dva*4Ze5lddV!!!P3I!!_0\",\r\n                    \"price\": 0,\r\n                    \"name\": \"SANDWICH AVOCAT ÉDAM CAROTTE CORIANDRE\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": \"produit_on_formule\",\r\n                    \"description\": \"\",\r\n                    \"subItems\": []\r\n                },\r\n                {\r\n                    \"productType\": 4,\r\n                    \"sku\": \"m_0YUDb*4Ze5lddV!!!P3I!!_0\",\r\n                    \"price\": 0,\r\n                    \"name\": \"THE GLACE PASSION AGRUME - CLASSIQUE\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": \"produit_on_formule\",\r\n                    \"description\": \"PRSUBSTITU\",\r\n                    \"subItems\": []\r\n                },\r\n                {\r\n                    \"productType\": 4,\r\n                    \"sku\": \"m_J5V1b*4Ze5lddV!!!P3I!!_100\",\r\n                    \"price\": 1,\r\n                    \"name\": \"ESPRESSO - SIMPLE\",\r\n                    \"quantity\": 1,\r\n                    \"idCategory\": \"produit_on_formule\",\r\n                    \"description\": \"PRSUBSTITU\",\r\n                    \"subItems\": [\r\n                        {\r\n                            \"productType\": 2,\r\n                            \"sku\": \"c_i9oma*4Ze5lddV!!!P3I!!_50\",\r\n                            \"price\": 0.5,\r\n                            \"name\": \"CARAMEL\",\r\n                            \"quantity\": 1,\r\n                            \"idCategory\": \"CpPma*4Ze5lddV!!!P3I!!\",\r\n                            \"description\": \"\",\r\n                            \"subItems\": []\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"location\": \"5f082ca8668f6dfdadbef766\",\r\n    \"note\": \"No sugar on cofee\",\r\n    \"orderType\": \"DELIVERY\",\r\n    \"pickupTime\": \"2020-12-03T13:00:38Z\",\r\n    \"status\": \"NEW_ORDER\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://k8s.zybbo.com/delivery/v1/otter/{{uuidclient}}/{{uuidmagasin}}"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3b20d5b0-2f3d-4e15-a462-f81d31309412"}]}