documentTemplateComponentCreate

Graphql fields and variables for the documentTemplateComponentCreate mutation

Create a document template component

Scope required: billing:write

For a complete list of input attributes see the DocumentTemplateComponentAttributes type

mutation documentTemplateComponentCreate ($attributes: DocumentTemplateComponentAttributes!) {
  documentTemplateComponentCreate (attributes: $attributes) {
      documentTemplateComponent {
        alignment
        background
        color
        content
        createdAt
        documentTemplateId
        font
        fontSize
        fontWeight
        height
        id
        imageScale
        imageSignedId
        imageUrl
        lineSpacing
        marginBottom
        marginLeft
        marginRight
        marginTop
        paddingBottom
        paddingLeft
        paddingRight
        paddingTop
        position
        skipPages
        twoColumns
        updatedAt
        width
      }
      errors
  }
}

Arguments

Name
Type
Description

Response

Name
Type
Description

documentTemplateComponent

errors

List (String)

Last updated

Was this helpful?