Polymarket

Search markets, get prices, and trade on Polymarket prediction markets

Trading → Cancel Order

AI-generated

Summary

Cancel an open order on Polymarket by specifying its order ID, using API credentials for authentication.

Inputs

  • Order ID (required) — The ID of the order to cancel

Output shape

a single record indicating success and the cancelled order ID

Returns an object with success: true and the provided orderId upon successful cancellation; requires valid API credentials.

Examples

Example 1: Cancel an existing open order

Set the resource to 'Trading', operation to 'Cancel Order', and provide the 'Order ID' of the order to be cancelled.

Links

Discussion