# Discover available typed order fields

[All field references](/en/developers/field-reference) · [Orders](/en/developers/fields-group-orders)

`GET /v1/orders/fields`

Returns the field definitions you can use for the order header and items. The published variable key is the key in fields. Types and allowed values must be respected; file fields are transferred via uploads/files. Contains no stored customer values.

Required scopes: `"orders:read"`.

[How to read these tables](/en/developers/field-reference#reading-the-field-tables)

## Parameters

### query: starting_after

Optional. next_cursor of the previous page.

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | string | Whole value | Not allowed | — |

### query: search

Optional. Search by field name.

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | string | Whole value | Not allowed | — |

## Request body

No request body is defined for this operation.

## Response 200

200: Success

Content type: `application/json`

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | object | Whole value | Not allowed | — |
| data | object | Optional | Not allowed | Authorized response payload or documented event data. |
| data.fields | array | Optional | Not allowed | Configured order input values keyed by the published variable identifiers. |
| data.fields[] | object | Every array item | Not allowed | — |

## Response 401, 403, 422, 429, 500, 503

401: The key is missing, unknown, revoked or expired. 403: The key lacks a required scope, or the operation requires a live key. 422: Content validation failed. The response lists all affected locations at once. 429: A rate limit was reached and the request did not run. Wait for Retry-After, then repeat it unchanged. X-RateLimit-Scope names the limit: key (120 requests per minute), organization (300 per minute across all keys), write (1,000 at once, refilling at 60 per minute) or list (300 unfiltered list pages at once, refilling at 10 per minute). 500: Unexpected error on our side. 503: Temporarily unavailable. Repeat the same request with the same business identity.

Content type: `application/json`

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | object | Whole value | Not allowed | — |
| error | object | Required when parent is present | Not allowed | Machine-readable error code; use it to select the documented recovery path. |
| error.code | string | Required when parent is present | Not allowed | Machine-readable, permanently stable error code. Program against it, not against message. |
| error.message | string | Required when parent is present | Not allowed | Explanation for humans. May change at any time. |
| error.field | string | Optional | Not allowed | Affected location in the request, if it can be determined. |
| error.doc_url | string | Required when parent is present | Not allowed | Documentation link explaining this API error. format: `"uri"`. |
