documentTemplatePreview

The documentTemplatePreview query in Bunny's GraphQL API, with its arguments, return type and an example request.

Scope required: billing:read

For a complete list of possible response fields see the DocumentTemplatePreview type.

query documentTemplatePreview ($id: ID!) {
  documentTemplatePreview (id: $id) {
    html
    id
    name
  }
}

ArgumentsLink to Arguments section

Name Type Description
id ID Document template ID

ResponseLink to Response section