You are viewing documentation for Polymarket US πΊπΈ
curl --request POST \
--url https://api.prod.polymarketexchange.com/v1/trading/orders/replace \
--header 'Content-Type: application/json' \
--data '
{
"orderId": "<string>",
"clordId": "<string>",
"symbol": "<string>",
"price": "<string>",
"orderQty": "<string>",
"timeInForce": "TIME_IN_FORCE_DAY",
"stopPrice": "<string>",
"minQty": "<string>",
"allOrNone": true,
"participateDontInitiate": true,
"strictLimit": true,
"goodTillTime": "2023-11-07T05:31:56Z",
"bestLimit": true,
"immediatelyExecutableLimit": true,
"manualOrderIndicator": "MANUAL_ORDER_INDICATOR_MANUAL"
}
'{}Requests modification of a working order
curl --request POST \
--url https://api.prod.polymarketexchange.com/v1/trading/orders/replace \
--header 'Content-Type: application/json' \
--data '
{
"orderId": "<string>",
"clordId": "<string>",
"symbol": "<string>",
"price": "<string>",
"orderQty": "<string>",
"timeInForce": "TIME_IN_FORCE_DAY",
"stopPrice": "<string>",
"minQty": "<string>",
"allOrNone": true,
"participateDontInitiate": true,
"strictLimit": true,
"goodTillTime": "2023-11-07T05:31:56Z",
"bestLimit": true,
"immediatelyExecutableLimit": true,
"manualOrderIndicator": "MANUAL_ORDER_INDICATOR_MANUAL"
}
'{}Documentation Index
Fetch the complete documentation index at: https://docs.polymarket.us/llms.txt
Use this file to discover all available pages before exploring further.
TimeInForce specifies how long the order remains in effect.
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 ManualOrderIndicator designates the manual or automated nature of an order.
MANUAL_ORDER_INDICATOR_MANUAL, MANUAL_ORDER_INDICATOR_AUTOMATED A successful response.
The response is of type object.