---
title: "Cancel replace order"
method: POST
path: "/v1/trading/orders/replace"
tags: ["Trading"]
---

# Cancel replace order

`POST /v1/trading/orders/replace`

Requests modification of a working order

## Request body

- CancelReplaceOrderRequest
  - `orderId` string
  - `clordId` string
  - `symbol` string
  - `price` string, int64
  - `orderQty` string, int64
  - `timeInForce` 'TIME_IN_FORCE_DAY' | 'TIME_IN_FORCE_GOOD_TILL_CANCEL' | 'TIME_IN_FORCE_IMMEDIATE_OR_CANCEL' | 'TIME_IN_FORCE_GOOD_TILL_TIME' | 'TIME_IN_FORCE_FILL_OR_KILL' — TimeInForce specifies how long the order remains in effect.
  - `stopPrice` string, int64
  - `minQty` string, int64
  - `allOrNone` boolean
  - `participateDontInitiate` boolean
  - `strictLimit` boolean
  - `goodTillTime` string, date-time
  - `bestLimit` boolean
  - `immediatelyExecutableLimit` boolean
  - `manualOrderIndicator` 'MANUAL_ORDER_INDICATOR_MANUAL' | 'MANUAL_ORDER_INDICATOR_AUTOMATED' — ManualOrderIndicator designates the manual or automated nature of an order.

## Response `200`

A successful response.

- CancelReplaceOrderResponse

---

[API](https://skmtc.dev/polymarket/apis/portfolio-api.md) · [All operations](https://skmtc.dev/polymarket/apis/portfolio-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/polymarket/portfolio-api/revisions/150874842db1/schema)
