> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Update checklist item

> Update a Trello checklist item's text, state, order, date, reminder, or assignee.

`updateCheckItem` changes one checklist item through its containing card.

```ts automations/complete-trello-check-item.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { updateCheckItem } from "automate.ax/trello"

export default automation("Complete Trello checklist item", () => {
  onHttpRequest({ scope: "automation" })
  updateCheckItem({ card: "card-id", itemId: "item-id", state: "complete" })
})
```

`card` and `itemId` are required. Provide at least one of `name`, `state: "complete" | "incomplete"`, `position`, `dueAt`, `clearDue`, `dueReminder`, or `memberId`. Dates accept `Date` or an ISO timestamp with offset; reminders are integers of at least `-1`. `clearDue` and `dueAt` are mutually exclusive. Optional `account` defaults to the project binding.

Returns the updated `TrelloCheckItem`. Trello requires the card because checklist-item updates are addressed through the card resource.
