Skip to main content
PATCH
Patch update ledger account

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Path Parameters

businessId
string
required

The UUID of the business to confirm the matches for

accountId
string
required

The id of the ledger account to update

Body

application/json

Parameters for partially updating a ledger account (PATCH operation). All fields are optional.

name
string

Account name

account_number
string | null

Optional account number for the ledger account

Example:

"4000"

normality
enum<string>

Account normality

Available options:
CREDIT,
DEBIT
parent_id
Account ID · object

The Account Identifier of the parent account under which this ledger account is categorized.

stable_name
object

The Stable Name for the account.

account_type
object

Type of the ledger account

account_subtype
object

Subtype of the ledger account

Response

200 - application/json

The updated ledger account

A single ledger account without nested children

id
Account ID · object

ID of the account

name
string

Name of the account

Example:

"Current Assets"

account_number
string | null

Account number if configured

Example:

"4000"

stable_name
object
normality
enum<string>
Available options:
CREDIT,
DEBIT
account_type
object
account_subtype
object