Orders

Update Order

Updates an Order by orderID.

patch/orders/{orderID}

Request

  • Base URL
    https://bo-api.drivewealth.io/back-office
  • URL
    https://bo-api.drivewealth.io/back-office/orders/{orderID}
  • Auth
    HTTP bearer

Path parameters

orderIDstring required

A unique DriveWealth order identifier created when an order is placed.

Example:IC.123e4567-e89b-12d3-a456-000000000049

Request body

method'CANCEL' required

The method in which is requested.

traderIDstring

The trader ID of the individual.

clientOrderTransactionTimestring

The date with a valid timestamp of when a partner received the order from the customer.

clientOrderIDstring

A unique identifier that represents the order, as defined by the partner. This detail will be reported to the CAT system for US brokers to more easily reconcile reported information.

Example request

{
  "method": "CANCEL",
  "traderID": "123e4567-e89b-12d3-a456-000000000004",
  "clientOrderTransactionTime": "2024-07-30T22:13:18.000Z",
  "clientOrderID": "5a1762d5-4562",
  "cancelDetails": {
    "initiator": "C",
    "requestedTimestamp": "2023-07-30T22:13:18.000Z",
    "manualCancel": true,
    "comment": "This order has been cancelled"
  }
}

Response

The Order was Successfully Updated.

orderIdstring

A unique identifier for the order.

orderNostring

A human readable order identifier.

Example response

{
  "orderId": "EF.123e4567-e89b-12d3-a456-000000000133",
  "orderNo": "TTTT000019"
}

Changes

No recorded changes to this operation across all 1 revision of this API.