> ## 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.

# Create Order

> Create a Polymarket order for a Polygon wallet.



## OpenAPI

````yaml /openapi.json post /api/v1/wallet/pol/{wallet_id}/order
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:
    post:
      tags:
        - Polygon
      summary: Create Order
      description: Create a Polymarket order for a Polygon wallet.
      operationId: create-polygon-order
      parameters:
        - name: wallet_id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - token_id
                - side
                - type
                - amount
                - units
              properties:
                token_id:
                  type: string
                  description: Polymarket token ID as a numeric string.
                side:
                  type: string
                  description: '`BUY` or `SELL`.'
                type:
                  type: string
                  description: '`MARKET`, `LIMIT`, or `STOPLOSS`.'
                amount:
                  type: string
                  description: Order amount as string or number.
                price:
                  type: string
                  description: >-
                    Required for `LIMIT` and `STOPLOSS`. Optional for `MARKET`
                    as a maximum slippage price. Must be greater than `0` and
                    less than or equal to `1`.
                units:
                  type: string
                  description: '`USDC` or `SHARES`.'
                time_in_force:
                  type: string
                  description: >-
                    Order time in force. Supported values: `FOK`, `FAK`, `GTC`,
                    `GTD`. Defaults to `FOK` for `MARKET` and `GTC` for `LIMIT`
                    and `STOPLOSS`. Valid combinations: `MARKET` with `FOK` or
                    `FAK`, `LIMIT` with `GTC` or `GTD`, `STOPLOSS` with `GTC`.
                expiration:
                  type: integer
                  description: >-
                    Required when `time_in_force` is `GTD`. Unix timestamp for
                    order expiration.
      responses:
        '201':
          description: Polygon order created | Polygon stoploss created
          content:
            application/json:
              examples:
                Polygon order created:
                  value:
                    success: true
                    response:
                      order_id: >-
                        0xa1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2
                      token_id: >-
                        21742633143463906290569050155826241533067272736897614950488156847949938836455
                      side: BUY
                      type: MARKET
                      time_in_force: FOK
                      amount: '100.000'
                      shares: '152.300'
                      filled: '0.000'
                      price: '0.657'
                      fee: {}
                      units: USDC
                      status: MATCHED
                      created_at: '2026-01-01T00:00:00'
                      updated_at: '2026-01-01T00:00:00'
                Polygon stoploss created:
                  value:
                    success: true
                    response:
                      stoploss_id: ...
      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.

````