DocumentTemplateAttributes
The DocumentTemplateAttributes input type in Bunny's GraphQL API, with its fields and an example.
{
"name": "",
"description": "",
"pageSize": "",
"font": "",
"lineHeight": "",
"components": [
{
"id": "456123",
"documentTemplateId": "456123",
"kind": "DocumentTemplateComponentKind",
"content": "",
"font": "",
"fontSize": "",
"fontWeight": "",
"alignment": "",
"width": "",
"height": "",
"lineSpacing": "",
"imageScale": "",
"color": "",
"background": "",
"position": 123,
"imageSignedId": "",
"skipPages": true,
"paddingTop": 123,
"paddingBottom": 123,
"paddingLeft": 123,
"paddingRight": 123,
"marginTop": 123,
"marginBottom": 123,
"marginLeft": 123,
"marginRight": 123,
"name": "",
"twoColumns": true,
"editableInQuoteBuilder": true
}
]
}
| Name | Type | Description |
|---|---|---|
| name | String | |
| description | String | |
| pageSize | String | |
| font | String | |
| lineHeight | String | |
| components | List (DocumentTemplateComponentAttributes) |