OGWUGO API DOCUMENTATION

  1. Home
  2. Docs
  3. OGWUGO API DOCUMENTATION
  4. Food Riders
  5. View Handled Orders

View Handled Orders

View Riders Handled Orders.

The rider view orders that belong to his shipping company that has not been assigned to any rider.

Rider will see order iff the order is

PATH

[GET]    /orders/list/handled/{rider_id}?limit=2 

PARAMETERS:

Param type required comment
limit int 0 the list is paginated, limit shows number of item to display/page (default=50)
page_id int 0 default=1 use the page_id to switch to the next page. the pagination is standard restful pagination style.

 

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": 1,
            "payment": 3,
            "comment": "",
            "payment_method": "",
            "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": "hidden_from_rider",
            "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": "r5S4g9H8V8IHQPpo3523jJK9Vh8r5S4g9H8",
            "currency_sign": "🌍"
        },
        {
            "id": 336,
            "bidder": 16,
            "store_id": 15,
            "buyer_pickup": "0",
            "food_subscription": 0,
            "amount": 1000,
            "invoice_number": "iogw161001336",
            "paid_date": "",
            "creation_date": 1519040488,
            "is_mobile": 0,
            "cart_time": 1519040459,
            "cart_id": 1217,
            "cart_ip": "::1",
            "coupon": 0,
            "coupon_amount": 0,
            "address": 46,
            "shipping_fee": 250,
            "billing": 46,
            "delivery": 0,
            "delivery_time": 1,
            "payment": 3,
            "comment": "",
            "payment_method": "",
            "bitcoin_wallet": "",
            "paid": 0,
            "confirm_payment": 0,
            "payment_verify_by": 0,
            "notify": 0,
            "paid_by": "",
            "status": 2,
            "admin_edit": 0,
            "shipper": 1,
            "instant_delivery_guy": 54,
            "rider_assigned_by_admin_id": 0,
            "dcode": "hidden_from_rider",
            "platform": null,
            "buyer_pick_up_code": "hidden_from_rider",
            "shipping_tracking": "",
            "comment_rejection": "",
            "comment_accepted": "",
            "comment_admin": "",
            "bank_name": "",
            "teller": "",
            "bank_date": "",
            "bank_comment": "",
            "bank_amount": "",
            "created_at": "2018-02-19 12:41:28",
            "updated_at": "2018-09-20 16:03:19",
            "picked_at": "2018-02-26 13:32:17",
            "dispatched_at": "0000-00-00 00:00:00",
            "dispatched_by": 0,
            "delivered_at": "0000-00-00 00:00:00",
            "shipping_returned_by": 0,
            "base_shipping_fee": 0,
            "packaging_fee": 0,
            "distance_accrued_fee": 0,
            "encoded_id": "r54S67MGbABaS54r336KjJ3NGf6r54S67MG",
            "currency_sign": "🌍"
        }
    ],
    "pagination": {
        "page": {
            "current-page": 1,
            "per-page": 2,
            "from": 0,
            "to": 2,
            "total": 39,
            "loaded": 2,
            "last-page": 20,
            "first-page": 1
        },
        "links_id": {
            "first": 1,
            "prev": 0,
            "next": 2,
            "last": 20
        }
    }
}
Was this article helpful to you? Yes No

How can we help?