Skip to main content

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​

Order details