The request scope

Polymarket documents a condition identifier for the market and a token identifier for the asset. Both fields are needed by the market cancellation endpoint. Yes and No are separate tokens in a binary market, so a request covering both sides must be based on the market data and the account's open orders. Polymarket · Cancel Market Orders ↗

A partial result

The response has a canceled array and a not_canceled object. An order may leave the book before the request is processed. Check the listed reasons, current open orders and fills. Repeating a broad cancellation unconditionally can cancel new orders from the same strategy.

Records for reconciliation

Keep identifiers, the expected order list, timestamps and the raw response. Recheck open orders, fills and positions after the request. This establishes the account's actual state after a timeout or partial result.