> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kraken.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Order Cancel Replace Request

> Authenticated command to modify an open order's price, quantity, or strategy.

<Note>Authenticated channel. Connect to: `wss://wss.prime.kraken.com/ws/v1`</Note>

Command used to modify an open order. Results of this command will be visible in the Order and ExecutionReport streams.

## Request

<Tabs>
  <Tab title="Request Schema">
    <ParamField path="reqid" type="number" required>
      Request ID.
    </ParamField>

    <ParamField path="type" type="string" required>
      Command type. Value: `OrderCancelReplaceRequest`
    </ParamField>

    <ParamField path="data" type="array" required>
      Replace request data array.

      <Expandable title="properties">
        <ParamField path="Symbol" type="string" required>
          Symbol of the security to submit an order on.
        </ParamField>

        <ParamField path="ClOrdID" type="string" required>
          Unique Client Order ID for this request, usually a UUID.
        </ParamField>

        <ParamField path="OrigClOrdID" type="string">
          Client Order ID of the order to cancel, one of OrderID, OrigClOrdID is required.
        </ParamField>

        <ParamField path="OrderID" type="string">
          Order ID of the order to cancel, one of OrderID, OrigClOrdID is required.
        </ParamField>

        <ParamField path="OrderQty" type="string" required>
          Order quantity in units of Currency.
        </ParamField>

        <ParamField path="Price" type="string">
          Order limit price, required for Limit orders.
        </ParamField>

        <ParamField path="TransactTime" type="string" required>
          An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z.
        </ParamField>

        <ParamField path="Strategy" type="string">
          Optional order strategy to use. For algorithmic orders Pegged, TWAP, FullAmount, TimeSliced, and SteadyPace are supported.
        </ParamField>

        <ParamField path="EndTime" type="string">
          Optional expire time for the order. An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z.
        </ParamField>

        <ParamField path="Parameters" type="object">
          Optional order strategy parameters.
        </ParamField>

        <ParamField path="Timestamp" type="string">
          Timestamp of the message.
        </ParamField>
      </Expandable>
    </ParamField>
  </Tab>

  <Tab title="Example">
    ```json theme={null}
    {
      "reqid": 14,
      "type": "OrderCancelReplaceRequest",
      "data": [
        {
          "Price": "44000",
          "Symbol": "BTC-USD",
          "OrderID": "16a55364-4248-4575-aa0b-dddd3f694ca3",
          "ClOrdID": "b5e52570-15da-11ec-b5e7-7f4881f01b7d",
          "TransactTime": "2021-09-15T04:09:24.039000Z",
          "OrderQty": "0.5",
          "Parameters": {
            "ErrorAction": "Pause"
          }
        }
      ]
    }
    ```
  </Tab>
</Tabs>
