For the complete documentation index, see llms.txt. This page is also available as Markdown.

List service order form fields

List the fields in the tenant's service order form field library. The list holds both populations: the platform fields, which every tenant has ready-made and only the platform controls, and the custom fields the tenant created itself. Archived fields are left out unless includeArchived is set. Without sortBy the platform fields are listed first and the tenant's custom fields after them, each group ordered by label. Labels are ordered in the tenant's language and alphabet, with sortBy label too: a platform field is ordered by its label in the tenant's language, whichever language it is served in. sortBy overrides that order, with sortDirection setting its direction; sortDirection sent without sortBy is ignored. Reading them asks for any service permission — SERVICE_ORDER or SERVICE_STORE_CONFIG at the tenant, at an organization or at any one store, or SERVICE_CONFIG, which is held at the tenant only — because whoever configures the form field library reads it. A tenant-wide ADMIN grant counts as every permission. A caller holding none of them, a user with no role assignments included, is refused with a 403.

Required permissions: SERVICE_ORDER, SERVICE_STORE_CONFIG, SERVICE_CONFIG

get
/tenants/{tenantUid}/serviceorders/formfields
Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
includeArchivedbooleanOptional

Include archived items in the response. Defaults to false.

pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUMDescription
ASCSort in ascending order
DESCSort in descending order
Possible values:
Responses
200

Example response

application/json
get/tenants/{tenantUid}/serviceorders/formfields
GET /v2/tenants/{tenantUid}/serviceorders/formfields HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "items": [
    {
      "serviceFormFieldUid": "text",
      "tenantUid": "text",
      "fieldKey": "text",
      "label": "text",
      "fieldType": "TEXT",
      "systemKind": "SERIAL_NUMBER",
      "sensitive": true,
      "selectOptions": [
        "text"
      ],
      "validation": "text",
      "note": "text",
      "archived": true,
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdBy": "text",
      "lastModifiedAt": "2026-01-01T00:00:00.000Z",
      "lastModifiedBy": "text"
    }
  ],
  "paging": {
    "pageNumber": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}

Last updated

Was this helpful?