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

List service insurance companies

List the tenant's insurance companies — the insurers the tenant's service orders name, each linked to the customer record that stands for it. The list is the intake wizard's insurer picker: picking an entry puts its customerUid on the service order as insuranceCompanyCustomerUid. Pass deprecated to list only the deprecated entries or only the ones still offered; left out, every entry is listed. A deprecated entry stays in the list but is not offered in the picker. 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 insurance companies reads them, and the service screens read them to work. 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/insurancecompanies
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
deprecatedbooleanOptional

Filter by the deprecated flag: true lists only the deprecated entries, false only the entries still offered in the picker. Left out, every entry is listed.

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/insurancecompanies
GET /v2/tenants/{tenantUid}/serviceorders/insurancecompanies HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "items": [
    {
      "insuranceCompanyUid": "text",
      "tenantUid": "text",
      "name": "text",
      "customerUid": "text",
      "customerName": "text",
      "deprecated": 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?