Get Orders

Get Orders

GET https://{admin-domain-name}/api/delivery/get-delivery-orders

This endpoint allows you to get accepted orders of delivery boy and new orders.

Headers

Name
Type
Description

Authorization

string

Value should be "Bearer auth_token"

{
    "accepted_orders": [
        {
            "id": "0b4dd240-0d51-11eb-b442-13910ed68d52",
            "unique_order_id": "OD-10-13-7E2A-72KZBEK4Q",
            "orderstatus_id": 4,
            "user_id": "1dd32200-f715-11ea-843f-93ef47b9ed3e",
            "coupon_name": null,
            "location": "{\"lat\":\"13.0037834\",\"lng\":\"80.2569061\",\"address\":\"40123, 2nd Main Rd, Nehru Nagar, Adyar, Chennai, Tamil Nadu 600020, India\",\"house\":null,\"tag\":null}",
            "address": ", 40123, 2nd Main Rd, Nehru Nagar, Adyar, Chennai, Tamil Nadu 600020, India",
            "tax": null,
            "restaurant_charge": null,
            "delivery_charge": "0.00",
            "total": 180,
            "created_at": "2020-10-13 18:08:49",
            "updated_at": "2020-10-20 14:46:34",
            "payment_mode": "COD",
            "order_comment": null,
            "restaurant_id": "81f94780-f0dd-11ea-b62e-ad066232460d",
            "transaction_id": null,
            "delivery_type": 1,
            "payable": "180.00",
            "awb": null,
            "delivery_partner": null,
            "tracking_data": null,
            "invoice_number": null,
            "invoice_date": null,
            "created_by": "1dd32200-f715-11ea-843f-93ef47b9ed3e",
            "updated_by": "7d77d080-f0f2-11ea-917e-3f5b9d25653a",
            "payment_id": null,
            "hdfc_bank_ref_no": null,
            "wallet_transaction_id": null,
            "pg_order_id": null,
            "affiliate_id": null,
            "affiliate_type": "",
            "restaurant": {
                "id": "81f94780-f0dd-11ea-b62e-ad066232460d",
                "name": "RAPuram",
                "description": "desc",
                "location_id": null,
                "image": "/assets/img/restaurants/1599464474eOT2bMFpBb.jpg",
                "rating": "5",
                "delivery_time": "45",
                "price_range": "150",
                "is_pureveg": 1,
                "slug": "rapuram-SpCrgoOQtjayEY0",
                "placeholder_image": null,
                "latitude": "13.025684",
                "longitude": "80.257622",
                "certificate": "33ADYPR0507N3ZY",
                "restaurant_charges": null,
                "delivery_charges": "0.00",
                "address": "NO.10/2, IV MAIN ROAD, R.A.PURAM,CHENNAI-600 028.",
                "pincode": null,
                "landmark": null,
                "sku": "1599464474NwbTh3XXBH",
                "is_active": 1,
                "is_accepted": 1,
                "is_featured": 0,
                "commission_rate": "0.00",
                "delivery_type": 3,
                "delivery_radius": "3.00",
                "delivery_charge_type": "FIXED",
                "base_delivery_charge": null,
                "base_delivery_distance": null,
                "extra_delivery_charge": null,
                "extra_delivery_distance": null,
                "min_order_price": "150.00",
                "is_notifiable": 0,
                "auto_acceptable": 0,
                "schedule_data": "{\"monday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"tuesday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"wednesday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"thursday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"friday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"saturday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"sunday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}]}",
                "is_schedulable": 1,
                "api_key": null,
                "secret_key": null,
                "currency_id": null,
                "city": "Chennai",
                "state": "Tamil",
                "phone": "+919898989899",
                "razorpay_account_id": null,
                "created_by": "475aff30-ed99-11ea-8df8-25a173967410",
                "updated_by": "475aff30-ed99-11ea-8df8-25a173967410",
                "account_mail": null,
                "business_name": null,
                "ifsc_code": null,
                "acc_holder_name": null,
                "account_type": null,
                "account_number": null,
                "hdfc_merchant_id": "268344",
                "food_engine_integration": 1
            }
        }
        ],
    "new_orders": [
        {
            "id": "4486a680-19d0-11eb-9c58-1987560ec504",
            "unique_order_id": "OD-10-29-EA7O-EJ3M4EKM7",
            "orderstatus_id": 2,
            "user_id": "43000700-0d23-11eb-9fb0-934fee36781f",
            "coupon_name": null,
            "location": "{\"lat\":\"13.0011774\",\"lng\":\"80.2564957\",\"address\":\"Muthu Nadar Plaza, Kamraj Ave 2nd St, Venkata Rathinam Nagar, Adyar, Chennai, Tamil Nadu 600020, India\",\"house\":null,\"tag\":null}",
            "address": ", Muthu Nadar Plaza, Kamraj Ave 2nd St, Venkata Rathinam Nagar, Adyar, Chennai, Tamil Nadu 600020, India",
            "tax": null,
            "restaurant_charge": 0,
            "delivery_charge": null,
            "total": 252,
            "created_at": "2020-10-29 15:49:45",
            "updated_at": "2020-10-29 17:12:13",
            "payment_mode": "COD",
            "order_comment": null,
            "restaurant_id": "3b2cb370-f0dd-11ea-a557-f3c043b281b2",
            "transaction_id": null,
            "delivery_type": 1,
            "payable": "252.00",
            "awb": null,
            "delivery_partner": null,
            "tracking_data": null,
            "invoice_number": null,
            "invoice_date": null,
            "created_by": "43000700-0d23-11eb-9fb0-934fee36781f",
            "updated_by": "149cff00-03d8-11eb-87bc-d3eea53803d8",
            "payment_id": null,
            "hdfc_bank_ref_no": null,
            "wallet_transaction_id": null,
            "pg_order_id": null,
            "affiliate_id": null,
            "affiliate_type": null,
            "restaurant": {
                "id": "3b2cb370-f0dd-11ea-a557-f3c043b281b2",
                "name": "Adyar",
                "description": null,
                "location_id": null,
                "image": "/assets/img/restaurants/15994643554AuFE8HYdr.jpg",
                "rating": "5",
                "delivery_time": "20",
                "price_range": "250",
                "is_pureveg": 1,
                "slug": "adyar-9lzb8jjoCDxglA1",
                "placeholder_image": null,
                "latitude": "13.007223",
                "longitude": "80.250061",
                "certificate": "GST: 33AAHCS3270Q1ZX",
                "restaurant_charges": "0.00",
                "delivery_charges": null,
                "address": "NO.7,FIRST MAIN ROAD, GANDHI NAGAR, ADYAR, CHENNAI-600 020",
                "pincode": "600020",
                "landmark": null,
                "sku": "1599464355b4R1bKcruV",
                "is_active": 1,
                "is_accepted": 1,
                "is_featured": 0,
                "commission_rate": "0.00",
                "delivery_type": 3,
                "delivery_radius": "3.00",
                "delivery_charge_type": "FIXED",
                "base_delivery_charge": null,
                "base_delivery_distance": null,
                "extra_delivery_charge": null,
                "extra_delivery_distance": null,
                "min_order_price": "150.00",
                "is_notifiable": 0,
                "auto_acceptable": 0,
                "schedule_data": "{\"monday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"tuesday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"wednesday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"thursday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"friday\":[{\"open\" :\"07:00\",\"close\" :\"17:17\"}],\"saturday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}],\"sunday\":[{\"open\" :\"07:00\",\"close\" :\"22:30\"}]}",
                "is_schedulable": 1,
                "api_key": null,
                "secret_key": null,
                "currency_id": null,
                "city": "Chennai",
                "state": "Tamil",
                "phone": "+919898989898",
                "razorpay_account_id": null,
                "created_by": "475aff30-ed99-11ea-8df8-25a173967410",
                "updated_by": "475aff30-ed99-11ea-8df8-25a173967410",
                "account_mail": null,
                "business_name": null,
                "ifsc_code": null,
                "acc_holder_name": null,
                "account_type": null,
                "account_number": null,
                "hdfc_merchant_id": "268344",
                "food_engine_integration": 0
            }
        }]
        }

Last updated

Was this helpful?