Submit New Order

View as MarkdownOpen in Claude

Submit a new order(s) ticket, bracket, or OCA group.

Path parameters

accountIdstringRequired
The account to which the order will clear.

Request

This endpoint expects an object.
orderslist of objectsOptional
Array of order tickets objects. Only one order ticket object may be submitted per request, unless constructing a bracket.

Response

Order submission response (success, error, reply is required or order reject)

orderSubmitSuccesslist of objects
A successful submission of one or more order tickets.
OR
orderReplyMessagelist of objects
An array containing objects that each deliver the order reply messages emitted against one order ticket in the submission request's array. Indicies of the order reply message objects in this array correspond to the indicies of the order tickets in the submission request's array.
OR
orderSubmitErrorobject
Indicates that the order reply message or submission was not accepted.
OR
advancedOrderRejectobject
Relates a message generated in response to the rejection of the submitted order ticket. In some cases, it may also present a mechanism to resubmit the same order following a prompted decision.

Errors

401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error