---
title: "Get Order Fields"
method: GET
path: "/api/order-fields"
tags: ["Orders"]
---

# Get Order Fields

`GET /api/order-fields`

Returns the available fields for creating orders, including core fields
and custom fields configured by the tenant.

## Response `200`

Order field definitions

- object
  - `core_fields` FieldDefinition[]
    - `key` string — Field identifier
    - `label` string — Display label
    - `type` 'text' | 'date' — Field type
    - `required` boolean — Whether the field is required
  - `custom_fields` CustomFieldDefinition[]
    - `id` integer — Custom field ID
    - `key` string — Field identifier (used as key in custom_fields object)
    - `label` string — Display label
    - `type` 'text' | 'date' | 'select' | 'multiselect' | 'file' | 'people' | 'company' | 'product' — Field type
    - `required` boolean — Whether the field is required
    - `options` string[], nullable — Available options for select/multiselect fields
    - `default_value` unknown
    - `help_text` string, nullable — Help text shown to users
  - `tenant` object
    - `id` integer
    - `name` string

## Other responses

- `400` — No tenant found
- `401` — Unauthorized

---

[API](https://skmtc.dev/titletrackr/apis/titletrackr-api.md) · [All operations](https://skmtc.dev/titletrackr/apis/titletrackr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/titletrackr/titletrackr-api/revisions/ada9d8edbfb2/schema)
