Orders
Access Levels
Group: shop, order_managment
Resource: orders
Order statuses
These endpoints use the following values to represent the status of an order:
-
status
1 - Pending
sub_status
1 - Waiting Payment
-
status
2 - Processing
-
status
3 - Dispatched
-
status
4 - Refunded
-
status
5 - Cancelled
List all orders
Param |
Type |
Required |
Description |
date_purchased__from |
datetime |
Optional |
Orders after a certain date yyyy-mm-dd hh:mm:ss |
date_purchased__to |
datetime |
Optional |
Orders up to a certain date yyyy-mm-dd hh:mm:ss |
status |
INT |
Optional |
Get orders by status 1 = X, 2 = X etc |
customer_id |
INT |
Optional |
Get orders from a single customer |
Response
Get a single order
Response
Update an order
The request can either be sent as a form post or JSON. The structure is the same as a single order and all fields are optional
Response