> ## Documentation Index
> Fetch the complete documentation index at: https://api.synthesis.trade/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Order

> Update a limit order price or modify an active stoploss order.



## OpenAPI

````yaml /openapi.json put /api/v1/wallet/pol/{wallet_id}/order/{order_id}
openapi: 3.1.0
info:
  title: Synthesis API
  version: 1.0.0
  description: Unified prediction market API for Polymarket and Kalshi.
servers:
  - url: https://synthesis.trade
security: []
tags:
  - name: Projects
    description: Create and manage project accounts, sessions, and account API keys.
  - name: Accounts
    description: >-
      Authenticate and manage account-level sessions, account API keys, and
      public account preferences.
  - name: Markets
    description: Unified market discovery and analytics across Polymarket and Kalshi.
  - name: Polymarket
    description: Polymarket market data, prices, orderbooks, trades, and holders endpoints.
  - name: Kalshi
    description: Kalshi market data, events, history, leaderboard, and profile endpoints.
  - name: Wallets
    description: Wallet management routes. Each wallet supports multiple chains.
  - name: Polygon
    description: >-
      Polygon wallet routes for balances, orders, minting, redemption,
      withdrawals, and swaps.
  - name: Polygon Copytrades
    description: Polymarket copytrade configuration and management for Polygon wallets.
  - name: Solana
    description: >-
      Solana wallet routes used for Kalshi balances, KYC, orders, redemption,
      and withdrawals.
  - name: News
    description: News endpoints with market and event matching.
  - name: WebSockets
    description: >-
      Real-time streaming endpoints for orderbooks, trades, balances, and live
      data feeds.
paths:
  /api/v1/wallet/pol/{wallet_id}/order/{order_id}:
    put:
      tags:
        - Polygon
      summary: Update Order
      description: Update a limit order price or modify an active stoploss order.
      operationId: update-polygon-order
      parameters:
        - name: wallet_id
          in: path
          required: true
          schema:
            type: string
        - name: order_id
          in: path
          required: true
          description: Order or stoploss ID.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - type
              properties:
                type:
                  type: string
                  description: '`LIMIT` or `STOPLOSS`.'
                price:
                  type: string
                  description: Updated price.
                shares:
                  type: string
                  description: Updated stoploss share amount.
      responses:
        '200':
          description: Polygon order updated
          content:
            application/json:
              example:
                success: true
                response:
                  order_id: >-
                    0xf9e8d7c6b5a4f9e8d7c6b5a4f9e8d7c6b5a4f9e8d7c6b5a4f9e8d7c6b5a4f9e8
                  token_id: >-
                    21742633143463906290569050155826241533067272736897614950488156847949938836455
                  side: BUY
                  type: LIMIT
                  time_in_force: GTC
                  amount: '100.000'
                  shares: '152.300'
                  filled: '0.000'
                  price: '0.657'
                  fee: {}
                  units: SHARES
                  status: OPEN
                  created_at: '2026-01-01T00:00:00'
                  updated_at: '2026-01-01T00:00:00'
      security:
        - AccountApiKey: []
        - AccountSession: []
components:
  securitySchemes:
    AccountApiKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Account secret API key.
    AccountSession:
      type: http
      scheme: bearer
      description: Account session token.

````