Skip to main content
googleForms.updateItem replaces an item while preserving its ID, position, and question IDs where possible.

Example

Inputs

Provide form, a complete replacement item, and an immutable item ID or one-based position in itemReference. Item definitions match Add item. requiredRevisionId is optional. Second argument { account } selects the Google Account binding.

Output

Returns the updated Form. Because the update mask covers the whole item, it removes omitted fields.