> For the complete documentation index, see [llms.txt](https://docs.flowretail.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowretail.com/docs/developers/api-documentation/service/update-service-job-type.md).

# Update service job type

Update a job type. The checklist items and the suggested products are replaced by the lists that are sent — send the whole list, in the order the items should be prompted in, and send an empty list to clear it. Changing the checklist affects the checklists submitted after the change, and the answers listed on the service orders that carry the job type: an answer belongs to the item's text, so a renamed item reads as unanswered and a removed item's answer is not listed. The items and results already snapshotted on a service order's checklist event are never rewritten. The service type the job type belongs to cannot be changed.

Required permissions: SERVICE\_CONFIG

```json
{"openapi":"3.0.2","info":{"title":"Flow Retail API version 2","version":"2.0.0"},"tags":[{"name":"Service","description":"Service"}],"servers":[{"description":"Flow Retail Production","url":"https://api.flowretail.com/v2"},{"description":"Flow Retail Stage","url":"https://api.stage.flowretail.com/v2"}],"security":[{"accessToken":[]},{"authToken":[]},{"integrationToken":[]}],"components":{"securitySchemes":{"accessToken":{"description":"Access token recevied after user login with a deviceToken","scheme":"bearer","type":"http"},"authToken":{"description":"Token received from the auth service","scheme":"bearer","type":"http"},"integrationToken":{"scheme":"bearer","type":"http"}},"responses":{"ServiceJobTypeResponse":{"description":"Example response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceJobTypeResponseSchema"}}}}},"schemas":{"ServiceJobTypeResponseSchema":{"title":"ServiceJobTypeResponseSchema","description":"A job type: the kind of work done under a service type, such as reinstalling the machine under laptop repair. A service order carries one or more job types, and they decide what is checked before it is handed over and what is suggested when the work is priced.\nchecklistItems is the ordered list of tests to run before handover. The checklist is prompted at the transition that ends the work and is either completed with a result for every item or skipped after the user confirms the skip; both outcomes are written on the service order timeline, so the log always answers whether the work was tested. Its items are answered one at a time during the work through put-serviceorders-checklist-answers, and the end-of-work prompt asks only for the items still unanswered.\nEditing a job type never rewrites history: the items and their results are snapshotted on the event when the checklist is submitted.\nA job type is deleted only while it is unused — set deprecated to take it out of use without touching the service orders that already carry it.","type":"object","required":["serviceJobTypeUid","tenantUid","serviceTypeUid","name","checklistItems","suggestedProducts","deprecated","createdAt","createdBy","lastModifiedAt","lastModifiedBy"],"properties":{"serviceJobTypeUid":{"$ref":"#/components/schemas/UID"},"tenantUid":{"$ref":"#/components/schemas/UID"},"serviceTypeUid":{"description":"The service type this job type is offered under. Set when the job type is created and never changes.","type":"string","pattern":"^[A-Za-z0-9-_]+"},"name":{"type":"string","description":"What the work is, as it is shown when picking job types."},"checklistItems":{"type":"array","description":"The tests to run before the service order is handed over, in the order they are prompted in. Empty when the job type has no checklist, in which case nothing is prompted.","items":{"type":"string"}},"suggestedProducts":{"type":"array","description":"The products offered as one-tap additions when the work on this job type is being priced. Empty when the job type suggests none.","items":{"$ref":"#/components/schemas/ServiceJobTypeSuggestedProductResponseSchema"}},"deprecated":{"type":"boolean","description":"A deprecated job type is kept for the service orders that already carry it but is no longer offered when picking job types."},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"lastModifiedAt":{"type":"string","format":"date-time"},"lastModifiedBy":{"type":"string"}}},"UID":{"title":"UID","type":"string","pattern":"^[A-Za-z0-9-_]+"},"ServiceJobTypeSuggestedProductResponseSchema":{"title":"ServiceJobTypeSuggestedProductResponseSchema","description":"A product offered as a one-tap addition when the work on a job type is being priced, as it is read back. Suggesting a product never puts it on a service order by itself — it only saves the user looking it up when the bill is built.","type":"object","required":["productUid","note"],"properties":{"productUid":{"$ref":"#/components/schemas/UID"},"note":{"type":"string","description":"What the product covers on this job type, shown next to the suggestion so the right one is picked. An empty string when no note was written."}}},"ServiceJobTypeUpdateRequestSchema":{"title":"ServiceJobTypeUpdateRequestSchema","description":"The editable parts of a job type. checklistItems and suggestedProducts are replaced by what is sent: send the whole list, in the order the items should be prompted in, and send an empty list to clear it.\nChanging the checklist affects the checklists submitted after the change, and the answers listed on the service orders that carry the job type: an answer belongs to the item's text, so a renamed item reads as unanswered and a removed item's answer is not listed. The items already snapshotted on a service order's checklist event are never rewritten.\nSet deprecated to take a job type out of use without touching the service orders that already carry it; it is only deletable while it is unused.","type":"object","required":["name"],"properties":{"name":{"type":"string","description":"What the work is, as it is shown when picking job types."},"checklistItems":{"type":"array","description":"The tests to run before the service order is handed over, in the order they should be prompted in. Send an empty list for a job type with no checklist, which is then never prompted. Each item is trimmed, and a blank item or two items that read the same after trimming are refused with a 400.","items":{"type":"string"}},"suggestedProducts":{"type":"array","description":"The products to offer as one-tap additions when the work on this job type is being priced.","items":{"$ref":"#/components/schemas/ServiceJobTypeSuggestedProductSchema"}},"deprecated":{"type":"boolean","description":"A deprecated job type is kept for the service orders that already carry it but is no longer offered when picking job types."}}},"ServiceJobTypeSuggestedProductSchema":{"title":"ServiceJobTypeSuggestedProductSchema","description":"A product offered as a one-tap addition when the work on a job type is being priced, such as the reinstall product on a reinstall job. Suggesting a product never puts it on a service order by itself — it only saves the user looking it up when the bill is built.","type":"object","required":["productUid"],"properties":{"productUid":{"$ref":"#/components/schemas/UID"},"note":{"type":"string","description":"What the product covers on this job type. Shown next to the suggestion so the right one is picked."}}}},"requestBodies":{"ServiceJobTypeUpdateRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceJobTypeUpdateRequestSchema"}}}}}},"paths":{"/tenants/{tenantUid}/serviceorders/jobtypes/{serviceJobTypeUid}":{"put":{"summary":"Update service job type","operationId":"put-serviceorders-jobtypes","description":"Update a job type. The checklist items and the suggested products are replaced by the lists that are sent — send the whole list, in the order the items should be prompted in, and send an empty list to clear it.\nChanging the checklist affects the checklists submitted after the change, and the answers listed on the service orders that carry the job type: an answer belongs to the item's text, so a renamed item reads as unanswered and a removed item's answer is not listed. The items and results already snapshotted on a service order's checklist event are never rewritten. The service type the job type belongs to cannot be changed.\n\nRequired permissions: SERVICE_CONFIG","responses":{"200":{"$ref":"#/components/responses/ServiceJobTypeResponse"},"404":{"description":"Not Found. The job type, or one of the suggested products, is not one the tenant has."}},"tags":["Service"],"requestBody":{"$ref":"#/components/requestBodies/ServiceJobTypeUpdateRequest"}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flowretail.com/docs/developers/api-documentation/service/update-service-job-type.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
