Get order by code
GET/customers/:customer_code/orders/:reference_id
Returns detailed information about a specific order.
An order acknowledged with 201 is readable here immediately for as long
as it is open. The venue's order-status index lags the acknowledgement by
about one second, so an order that leaves the open state within that
window (for example an IOC order that fills at once) may return 404
until the index catches up. Retry after a second in that case.
A cancel or fill is reported here as soon as it is booked, usually within a fraction of a second, even while the venue's order-status index still lists the order as open.
An order refused at placement (400 with INSUFFICIENT_FUNDS or
ORDER_REJECTED from POST .../orders) is not created as an order, so
its reference returns 404; the reason is in the 400 response.
A reference used for more than one order returns the open one, or the one updated last when none is open. For about a second after a reference is used again, the previous order may still be returned.
Request
Responses
- 200
- 401
- 403
- 404
- 429
- 500
Order details
Authentication required or credentials invalid
Insufficient permissions for the requested resource
The requested resource was not found
Rate limit exceeded — retry after the period indicated in Retry-After header
Response Headers
Number of seconds to wait before retrying the request
Internal server error