Alterar item do checklist
PUT
/api/seller/external/v1/task/{id}/checklist/{itemId}
curl --request PUT \ "https://api.spelt.com.br/api/seller/external/v1/task/architecto/checklist/architecto" \ --header "Authorization: Bearer splt_live_SUA_CHAVE" \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --data "{ \"title\": \"architecto\", \"done\": false}"const url = new URL( "https://api.spelt.com.br/api/seller/external/v1/task/architecto/checklist/architecto");
const headers = { "Authorization": "Bearer splt_live_SUA_CHAVE", "Content-Type": "application/json", "Accept": "application/json",};
let body = { "title": "architecto", "done": false};
fetch(url, { method: "PUT", headers, body: JSON.stringify(body),}).then(response => response.json());$client = new \GuzzleHttp\Client();$url = 'https://api.spelt.com.br/api/seller/external/v1/task/architecto/checklist/architecto';$response = $client->put( $url, [ 'headers' => [ 'Authorization' => 'Bearer splt_live_SUA_CHAVE', 'Content-Type' => 'application/json', 'Accept' => 'application/json', ], 'json' => [ 'title' => 'architecto', 'done' => false, ], ]);$body = $response->getBody();print_r(json_decode((string) $body));import requestsimport json
url = 'https://api.spelt.com.br/api/seller/external/v1/task/architecto/checklist/architecto'payload = { "title": "architecto", "done": false}headers = { 'Authorization': 'Bearer splt_live_SUA_CHAVE', 'Content-Type': 'application/json', 'Accept': 'application/json'}
response = requests.request('PUT', url, headers=headers, json=payload)response.json()Renomeia, ou marca e desmarca. Quem marca fica registrado (done_by_id). Devolve o checklist inteiro.
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
ULID da tarefa.
itemId
required
string
ULID do item.
Request Body
Seção intitulada “Request Body”Media typeapplication/json
object
title
Texto do item.
string
done
True = feito; false = pendente.
boolean
Responses
Seção intitulada “Responses”Media typeapplication/json
object
data
Array<object>
object
object
string
id
string
task_id
string
title
string
position
integer
done
boolean
done_at
string
done_by_id
string
Example
{ "data": [ { "object": "task_checklist_item", "id": "01JA0000000000000000000050", "task_id": "01JA0000000000000000000010", "title": "Enviar a proposta", "position": 0, "done": true, "done_at": "2026-11-28T10:00:00-03:00", "done_by_id": "01JA0000000000000000000040" } ]}Media typeapplication/json
object
error
string
Example
{ "error": "Recurso não encontrado"}