---
title: "Create Order"
method: POST
path: "/api/orders/"
tags: ["orders", "orders"]
---

# Create Order

`POST /api/orders/`

## Request

- Base URL: `https://marketcrew.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://marketcrew.ai/api/orders/`
- Auth: HTTP bearer

Create a new order

## Request body

- OrderCreate: Order creation model
  - `financial_instrument_id` string, uuid, required
  - `order_type` 'buy' | 'sell', required: Order types
  - `execution_type` 'market' | 'limit': Order execution types
  - `quantity` number, required: Number of shares/units
  - `price` number, nullable: Target price (optional for market orders)
  - `valid_until` string, date-time, nullable: Order expiration date (null for GTC - Good Till Cancelled)

## Response `200`

Successful Response

- APIResponse: Generic API response model
  - `success` boolean, required
  - `message` string, required
  - `data` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/marketcrew/apis/cappilot.md) · [All operations](https://skmtc.dev/marketcrew/apis/cappilot/llms.txt) · [OpenAPI document](https://skmtc.dev/marketcrew/apis/cappilot/revisions/7036e9c74d40?raw)
