You are viewing documentation for Polymarket US πΊπΈ
curl --request POST \
--url https://api.polymarket.us/v1/orders/batched/modify \
--header 'Content-Type: application/json' \
--header 'X-PM-Access-Key: <api-key>' \
--header 'X-PM-Signature: <api-key>' \
--header 'X-PM-Timestamp: <api-key>' \
--data '
{
"orders": [
{
"orderId": "<string>",
"marketSlug": "<string>",
"quantity": 123,
"tif": "TIME_IN_FORCE_DAY",
"participateDontInitiate": true,
"goodTillTime": "<string>"
}
]
}
'{
"modifiedOrderIds": [
"<string>"
]
}Modify up to 20 existing orders in a single request. Each entry is forwarded to the exchange as a cancel-replace. If any entry fails request-shape validation, the whole batch is rejected by the gateway before reaching the exchange. The exchange may silently ignore unknown orderIds. modifiedOrderIds is an echo of the request, not a confirmation; observe actual outcomes on the order stream.
curl --request POST \
--url https://api.polymarket.us/v1/orders/batched/modify \
--header 'Content-Type: application/json' \
--header 'X-PM-Access-Key: <api-key>' \
--header 'X-PM-Signature: <api-key>' \
--header 'X-PM-Timestamp: <api-key>' \
--data '
{
"orders": [
{
"orderId": "<string>",
"marketSlug": "<string>",
"quantity": 123,
"tif": "TIME_IN_FORCE_DAY",
"participateDontInitiate": true,
"goodTillTime": "<string>"
}
]
}
'{
"modifiedOrderIds": [
"<string>"
]
}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.
Your API key ID (UUID). Generate at polymarket.us/developer.
Unix timestamp in milliseconds. Must be within 30 seconds of server time.
Base64-encoded Ed25519 signature of timestamp + method + path. See Authentication for details.
Request to modify multiple orders in a single batched request
Batched modify-order request.
Orders to modify (1 to 20).
1 - 20 elementsShow child attributes
Orders modified successfully
Order IDs submitted for modification, in request order. Echo of the input, not a confirmation. Watch the order stream for actual outcomes.