financialAccountUpdate

Graphql fields and variables for the financialAccountUpdate mutation

Update a financial account

Scope required: billing:write

For a complete list of input attributes see the FinancialAccountAttributes type

mutation financialAccountUpdate ($id: ID!, $attributes: FinancialAccountAttributes!) {
  financialAccountUpdate (id: $id, attributes: $attributes) {
      errors
      financialAccount {
        accountNumber
        accountTypeLabel
        active
        code
        createdAt
        defaultAccount
        description
        entityId
        externalId
        id
        longName
        name
        pluginId
        source
        updatedAt
      }
  }
}

Arguments

{
  "id": "456123",
  "attributes": {
    "code": "",
    "accountId": "456123",
    "name": "",
    "description": "",
    "active": true,
    "source": "",
    "externalId": "",
    "pluginId": "456123",
    "entityId": "456123",
    "accountType": "FinancialAccountType",
    "accountNumber": "",
    "createdAt": "2022-06-01T00:00:00Z",
    "updatedAt": "2022-06-01T00:00:00Z",
    "priceListChargeIds": [
      "456123"
    ],
    "defaultAccount": true
  }
}
Name
Type
Description

Response

Name
Type
Description

errors

List (String)

financialAccount

Last updated

Was this helpful?