improved

Set Merge Field Scope for Document Sections

Merge Field is a field property that allows to link fields when their values are set via API, similar to how Field Id works on the UI.

You can set the field value during document or section creation from a template, referring to fields by their Merge Field property, see instructions: Prefilled fields .

Now, you can control how merge fields behave in a bundle when adding a new section from a template . Set the merge_field_scope query parameter:

  • document (default) leaves the Merge Field properties untouched. Field values with the same Merge Field name will override field values of the whole document.
  • upload adds a unique suffix to all the Merge Field names added in scope of this operation. Use it if you add one template multiple times to the same bundle, but don’t want the fields to be syncronized.