templates/Doc/Json/order-mode-take-out-with-logged-user.json line 1

Open in your IDE?
  1. {
  2.   "object": "order",
  3.   "created": "2024-05-10T14:46:50.000000+02:00",
  4.   "event": "new",
  5.   "param": [],
  6.   "data": {
  7.     "id": 3181,
  8.     "createdAt": "2024-05-10T14:46:50.000000+02:00",
  9.     "date": "2024-05-11T10:25:00+02:00",
  10.     "asap": false,
  11.     "preparationNumber": 65,
  12.     "tableNumber": null,
  13.     "notes": null,
  14.     "state": "in_progress",
  15.     "paymentState": "awaiting_payment",
  16.     "itemsTotal": 1000,
  17.     "discountsTotal": 0,
  18.     "managementFees": 100,
  19.     "shippingCost": 0,
  20.     "fees": 0,
  21.     "total": 1100,
  22.     "source": "foxorders-front",
  23.     "createdByGuest": false,
  24.     "deliveryAddress": null,
  25.     "externalId": null,
  26.     "promotion": null,
  27.     "customer": {
  28.       "id": 48305,
  29.       "email": "john.doe@foxorders.com",
  30.       "firstName": "John",
  31.       "lastName": "Doe",
  32.       "phone": "0987898789",
  33.       "anonymous": false
  34.     },
  35.     "shop": {
  36.       "id": 81,
  37.       "name": "Mts restaurant"
  38.     },
  39.     "shopMode": {
  40.       "id": 167,
  41.       "mode": {
  42.         "code": "take-out",
  43.         "name": "Emporter"
  44.       }
  45.     },
  46.     "payment": [],
  47.     "setting": {
  48.       "customerIdentifier": "table_easel",
  49.       "value": "10",
  50.       "cutlery": false
  51.     },
  52.     "loyalty": null,
  53.     "orderItems": [
  54.       {
  55.         "id": 3857,
  56.         "note": "",
  57.         "quantity": 2,
  58.         "unitPrice": 100,
  59.         "unitsTotal": 100,
  60.         "discountsTotal": 0,
  61.         "taxesTotal": 173.55,
  62.         "total": 100,
  63.         "free": false,
  64.         "serveLater": false,
  65.         "product": {
  66.           "id": 1512,
  67.           "externalId": null,
  68.           "name": "pizza Tajin",
  69.           "price": 100,
  70.           "tax": {
  71.             "rate": 0.21
  72.           },
  73.           "options": [
  74.             {
  75.               "id": 495,
  76.               "externalId": null,
  77.               "name": "Limonade",
  78.               "optionVariant": [
  79.                 {
  80.                   "id": "Over 9 levels deep, aborting normalization",
  81.                   "externalId": "Over 9 levels deep, aborting normalization",
  82.                   "name": "Over 9 levels deep, aborting normalization",
  83.                   "price": "Over 9 levels deep, aborting normalization",
  84.                   "quantity": "Over 9 levels deep, aborting normalization"
  85.                 }
  86.               ]
  87.             }
  88.           ],
  89.           "sku": "FOX_6735EF3F27F22",
  90.           "imageUrl": null,
  91.           "categories": [
  92.             {
  93.               "id": 190,
  94.               "externalId": null,
  95.               "name": "EntrĂ©e"
  96.             },
  97.             {
  98.               "id": 191,
  99.               "externalId": null,
  100.               "name": "Pizza"
  101.             },
  102.             {
  103.               "id": 192,
  104.               "externalId": null,
  105.               "name": "Poisson"
  106.             }
  107.           ]
  108.         }
  109.       }
  110.     ]
  111.   }
  112. }