Every Rider will collect pick_up_code/ delivery/ acceptance code from the buyer and use it to mark the order as delivered. if payment is cash/pos he will summit the teller /transaction details.
PATH
[POST] /order/mark/as/paid/delivered
PARAMETERS:
| Param | type | required | comment |
|---|---|---|---|
| order_id | int | 1 | |
| rider_id | int | 1 | |
| acceptance_code | str | 1 | a compulsory code from the buyer to show goods arrived his place and he accepted it. |
| payment_detail | str | 1 | [textarea] this will include: Cash Book ID: <for ref purpose> POS Trans Ref: Bank: payment method: etc. |
RESPONSE: