Skip to main content
POST
/
v1
/
orders
/
batched
/
modify
Modify Multiple Orders
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>"
  ]
}

Authorizations

X-PM-Access-Key
string
header
required

Your API key ID (UUID). Generate at polymarket.us/developer.

X-PM-Timestamp
string
header
required

Unix timestamp in milliseconds. Must be within 30 seconds of server time.

X-PM-Signature
string
header
required

Base64-encoded Ed25519 signature of timestamp + method + path. See Authentication for details.

Body

application/json

Request to modify multiple orders in a single batched request

Batched modify-order request.

orders
object[]
required

Orders to modify (1 to 20).

Required array length: 1 - 20 elements

Response

Orders modified successfully

modifiedOrderIds
string[]

Order IDs submitted for modification, in request order. Echo of the input, not a confirmation. Watch the order stream for actual outcomes.