Pular para o conteúdo

Incluir item no checklist

POST
/api/seller/external/v1/task/{id}/checklist
curl --request POST \
"https://api.spelt.com.br/api/seller/external/v1/task/architecto/checklist" \
--header "Authorization: Bearer splt_live_SUA_CHAVE" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"architecto\"
}"

Entra no fim. Devolve o checklist inteiro.

id
required
string

ULID da tarefa.

Media typeapplication/json
object
title
required

Texto do item.

string
Media typeapplication/json
object
data
Array<object>
object
object
string
id
string
task_id
string
title
string
position
integer
done
boolean
done_at
string | null
done_by_id
string | null
Example
{
"data": [
{
"object": "task_checklist_item",
"id": "01JA0000000000000000000050",
"task_id": "01JA0000000000000000000010",
"title": "Enviar a proposta",
"position": 0,
"done": false,
"done_at": null,
"done_by_id": null
}
]
}
Media typeapplication/json
object
message
string
Example
{
"message": "O checklist aceita até 100 itens."
}