For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

get
/orders/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Query parameters
pageintegerOptional

The page number to return.

Default: 1
limitintegerOptional

The number of items to return per page.

Default: 10
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
idintegerOptional

Filter by exact order identifier.

statusstring · enumOptional

The lifecycle status of an order. Values are numeric strings that increase as the order progresses through its lifecycle.

ValueNameDescription
50cancellation_waitingCancellation requested, pending.
100cancelledOrder cancelled.
200waitingOrder created; payment not yet confirmed.
300payment_waitingPayment initiated, awaiting confirmation.
350confirmation_waitingAwaiting manual confirmation.
400approvedPayment confirmed; order approved for fulfilment.
430waiting_for_substituteWaiting for a substitute product.
450preparingOrder being prepared / packed.
500shippedOrder dispatched to carrier.
510shipped_and_informedOrder shipped and customer notified.
520ready_for_pickupReady for in-store collection.
540attempted_deliveryDelivery attempted; recipient unavailable.
544review_startedTrade-in review started.
545review_waitingTrade-in review waiting.
546waiting_for_paymentWaiting for trade-in payment.
547paidTrade-in payment received.
550deliveredOrder delivered to customer.
600refundedOrder refunded.
700mergedAdd-on order merged into main order.
Example: 400Possible values:
numberstringOptional

Filter by exact order number.

user_emailstring · emailOptional

Filter by the email address of the customer who placed the order.

created_datestring · date-timeOptional

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.

is_payablebooleanOptional

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.

easy_return_codestringOptional

Filter by easy-return shipment code. Returns orders that have a cancellation request with an easy-return entry matching this code.

Responses
200

A paginated list of orders.

application/json

A paginated list of orders.

countintegerOptional

Total number of orders matching the request filters.

nextstring · nullableOptional

URL of the next page, or null if this is the last page.

previousstring · nullableOptional

URL of the previous page, or null if this is the first page.

get/orders/
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?