Configuration Menu (GraphQL)
Query field: menuAdminConfigurationMenu.
This is the discovery operation — it returns the configuration schema tree (Section → Group → Field group → Field). Call it first to learn which fields a section has, each field's dotted code (the key you read and write), its type, default, scoping flags, validation, and options. See the Configuration overview for how Menu, Values, and Update fit together.
Selection set
The query exposes two fields: slug (echoes the requested scope) and tree (the schema, a JSON array — select it bare; it is not a typed sub-object).
Arguments
| Argument | Type | Notes |
|---|---|---|
slug | String | Optional. Scopes the response to one node, e.g. sales.order_settings. Omit to return the whole tree. |
include_values | Boolean | When true, embeds each field's current value (resolved with channel / locale). |
channel | String | Channel code used when resolving values. Defaults to the default channel. |
locale | String | Locale code used when resolving values. Defaults to the app locale. |
Arguments are snake_case
The flag is include_values, not includeValues. All admin GraphQL query arguments use snake_case in this API.
Field shape
Each leaf field in tree[*]…fields[] carries:
| Key | Meaning |
|---|---|
name | Short field name within its group. |
code | Fully-qualified dotted path (e.g. sales.order_settings.reorder.admin). Use this to read / write. |
title | Human-readable label (already translated). |
type | text, textarea, boolean, select, multiselect, password, image, file, or custom. |
default | Default used when no value has been saved. |
channelBased / localeBased | Whether the field is scoped per channel / per locale. |
validation | Laravel validation string applied on Update (server-enforced). |
options | For select / multiselect — array of { title, value }. |
depends, info | Optional UI hints. |
customView | Set for type: "custom" (blade-rendered) fields. These are read-only via the API. |
value | Only present when include_values: true — the field's current value (a string, or null if unset). |
Errors
| Cause | Response |
|---|---|
Unknown slug | errors[] — slug not registered. |
| Unauthenticated | errors[] — admin Bearer token required. |

