List orders
Returns a paginated list of orders, newest first.
Supports filtering by status, order number, user email, creation date range, payability, and easy return code. Use the sort parameter to change the ordering; created_date (ascending) and -created_date (descending) are supported.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by exact order identifier.
The lifecycle status of an order. Values are numeric strings that increase as the order progresses through its lifecycle.
| Value | Name | Description |
|---|---|---|
50 | cancellation_waiting | Cancellation requested, pending. |
100 | cancelled | Order cancelled. |
200 | waiting | Order created; payment not yet confirmed. |
300 | payment_waiting | Payment initiated, awaiting confirmation. |
350 | confirmation_waiting | Awaiting manual confirmation. |
400 | approved | Payment confirmed; order approved for fulfilment. |
430 | waiting_for_substitute | Waiting for a substitute product. |
450 | preparing | Order being prepared / packed. |
500 | shipped | Order dispatched to carrier. |
510 | shipped_and_informed | Order shipped and customer notified. |
520 | ready_for_pickup | Ready for in-store collection. |
540 | attempted_delivery | Delivery attempted; recipient unavailable. |
544 | review_started | Trade-in review started. |
545 | review_waiting | Trade-in review waiting. |
546 | waiting_for_payment | Waiting for trade-in payment. |
547 | paid | Trade-in payment received. |
550 | delivered | Order delivered to customer. |
600 | refunded | Order refunded. |
700 | merged | Add-on order merged into main order. |
400Possible values: Filter by exact order number.
Filter by the email address of the customer who placed the order.
Filter by exact creation date-time. The lookups created_date__gt, created_date__gte, created_date__lt, created_date__lte, created_date__date__gt, created_date__date__gte, created_date__date__lt, and created_date__date__lte are also available for range filtering.
When true, returns only orders currently eligible for payment (pay-later payment option with all trade-in items in a payment-waiting status). When false, returns only non-payable orders.
Filter by easy-return shipment code. Returns orders that have a cancellation request with an easy-return entry matching this code.
A paginated list of orders.
A paginated list of orders.
Total number of orders matching the request filters.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested page does not exist — it is past the last page or not a valid page number. Paginated list endpoints answer with 404 rather than an empty page. The literal value last is accepted and returns the final page.
GET /api/v1/remote/1/orders/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"pk": 12345,
"number": "000123456789",
"status": "400",
"currency": "try",
"user": 789,
"user_email": "customer@example.com",
"basket": null,
"shipping_option": 42,
"shipping_option_slug": "standard-delivery",
"payment_option": 34,
"payment_option_slug": "credit-card",
"card": null,
"bin_number": null,
"installment": null,
"installment_count": 1,
"installment_interest_amount": "0.00",
"segment": null,
"shipping_address": 100,
"billing_address": 101,
"checkout_provider": null,
"amount": "249.99",
"discount_amount": "0.00",
"shipping_amount": "0.00",
"shipping_tax_rate": null,
"refund_amount": "0.00",
"discount_refund_amount": "0.00",
"shipping_refund_amount": "0.00",
"invoice_number": null,
"invoice_date": null,
"e_archive_url": null,
"tracking_number": null,
"defined_tracking_url": null,
"shipping_company": null,
"shipping_tracking_url": null,
"remote_addr": "203.0.113.42",
"has_gift_box": false,
"gift_box_note": null,
"client_type": "default",
"language_code": "tr",
"notes": null,
"delivery_range": null,
"extra_field": null,
"is_payable": false,
"created_date": "2024-03-15T10:30:00Z",
"modified_date": "2024-03-15T10:35:00Z"
}
]
}Last updated
Was this helpful?

