financialAccountUpdate
Update a financial account. The financialAccountUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
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
}
}
}
ArgumentsLink to Arguments section
{
"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 |
|---|---|---|
| id | ID | |
| attributes | FinancialAccountAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| financialAccount | FinancialAccount |