Graphql fields and variables for the invoiceUpdateCredits mutation
Last updated 3 months ago
Was this helpful?
Edit credits on an invoice
Scope required: billing:write
For a complete list of input attributes see the type
mutation invoiceUpdateCredits ($id: ID!, $attributes: InvoiceUpdateCreditsAttributes!) { invoiceUpdateCredits (id: $id, attributes: $attributes) { errors invoiceItems } }
{ "id": "456123", "attributes": { "invoiceItems": [ { "id": "456123", "amount": "1.00" } ] } }
id
ID
attributes
errors
List (String)
invoiceItems
List ()