OGWUGO API DOCUMENTATION

  1. Home
  2. Docs
  3. OGWUGO API DOCUMENTATION
  4. Food Riders
  5. Rider View Single Assigned Order

Rider View Single Assigned Order

A rider assigned to an order can view the details. if rider is not assigned no way.

PATH

[GET]   /order/view/{order_id}?rider_id={rider_id}

PARAMETERS:

Param type required comment
rider_id str 1

 

RESPONSE:

{
    "data": {
        "id": 352,
        "bidder": 16,
        "store_id": 15,
        "buyer_pickup": "0",
        "food_subscription": 0,
        "amount": 700,
        "invoice_number": "iogw161001352",
        "paid_date": "",
        "creation_date": 1528119559,
        "is_mobile": 0,
        "cart_time": 1528119518,
        "cart_id": 47,
        "cart_ip": "::1",
        "coupon": 2,
        "coupon_amount": 100,
        "address": 46,
        "shipping_fee": 300,
        "billing": 46,
        "delivery": 0,
        "delivery_time": {
            "id": 1,
            "title": "Now Now!",
            "status": 1
        },
        "payment": 3,
        "comment": "",
        "payment_method": {
            "id": 3,
            "name": "POS On Delivery",
            "reference": "POS for products less than 20k",
            "url": "https://ogwugo.com",
            "icon": "MYCORDOVA/images/site/payment/pos.jpg",
            "server": "delivery",
            "status": 1,
            "public_key_md5": "",
            "private_key_md5": "",
            "bank": 3,
            "teller_number": ""
        },
        "bitcoin_wallet": "",
        "paid": 1,
        "confirm_payment": 0,
        "payment_verify_by": 1,
        "notify": 0,
        "paid_by": "pos_cash_on_del",
        "status": 2,
        "admin_edit": 16,
        "shipper": 3,
        "instant_delivery_guy": 54,
        "rider_assigned_by_admin_id": 16,
        "dcode": "162ed1af",
        "platform": null,
        "buyer_pick_up_code": "hidden_from_rider",
        "shipping_tracking": "",
        "comment_rejection": "",
        "comment_accepted": "",
        "comment_admin": "",
        "bank_name": "",
        "teller": "dfgf dghjhgtredfg ertghgf dfgf dghjhgtredfg ertghgf dfgf dghjhgtredfg ertghgf",
        "bank_date": "",
        "bank_comment": "",
        "bank_amount": "",
        "created_at": "2018-06-04 14:39:19",
        "updated_at": "2018-11-07 09:28:03",
        "picked_at": "2018-09-28 18:36:22",
        "dispatched_at": "2018-09-28 18:36:22",
        "dispatched_by": 16,
        "delivered_at": "2018-09-28 18:36:22",
        "shipping_returned_by": 0,
        "base_shipping_fee": 0,
        "packaging_fee": 0,
        "distance_accrued_fee": 0,
        "encoded_id": "TUstdNEfFel8j310352UTstfENdTUstdNEf",
        "dispatch_code": "162ed1af",
        "with_paystack_fee": 71050,
        "shipping_address": {
            "id": 46,
            "owner": 16,
            "title": "Bethel Plaza",
            "email": "[email protected]",
            "company": "Ogwugo",
            "address": "Suit C5 Ogwugo Office",
            "latitude": "6.449617099999999",
            "longitude": "7.4925766",
            "city": 12,
            "state": 15,
            "country": "NG",
            "zip": 234042,
            "ogwugo_area_location": 0,
            "phone": "08066424512",
            "info": "",
            "names": "Ben",
            "type": "shipping",
            "status": 0,
            "created_at": "2018-05-31 07:23:27",
            "updated_at": null,
            "validated": 0
        },
        "shipping_company": {
            "id": 3,
            "name": "Ntachi Sharp Sharp",
            "shipper_currency": 1,
            "email": null,
            "address": "Enugu Nigeria",
            "owner": "store",
            "logo_url": null,
            "status": 1,
            "ogwugo_location": 1
        },
        "order_items": [
            {
                "id": 770,
                "invoice": 352,
                "product": 42,
                "price": 24321,
                "cost_price": 0,
                "remiter_price": 123,
                "quantity": 1,
                "filter_attr": "",
                "promo": 0,
                "dispatch": 0,
                "dispatch_time": 0,
                "received": 0,
                "remiter": 0,
                "remittance": "",
                "notify_store": 0,
                "created_at": "2018-03-16 16:38:51",
                "updated_at": "2018-11-07 10:20:33",
                "status": 1,
                "dispatched_at": "0000-00-00 00:00:00",
                "product_detail": {
                    "id": 42,
                    "name": "NEW FOOD TESTING",
                    "weight": 1,
                    "price": 24321,
                    "price_sale": 23221,
                    "url": ""
                },
                "documentation": "WARNING: the product price in product_details is not the purchased item price."
            },
            {
                "id": 771,
                "invoice": 352,
                "product": 62,
                "price": 24321,
                "cost_price": 0,
                "remiter_price": 123,
                "quantity": 1,
                "filter_attr": "",
                "promo": 0,
                "dispatch": 0,
                "dispatch_time": 0,
                "received": 0,
                "remiter": 0,
                "remittance": "",
                "notify_store": 0,
                "created_at": "2018-03-16 16:38:51",
                "updated_at": "2018-11-07 10:20:37",
                "status": 1,
                "dispatched_at": "0000-00-00 00:00:00",
                "product_detail": {
                    "id": 62,
                    "name": "NEW FOOD TESTING",
                    "weight": 1,
                    "price": 24321,
                    "price_sale": 23221,
                    "url": ""
                },
                "documentation": "WARNING: the product price in product_details is not the purchased item price."
            },
            {
                "id": 772,
                "invoice": 352,
                "product": 893,
                "price": 3000,
                "cost_price": 0,
                "remiter_price": 0,
                "quantity": 1,
                "filter_attr": "",
                "promo": 1,
                "dispatch": 0,
                "dispatch_time": 0,
                "received": 0,
                "remiter": 0,
                "remittance": "",
                "notify_store": 0,
                "created_at": "2018-03-23 11:48:36",
                "updated_at": "2018-11-07 10:20:41",
                "status": 1,
                "dispatched_at": "0000-00-00 00:00:00",
                "product_detail": null,
                "documentation": "WARNING: the product price in product_details is not the purchased item price."
            },
            {
                "id": 773,
                "invoice": 352,
                "product": 77,
                "price": 450,
                "cost_price": 0,
                "remiter_price": 0,
                "quantity": 1,
                "filter_attr": "",
                "promo": 0,
                "dispatch": 1,
                "dispatch_time": 1538038818,
                "received": 0,
                "remiter": 0,
                "remittance": "",
                "notify_store": 0,
                "created_at": "2018-06-04 14:39:19",
                "updated_at": "2018-09-28 17:36:23",
                "status": 1,
                "dispatched_at": "2018-09-28 18:36:22",
                "product_detail": {
                    "id": 77,
                    "name": "NEW FOOD TESTING",
                    "weight": 1,
                    "price": 24321,
                    "price_sale": 23221,
                    "url": ""
                },
                "documentation": "WARNING: the product price in product_details is not the purchased item price."
            }
        ],
        "order_store_details": {
            "id": 15,
            "name": "Ntachi Osa",
            "store_currency": 1,
            "wallet": 3000,
            "wallet_status": 1,
            "upcoming_commission": 0,
            "store_shipping_handling_id": 3,
            "owner": 43,
            "fname": "Ntachi",
            "lname": "Osa",
            "specials_banner": "UPLOADS/stores/images/1505316571_banner_Ntachi-Osa-special-order.jpg",
            "banner_url": "UPLOADS/stores/images/1505399494_banner_Ntachi-Osa4.jpg",
            "banner_b": "UPLOADS/stores/images/1505399494_banner_Ntachi-Osa1.jpg",
            "banner_c": "UPLOADS/stores/images/1505399494_banner_Ntachi-Osa3.jpg",
            "banner_title": "hmm",
            "logo_url": "UPLOADS/stores/images/1505317373_logo_Store-Logos-ntachi3.png",
            "logo_public_id": "",
            "banner_public_id": "",
            "banner_b_public_id": "",
            "banner_c_public_id": "",
            "s_banner_public_id": "",
            "status": 1,
            "state": 15,
            "address": "New Haven Junction",
            "latitude": "",
            "longitude": "",
            "validate_address": 0,
            "city": "Enugu",
            "store_city": null,
            "phone": 2147483647,
            "mobile": "08066424512",
            "verify_mobile": "1",
            "email": "[email protected]",
            "url": "ntachiosa",
            "location": 12,
            "ogwugo_location": 1,
            "ogwugo_food": 1,
            "shipping_info": "",
            "store_type": "Manufacturer",
            "store_forms": 4,
            "rating": 2,
            "store_description": "Ntachi Osa is a food restaurant located at the heart of Enugu state Nigeria. We are always ready to serve our customers better and give them maximum satisfaction. We cook all kinds of african delicacies like Egusi soup, Oha/Ora soup, Bitterleaf soup and other tasty soup. Hot swallow food is also available to go along with the soup. More so we sell continental dishes like Fried rice, white rice and chicken sauce for your delight. We are masters of taste order now on ogwugo and have it delivered to your door step as soon as possible.",
            "tags": "African restaurant, Swallow fufu, garri. Egusi soup, Bitterleaf soup, Ora/Oha soup",
            "short_desc": "Ntachi Osa sells delicious African and continental dishes. We are one of Enugu state standard restaurant with good food management, well prepared and neatly served food for your delight.",
            "creation_date": 1502872303,
            "store_bank": 8,
            "bvn": "",
            "account_number": "3042114733",
            "account_name": "OKOKOH BENJAMIN EKUMA",
            "featured": 1,
            "commision_type": "percentage",
            "percentage_commision_amount": 6,
            "flat_rate_commision_amount": 50,
            "created_at": "2018-02-08 11:34:08",
            "updated_at": "2018-10-29 11:09:09"
        }
    },
    "status": "success",
    "message": "order details listed",
    "error": {
        "detail": "done",
        "code": "200"
    }
}

 

Was this article helpful to you? Yes No

How can we help?