Advertisement
hmawla

Untitled

May 27th, 2022
928
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.35 KB | None | 0 0
  1. {
  2.   "id": 23,
  3.   "total": "15.000",
  4.   "delivery_charge": "5.000",
  5.   "discount": "0.000",
  6.   "store_id": 1,
  7.   "branch_id": 1,
  8.   "user_id": null,
  9.   "driver_id": null,
  10.   "address_id": 1,
  11.   "delivery_address": "Al Shuhada Street Dasman, Kuwait City, 15463, Kuwait",
  12.   "delivery_phone": "+96566219103",
  13.   "delivery_name": "Demo Customer",
  14.   "delivery_longitude": "47.9892770000000000",
  15.   "delivery_latitude": "29.3774689000000000",
  16.   "delivery_altitude": null,
  17.   "estimated_delivery_at": "2022-05-25 23:12:07",
  18.   "estimated_preparation_at": "2022-05-25 22:32:07",
  19.   "with_cutlery": 1,
  20.   "status": "Pending",
  21.   "currency": "KD",
  22.   "is_closed": 0,
  23.   "owner_type": "App\\Models\\Customer",
  24.   "owner_id": 1,
  25.   "created_at": "2022-05-25 22:12:07",
  26.   "updated_at": "2022-05-25 22:12:07",
  27.   "deleted_at": null,
  28.   "owner": {
  29.     "id": 1,
  30.     "name": "Demo Customer",
  31.     "phone": "+96566219103",
  32.     "email": "demo@customer.com",
  33.     "pin": null,
  34.     "password": "$2y$10$Ny/DTGLeOSTP2cCv56QpD.In5.jlmOxR14jav6p8bRyOyMmvQLmam",
  35.     "date_of_birth": "1996-02-09",
  36.     "pin_try": 0,
  37.     "is_locked": 0,
  38.     "last_login_at": "2022-05-27 19:18:10",
  39.     "last_order_at": null,
  40.     "created_at": "2022-05-17 11:42:15",
  41.     "updated_at": "2022-05-27 19:18:10",
  42.     "deleted_at": null,
  43.     "addresses": [
  44.       {
  45.         "id": 1,
  46.         "area": null,
  47.         "address_type": null,
  48.         "block": null,
  49.         "street": null,
  50.         "avenue": null,
  51.         "building": null,
  52.         "floor_number": null,
  53.         "apartment_number": null,
  54.         "additional_directions": null,
  55.         "phone": "+96566219103",
  56.         "name": "Demo Customer",
  57.         "address": "Al Shuhada Street Dasman, Kuwait City, 15463, Kuwait",
  58.         "longitude": "47.9892770000000000",
  59.         "latitude": "29.3774689000000000",
  60.         "altitude": null,
  61.         "last_used_at": null,
  62.         "owner_type": "App\\Models\\Customer",
  63.         "owner_id": 1,
  64.         "created_at": "2022-05-17 11:42:15",
  65.         "updated_at": "2022-05-17 11:42:15",
  66.         "deleted_at": null
  67.       }
  68.     ]
  69.   },
  70.   "address": {
  71.     "id": 1,
  72.     "area": null,
  73.     "address_type": null,
  74.     "block": null,
  75.     "street": null,
  76.     "avenue": null,
  77.     "building": null,
  78.     "floor_number": null,
  79.     "apartment_number": null,
  80.     "additional_directions": null,
  81.     "phone": "+96566219103",
  82.     "name": "Demo Customer",
  83.     "address": "Al Shuhada Street Dasman, Kuwait City, 15463, Kuwait",
  84.     "longitude": "47.9892770000000000",
  85.     "latitude": "29.3774689000000000",
  86.     "altitude": null,
  87.     "last_used_at": null,
  88.     "owner_type": "App\\Models\\Customer",
  89.     "owner_id": 1,
  90.     "created_at": "2022-05-17 11:42:15",
  91.     "updated_at": "2022-05-17 11:42:15",
  92.     "deleted_at": null
  93.   },
  94.   "branch": {
  95.     "id": 1,
  96.     "name": "Hawally Branch",
  97.     "phone": "+96550555365",
  98.     "email": "zad_alkheir_resturant@gmail.com",
  99.     "description": "Sandwiches and Shawarma",
  100.     "is_locked": 0,
  101.     "base_delivery_zone_radius_in_meters": 0,
  102.     "max_delivery_zone_radius_in_meters": 0,
  103.     "base_delivery_charge": "5.000",
  104.     "status": "Open",
  105.     "busy_status": "Busy",
  106.     "longitude": "48.0158700000000000",
  107.     "latitude": "29.3319700000000000",
  108.     "altitude": null,
  109.     "address": "شارع 215، مدينة الكويت،",
  110.     "store_id": 1,
  111.     "blob_id": 111,
  112.     "created_at": "2022-05-17 11:41:43",
  113.     "updated_at": "2022-05-17 11:41:43",
  114.     "deleted_at": null,
  115.     "store": {
  116.       "id": 1,
  117.       "name": "Zad Al Kheir Restaurant",
  118.       "phone": "+96522651511",
  119.       "email": "info@zad_alkheir_resturant",
  120.       "status": "Open",
  121.       "blob_id": 101,
  122.       "cover_image_id": 102,
  123.       "is_locked": 0,
  124.       "business_hours": null,
  125.       "deleted_at": null,
  126.       "created_at": "2022-05-17 11:41:43",
  127.       "updated_at": "2022-05-17 11:41:43"
  128.     }
  129.   },
  130.   "driver": null,
  131.   "products": [
  132.     {
  133.       "id": 35,
  134.       "branch_product_id": 1,
  135.       "product_name": null,
  136.       "additional_details": null,
  137.       "order_id": 23,
  138.       "qty": 1,
  139.       "unit_price": "10.000",
  140.       "additional_price": "0.000",
  141.       "created_at": "2022-05-25T19:12:07.000000Z",
  142.       "updated_at": "2022-05-25T19:12:07.000000Z",
  143.       "product": {
  144.         "id": 1,
  145.         "name": "Pizza Al Padellino",
  146.         "name_ar": "بيتزا الباديلينو",
  147.         "description": null,
  148.         "description_ar": null,
  149.         "base_price": "10.000",
  150.         "base_preparation_time_in_minutes": 20,
  151.         "is_hidden": 0,
  152.         "in_stock": 1,
  153.         "store_id": 1,
  154.         "blob_id": 123,
  155.         "deleted_at": null,
  156.         "created_at": "2022-05-17 11:41:53",
  157.         "updated_at": "2022-05-17 11:41:53",
  158.         "pivot": {
  159.           "id": 1,
  160.           "price": "10.000",
  161.           "preparation_time_in_minutes": 20,
  162.           "number_of_orders": 0,
  163.           "last_order_date": null,
  164.           "is_composite": 0,
  165.           "branch_id": 1,
  166.           "product_id": 1,
  167.           "created_at": null,
  168.           "updated_at": null,
  169.           "deleted_at": null
  170.         }
  171.       },
  172.       "additions": [],
  173.       "branch_product": {
  174.         "id": 1,
  175.         "price": "10.000",
  176.         "preparation_time_in_minutes": 20,
  177.         "number_of_orders": 0,
  178.         "last_order_date": null,
  179.         "is_composite": 0,
  180.         "branch_id": 1,
  181.         "product_id": 1,
  182.         "created_at": null,
  183.         "updated_at": null,
  184.         "deleted_at": null,
  185.         "product": {
  186.           "id": 1,
  187.           "name": "Pizza Al Padellino",
  188.           "name_ar": "بيتزا الباديلينو",
  189.           "description": null,
  190.           "description_ar": null,
  191.           "base_price": "10.000",
  192.           "base_preparation_time_in_minutes": 20,
  193.           "is_hidden": 0,
  194.           "in_stock": 1,
  195.           "store_id": 1,
  196.           "blob_id": 123,
  197.           "deleted_at": null,
  198.           "created_at": "2022-05-17 11:41:53",
  199.           "updated_at": "2022-05-17 11:41:53",
  200.           "pivot": {
  201.             "id": 1,
  202.             "price": "10.000",
  203.             "preparation_time_in_minutes": 20,
  204.             "number_of_orders": 0,
  205.             "last_order_date": null,
  206.             "is_composite": 0,
  207.             "branch_id": 1,
  208.             "product_id": 1,
  209.             "created_at": null,
  210.             "updated_at": null,
  211.             "deleted_at": null
  212.           }
  213.         }
  214.       }
  215.     }
  216.   ]
  217. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement