Overview /
Operations /
Update a checklist item
Update a checklist item
patch
https://api.flactrum.com/v1/checklist-items/{item}
| Required scope | checklists.write |
| Success status | 200 |
| Returns | One ChecklistItem object |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| item * | path | string | ULID of the record. |
Request body
| Field | Type | Description |
|---|---|---|
| checklist_id * | string | — |
| label * | string | — |
| type * | string | — |
| options | array | Required when type is select. |
| is_required | boolean | — |
| sort_order | integer | — |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| checklist_id | string | — |
| label | string | — |
| type | string | — |
| options | array|null | Only for select items. |
| is_required | boolean | — |
| sort_order | integer | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X PATCH 'https://api.flactrum.com/v1/checklist-items/01m43mzc4n4q0thpea8w4ka262' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Content-Type: application/json' \
-d '{
"sort_order": 2
}'
HTTP 200 · application/json
{
"data": {
"id": "01m43mzc4n4q0thpea8w4ka262",
"checklist_id": "01m43mzc4523f88t6zg0sgdhsc",
"label": "Buzdolabı sıcaklığı",
"type": "number",
"options": null,
"is_required": true,
"sort_order": 2
}
}