Skip to main content
POST
Cancel an order

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Authorization
string
header
required

JWT access token returned by POST /auth/verify. Required for user-tier routes.

Path Parameters

orderId
string
required

Body

application/json
cancelSignature
object

Self-custody Polymarket limit orders only; omit it for managed orders. An EIP-712 signature by the order's signing wallet (the signingAddress the order was placed with) over Polymarket's CLOB L1 auth message: domain { name: "ClobAuthDomain", version: "1", chainId: 137 }, primary type ClobAuth with fields address (address), timestamp (string), nonce (uint256), message (string), where address is the signing wallet, timestamp is the timestamp below encoded as a decimal string, nonce is 0, and message is "This message attests that I control the given wallet". Ask the user to sign when they cancel. The signature is never persisted or logged. The CLOB credentials derived from it are used only for this request and are not stored.

Response

200

quoteId
string | null
required
orderIds
string[]
required
status
enum<string>
required
Available options:
cancelled,
cancel_pending