Skip to content
Sean Callan edited this page Jun 9, 2020 · 2 revisions

Beans_Account_Update

Update an account.


Parameters

  • auth_uid (required) INTEGER - The ID for your API key.

  • auth_key (required) STRING - The API key.

  • auth_expiration (required) INTEGER - Unique ID tied to your key; changes if you reset your key.

  • id (required) - The id of the Beans_Account to update.

  • parent_account_id (optional) - The Beans_Account that is a direct parent of this one in the Chart of Accounts.

  • account_type_id (optional) - The Beans_Account_Type of this account.

  • name (optional) - The plain-text name to assign to this account.

  • code (optional) - A hash or word to represent the account by.

  • writeoff (optional) - A boolean representing whether or not this account can record writeoffs.

  • terms (optional) - The terms ( in days ) to assign to invoices tied to this account.


Returns

  • account - The Beans_Account that was updated.
Clone this wiki locally