Update specific fields of an invoice, like title.

See Variables for how to pass in String data as arguments.

See Errors for additional information about error cases.

See API Reference for more information about the acceptable input

Replace <INVOICE_ID> with a real invoice id.

Operation:

mutation ($input: InvoicePatchInput!) {
    invoicePatch(input: $input) {
        didSucceed
        invoice {
            id
            invoiceNumber
        }
        inputErrors {
            message
            path
            code
        }
    }
}
Operation Variables
{
  "input": {
    "id": "<INVOICE_ID>",
    "title": "a new awesome title"
  }
}
Updated: