Method GET
- List user orders
path:
/orders/list/{user_id}
lists all user order in pagination..
2. GET single order details.
[GET] /orders/user/{user_id}?order={order_id}
3. change payment method of the order/invoice
[GET] /invoicing/update/{order_id}?user={user_id}&payment_method_id={id}&ref=
4. Delete, Pause, Enable Order
[POST] /invoice_manage/action
Auth data | DataType [default] | Detail |
---|---|---|
invoice_id | int. | req |
action | str. ENUM (delete,pause,enable) | reg |
marketYrID | int. | optional |
5. Accept Order
path:
[POST] /invoice_manage/accept_order
Auth data | DataType [default] | Detail |
---|---|---|
invoice_id | int. | req |
comment | str. | reg |
marketYrID | int. | optional |
you might want to read about market_year in the system.
6. Reject Order
[POST] /invoice_manage/reject_order
Auth data | DataType [default] | Detail |
---|---|---|
invoice_id | int. | req |
comment | str. | reg |
marketYrID | int. | optional |
if the item delivered is not ok for the buyer, he/she can click reject order.