Mutation

Creating a new document required the fields listed below and will return a document object or failure error is invalid data is entered.

mutation createDocument {
	createDocument(input: {
    title: "This is my test document"
    subTitle: "This is my subtitle"
    coverPage: 0
    showCoverPage: false
    colorScheme: Color1
    recipients: [{
      email: "[email protected]"
      firstName: "John"
      lastName: "Smith"
      phone: "0499889988"
      address: "123 Pitt Street Sydney NSW 2000"
    }]
  }) {
    id
    name
    owner
  }
}