To an order, user can delete, pause, reject delivered food etc..
PATH
update payment method:
[POST] /invoice/update/{order_id}?user={user_id}&payment_method_id={id}&ref={paystack}
Manage Invoice (delete,pause,enable)
[POST] /manage_invoice/action
PARAMETERS:
Param | type | required | comment |
---|---|---|---|
invoice_id |
int | 1 | |
action |
str | 1 |
[ STR(delete,pause,enable)] |
user | int | 1 | user_id |
marketYrID |
int | 0 | include if not in current market year |
ACEPT / REJECT ORDER
[POST] /manage_invoice/accept_order
[POST] /manage_invoice/reject_order
PARAMETERS:
Param | type | required | comment |
---|---|---|---|
invoice_id |
int | 1 | |
action |
str | 1 |
[ STR(delete,pause,enable)] |
user | int | 1 | user_id |
comment |
str | 1 | marketYrID: include if not in current market year
|