Skip to main content
DELETE
/
order
Cancel Single Order
curl --request DELETE \
  --url https://poly.drive.markets/order \
  --header 'Content-Type: application/json' \
  --header 'POLY-API-KEY: <poly-api-key>' \
  --header 'POLY-NONCE: <poly-nonce>' \
  --header 'POLY-SIGNATURE: <poly-signature>' \
  --header 'POLY-TIMESTAMP: <poly-timestamp>' \
  --data '{
  "orderID": "<string>"
}'
{
  "canceled": [
    "<string>"
  ],
  "not_canceled": {}
}
Polymarket Docs

Headers

POLY-API-KEY
string
required

API key of the user

POLY-SIGNATURE
string
required

Request signature

POLY-TIMESTAMP
string
required

Timestamp of the request

POLY-NONCE
string
required

Request nonce

Body

application/json
orderID
string
required

ID of order to cancel

Response

200 - application/json

Cancellation response

canceled
string[]

List of canceled order IDs

not_canceled
object

Map of order ID to reason why it couldn't be canceled