Retrieve an order
Returns the full details of a single order identified by its primary key.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the order.
The requested order.
A customer order record.
The unique identifier of the order. Assigned by the server; read-only.
The unique order number. Auto-generated on creation using the pattern defined by the ORDER_NUMBER_GENERATOR_CONF dynamic setting.
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: ISO 4217 currency code used for the order.
tryPossible values: The identifier of the registered customer who placed the order. null for guest orders.
The email address of the customer, always present including for guest orders.
The identifier of the basket from which the order was created.
The identifier of the shipping option selected for this order.
The slug of the shipping option at the time of ordering.
The identifier of the payment option used for this order.
The slug of the payment option at the time of ordering.
The identifier of the saved card used, if applicable.
The first 6-8 digits of the credit card used, for instalment lookup.
The identifier of the instalment option selected, if applicable.
Number of instalments. 1 indicates a single (non-instalment) payment.
Additional amount charged as instalment interest. "0.00" for non-instalment orders.
The identifier of the customer segment at the time of purchase.
The identifier of the delivery address.
The identifier of the billing address.
The identifier of the checkout provider used.
Total order amount including shipping, before discounts.
Total discount applied to the order.
Shipping charge applied to the order.
Tax rate applied to the shipping charge.
Total amount refunded.
Discount portion of the refunded amount.
Shipping portion of the refunded amount.
Invoice number, set when the invoice has been issued.
Date and time the invoice was issued.
URL of the e-archive invoice document.
Carrier tracking number.
An explicitly set tracking URL, used in preference to the carrier-derived tracking URL.
The carrier used to ship the order. null if not yet assigned.
arasPossible values: The full tracking URL for the shipment.
The IP address of the customer's device at the time of ordering.
Whether the order includes a gift box.
The personal message included with the gift box.
The type of client (channel) through which the order was placed.
defaultPossible values: The language code active during the customer's session at the time of ordering.
Delivery instructions or other notes from the customer.
Unstructured JSON data attached to the order (e.g. campaign rewards, staff info for in-store orders).
Computed field. true if the order uses a pay-later payment option and all eligible trade-in items are in a payment-waiting status.
The date and time the order was created.
The date and time the order was last modified.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested order does not exist.
GET /api/v1/remote/1/orders/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"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?

