---
title: "Create a new order"
method: POST
path: "/orders"
tags: ["Orders"]
---

# Create a new order

`POST /orders`

## Request

- Base URL: `https://api.physikit.com/v2`
- URL: `https://api.physikit.com/v2/orders`
- Auth: HTTP bearer

Create a new order entry in the system. The order is associated with a kit ID. The response includes the full order record with timestamps.

## Request body

- OrderCreateRequest
  - `panel_id` string, required: ID of the panel this order belongs to
  - `kit_id` string, nullable: Assigned Physikit kit identifier (if known at order time)
  - `customer_order_id` string, nullable: Primary reference in the customer’s system
  - `customer_order_id_2` string, nullable: Secondary reference in the customer’s system
  - `first_name` string, nullable: Patient’s first name
  - `last_name` string, nullable: Patient’s last name
  - `email` string, nullable: E-mail for the patient
  - `address_line_1` string, nullable: Street address (line 1)
  - `address_line_2` string, nullable: Address complement (line 2)
  - `city` string, nullable: City
  - `zip_code` string, nullable: Postal / ZIP code
  - `country` string, nullable: ISO country name or code, e.g. “Germany”
  - `consent` boolean, nullable: Whether the patient has given consent (true / false)

## Response `201`

Successful Response

- OrderDetailResponse
  - `id` string, uuid, required
  - `panel_id` string, required
  - `kit_id` string, nullable, required
  - `status` 10 | 11 | 20 | 21 | 22 | 30 | 31 | 40 | 41 | 42 | 98 | 99, required
  - `note` string, nullable, required
  - `first_name` string, nullable
  - `last_name` string, nullable
  - `email` string, nullable
  - `address_line_1` string, nullable
  - `address_line_2` string, nullable
  - `city` string, nullable
  - `zip_code` string, nullable
  - `country` string, nullable
  - `consent` boolean
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Unprocessable Content
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/physikit/apis/physikit-api.md) - [All operations](https://skmtc.dev/physikit/apis/physikit-api/llms.txt) - [OpenAPI document](https://skmtc.dev/physikit/apis/physikit-api/revisions/c997ee521963?raw)
