Update service order intake form
Update a service order intake form. The placements list replaces the fields on the form — a field left out of the list is removed from it, and archived fields cannot be placed. The service type and the store of a form cannot be changed. Editing a tenant-wide form — one with an empty storeUid — requires SERVICE_CONFIG, and a store-level caller's edit of a tenant form is refused: clone it instead and edit the store's own copy, which then wins for that store. The seeded default form is read-only and refuses this call with a 409; clone it to get an editable copy. The level check applies to this call only when it leaves a form unarchived, since an update never moves a form between levels. Setting archived is therefore never refused for a level, while clearing it on a form whose level another active form has taken meanwhile is refused with a 409 naming that level — the store already has a form for this service type, or the tenant does. A form never conflicts with itself, so an ordinary edit of an existing form is never a level conflict, and the seeded default occupies no level and never causes the refusal. A level that was free when the client last read it may have been taken since, so a 409 is answered by re-reading and trying again rather than by retrying the same call. A placement can be made conditional with visibleWhen, so that it is shown at intake only while the field it names holds the value it names. That field must be of type BOOLEAN, SELECT or MULTI_SELECT, not marked sensitive, and placed on the same form at a lower position — and it may itself be conditional, so conditions can be chained down a branch. A form whose condition breaks any of those rules, names an equals the field cannot hold, or closes a cycle is rejected. An edit applies to the service orders already created from the form as well: they name the form rather than carry a copy of it. An update of one of them is checked only for what it changes, so a question added or made required afterwards is never demanded of it until an answer it sends shows that question (formValues on the update). Forms are never deleted — set archived to take a form out of use. An archived form is kept for the service orders created from it, but is never resolved for new service orders.
Required permissions: SERVICE_STORE_CONFIG, SERVICE_CONFIG
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a service order intake form
^[A-Za-z0-9-_]+An update of an intake form. The placements list replaces the fields on the form — a field left out of the list is removed from the form. The store and the service type of a form are set when it is created and cannot be updated. A tenant-wide form is edited only with SERVICE_CONFIG; a store that needs a different form clones it and edits the copy instead. Archived fields cannot be placed on a form. A placement made conditional with visibleWhen must name a field of type BOOLEAN, SELECT or MULTI_SELECT that is not marked sensitive, placed on the same form at a lower position, and its equals must be a value that field can hold. Conditions may be chained down a branch, but a form whose condition breaks any of those rules, or whose conditions close a cycle, is rejected.
The name of the form.
Set to true to take the form out of use. An archived form is never resolved for new service orders.
Example response
An intake form: the ordered set of fields that is filled in when a service order of a given service type is created. A form belongs either to a single store or to the whole tenant. A store form always wins over the tenant form for the same service type, and the tenant form wins over the seeded default form. A tenant-wide form is edited only with SERVICE_CONFIG; a store that needs a different form clones it and edits the copy, which then wins for that store. Forms are never deleted — archive a form to take it out of use. storeUid is an empty string on a tenant-wide form.
^[A-Za-z0-9-_]+^[A-Za-z0-9-_]+^[A-Za-z0-9-_]*^[A-Za-z0-9-_]+The name of the form.
An archived form is kept for the service orders created from it, but is never resolved for new service orders.
PUT /v2/tenants/{tenantUid}/serviceorders/forms/{serviceFormUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 167
{
"name": "text",
"archived": true,
"placements": [
{
"serviceFormFieldUid": "text",
"position": 1,
"required": true,
"visibleWhen": {
"serviceFormFieldUid": "text",
"equals": "text"
}
}
]
}Example response
{
"serviceFormUid": "text",
"tenantUid": "text",
"storeUid": "text",
"serviceTypeUid": "text",
"name": "text",
"archived": true,
"placements": [
{
"serviceFormFieldUid": "text",
"position": 1,
"required": true,
"visibleWhen": {
"serviceFormFieldUid": "text",
"equals": "text"
},
"fieldKey": "text",
"label": "text",
"fieldType": "TEXT",
"systemKind": "SERIAL_NUMBER",
"sensitive": true,
"selectOptions": [
"text"
],
"validation": "text",
"note": "text"
}
],
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "text",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"lastModifiedBy": "text"
}Last updated
Was this helpful?

