Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": 23,
- "total": "15.000",
- "delivery_charge": "5.000",
- "discount": "0.000",
- "store_id": 1,
- "branch_id": 1,
- "user_id": null,
- "driver_id": null,
- "address_id": 1,
- "delivery_address": "Al Shuhada Street Dasman, Kuwait City, 15463, Kuwait",
- "delivery_phone": "+96566219103",
- "delivery_name": "Demo Customer",
- "delivery_longitude": "47.9892770000000000",
- "delivery_latitude": "29.3774689000000000",
- "delivery_altitude": null,
- "estimated_delivery_at": "2022-05-25 23:12:07",
- "estimated_preparation_at": "2022-05-25 22:32:07",
- "with_cutlery": 1,
- "status": "Pending",
- "currency": "KD",
- "is_closed": 0,
- "owner_type": "App\\Models\\Customer",
- "owner_id": 1,
- "created_at": "2022-05-25 22:12:07",
- "updated_at": "2022-05-25 22:12:07",
- "deleted_at": null,
- "owner": {
- "id": 1,
- "name": "Demo Customer",
- "phone": "+96566219103",
- "email": "demo@customer.com",
- "pin": null,
- "password": "$2y$10$Ny/DTGLeOSTP2cCv56QpD.In5.jlmOxR14jav6p8bRyOyMmvQLmam",
- "date_of_birth": "1996-02-09",
- "pin_try": 0,
- "is_locked": 0,
- "last_login_at": "2022-05-27 19:18:10",
- "last_order_at": null,
- "created_at": "2022-05-17 11:42:15",
- "updated_at": "2022-05-27 19:18:10",
- "deleted_at": null,
- "addresses": [
- {
- "id": 1,
- "area": null,
- "address_type": null,
- "block": null,
- "street": null,
- "avenue": null,
- "building": null,
- "floor_number": null,
- "apartment_number": null,
- "additional_directions": null,
- "phone": "+96566219103",
- "name": "Demo Customer",
- "address": "Al Shuhada Street Dasman, Kuwait City, 15463, Kuwait",
- "longitude": "47.9892770000000000",
- "latitude": "29.3774689000000000",
- "altitude": null,
- "last_used_at": null,
- "owner_type": "App\\Models\\Customer",
- "owner_id": 1,
- "created_at": "2022-05-17 11:42:15",
- "updated_at": "2022-05-17 11:42:15",
- "deleted_at": null
- }
- ]
- },
- "address": {
- "id": 1,
- "area": null,
- "address_type": null,
- "block": null,
- "street": null,
- "avenue": null,
- "building": null,
- "floor_number": null,
- "apartment_number": null,
- "additional_directions": null,
- "phone": "+96566219103",
- "name": "Demo Customer",
- "address": "Al Shuhada Street Dasman, Kuwait City, 15463, Kuwait",
- "longitude": "47.9892770000000000",
- "latitude": "29.3774689000000000",
- "altitude": null,
- "last_used_at": null,
- "owner_type": "App\\Models\\Customer",
- "owner_id": 1,
- "created_at": "2022-05-17 11:42:15",
- "updated_at": "2022-05-17 11:42:15",
- "deleted_at": null
- },
- "branch": {
- "id": 1,
- "name": "Hawally Branch",
- "phone": "+96550555365",
- "email": "zad_alkheir_resturant@gmail.com",
- "description": "Sandwiches and Shawarma",
- "is_locked": 0,
- "base_delivery_zone_radius_in_meters": 0,
- "max_delivery_zone_radius_in_meters": 0,
- "base_delivery_charge": "5.000",
- "status": "Open",
- "busy_status": "Busy",
- "longitude": "48.0158700000000000",
- "latitude": "29.3319700000000000",
- "altitude": null,
- "address": "شارع 215، مدينة الكويت،",
- "store_id": 1,
- "blob_id": 111,
- "created_at": "2022-05-17 11:41:43",
- "updated_at": "2022-05-17 11:41:43",
- "deleted_at": null,
- "store": {
- "id": 1,
- "name": "Zad Al Kheir Restaurant",
- "phone": "+96522651511",
- "email": "info@zad_alkheir_resturant",
- "status": "Open",
- "blob_id": 101,
- "cover_image_id": 102,
- "is_locked": 0,
- "business_hours": null,
- "deleted_at": null,
- "created_at": "2022-05-17 11:41:43",
- "updated_at": "2022-05-17 11:41:43"
- }
- },
- "driver": null,
- "products": [
- {
- "id": 35,
- "branch_product_id": 1,
- "product_name": null,
- "additional_details": null,
- "order_id": 23,
- "qty": 1,
- "unit_price": "10.000",
- "additional_price": "0.000",
- "created_at": "2022-05-25T19:12:07.000000Z",
- "updated_at": "2022-05-25T19:12:07.000000Z",
- "product": {
- "id": 1,
- "name": "Pizza Al Padellino",
- "name_ar": "بيتزا الباديلينو",
- "description": null,
- "description_ar": null,
- "base_price": "10.000",
- "base_preparation_time_in_minutes": 20,
- "is_hidden": 0,
- "in_stock": 1,
- "store_id": 1,
- "blob_id": 123,
- "deleted_at": null,
- "created_at": "2022-05-17 11:41:53",
- "updated_at": "2022-05-17 11:41:53",
- "pivot": {
- "id": 1,
- "price": "10.000",
- "preparation_time_in_minutes": 20,
- "number_of_orders": 0,
- "last_order_date": null,
- "is_composite": 0,
- "branch_id": 1,
- "product_id": 1,
- "created_at": null,
- "updated_at": null,
- "deleted_at": null
- }
- },
- "additions": [],
- "branch_product": {
- "id": 1,
- "price": "10.000",
- "preparation_time_in_minutes": 20,
- "number_of_orders": 0,
- "last_order_date": null,
- "is_composite": 0,
- "branch_id": 1,
- "product_id": 1,
- "created_at": null,
- "updated_at": null,
- "deleted_at": null,
- "product": {
- "id": 1,
- "name": "Pizza Al Padellino",
- "name_ar": "بيتزا الباديلينو",
- "description": null,
- "description_ar": null,
- "base_price": "10.000",
- "base_preparation_time_in_minutes": 20,
- "is_hidden": 0,
- "in_stock": 1,
- "store_id": 1,
- "blob_id": 123,
- "deleted_at": null,
- "created_at": "2022-05-17 11:41:53",
- "updated_at": "2022-05-17 11:41:53",
- "pivot": {
- "id": 1,
- "price": "10.000",
- "preparation_time_in_minutes": 20,
- "number_of_orders": 0,
- "last_order_date": null,
- "is_composite": 0,
- "branch_id": 1,
- "product_id": 1,
- "created_at": null,
- "updated_at": null,
- "deleted_at": null
- }
- }
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement