飞书 Plus / Feishu Plus icon

飞书 Plus / Feishu Plus

飞书多维表格操作 Feishu Bitable operations with retry, circuit-breaker & full test coverage

多维表格 / Bitable → 批量更新记录 / Batch Update

AI-generated

Summary

批量更新飞书多维表格中的记录(最多 500 条)

Inputs

  • appToken (required) — 多维表格应用的唯一标识符
  • tableId (required) — 数据表的唯一标识符
  • records (required) — 记录对象数组。批量更新时每项形如 {record_id: 'x', fields: {...}}。单次最多 500 条。
  • options — 可选配置,影响返回数据的细节。

Output shape

数组,每项包含 json 字段(更新后的记录)。默认简化为仅 record_id 和 fields。

若 options.simplify 为 false,则返回完整记录;可通过 automaticFields、fieldNames、textFieldAsArray 等进一步控制返回内容。

Examples

Example 1: 将两条记录的状态字段改为 'Done'

appToken: '您的AppToken', tableId: '您的TableId', records: [ { record_id: 'rec1', fields: { Status: 'Done' } }, { record_id: 'rec2', fields: { Status: 'Done' } } ]

Links

Discussion