The cards.find() method returns the Kanban card with the specified ID.
DayPilot.Kanban.cards.find(id);id (string | number) - ID of the card to find
Returns the matching DayPilot.Card object, or null if no card with the specified ID is found.
const card = kanban.cards.find(1);
card.data.name = "Task 1";
kanban.cards.update(card);