Update service insurance company
Update an insurance company entry. A field that is left out keeps its stored value; a field that is sent replaces it. Linking the entry to another customer record changes which record the picker puts on the service orders registered from now on; the service orders that already carry the previous record as their insurer keep it. Set deprecated to take the insurer out of the picker while the entry stays in the list.
Required permissions: SERVICE_CONFIG
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a service insurance company entry
^[A-Za-z0-9-_]+The editable parts of an insurance company entry. A field that is left out keeps its stored value; a field that is sent replaces it. The name must not be blank and is unique within the tenant, compared exactly as sent. customerUid must be one of the tenant's customers, and a customer record is linked by at most one entry; a name or a customer another entry already holds is refused. Set deprecated to take the insurer out of the picker while the entry stays in the list.
What the insurer is called, as it is shown in the picker.
The customer record that stands for the insurer.
^[A-Za-z0-9-_]+A deprecated entry stays in the list but is not offered in the picker.
Example response
An insurance company entry: one of the insurers the tenant's service orders name, linked to the customer record that stands for it. The tenant's entries are the intake wizard's insurer picker — picking one puts its customerUid on the service order as insuranceCompanyCustomerUid, so no service order references the entry itself and it is deletable at any time. The entry goes with its customer record: deleting the record deletes the entry, and merging the record into another customer moves the entry to that customer. customerName is the linked customer's display name as it reads now. A deprecated entry stays in the list but is not offered in the picker.
^[A-Za-z0-9-_]+^[A-Za-z0-9-_]+What the insurer is called, as it is shown in the picker. Unique within the tenant.
The customer record that stands for the insurer. Linked by this entry alone.
^[A-Za-z0-9-_]+The linked customer's display name as it reads now.
A deprecated entry stays in the list but is not offered in the picker.
PUT /v2/tenants/{tenantUid}/serviceorders/insurancecompanies/{insuranceCompanyUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"name": "text",
"customerUid": "text",
"deprecated": true
}Example response
{
"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"
}Last updated
Was this helpful?

