invoiceUpdateCredits

Graphql fields and variables for the invoiceUpdateCredits mutation

Edit credits on an invoice

Scope required: billing:write

For a complete list of input attributes see the InvoiceUpdateCreditsAttributes type

mutation invoiceUpdateCredits ($id: ID!, $attributes: InvoiceUpdateCreditsAttributes!) {
  invoiceUpdateCredits (id: $id, attributes: $attributes) {
      errors
      invoiceItems
  }
}

Arguments

{
  "id": "456123",
  "attributes": {
    "invoiceItems": [
      {
        "id": "456123",
        "amount": "1.00"
      }
    ]
  }
}
Name
Type
Description

Response

Name
Type
Description

errors

List (String)

invoiceItems

Last updated

Was this helpful?