Update account

put
https://api.wafeq.com/v1/accounts/{id}/

Endpoint for updating an existing account.

Path Params
stringrequired
Body Params

An account in the organization's chart of accounts.

stringrequiredlength ≤ 30

The unique code identifying this account.

stringenum

The type of the account.

View the enum reference

stringenumrequired

The primary classification of the account (e.g. Asset, Liability, Equity, Income, Expense).

View the enum reference

Allowed:
stringlength ≤ 255

External identifier for the account.

booleanrequired

Indicates whether the account can be used for payments.

boolean

Indicates whether the account can be used for posting.

stringlength ≤ 200

The name of the account in Arabic.

stringrequired

The name of the account in English.

string | null

The parent account, if this is a sub-account.

stringenumrequired

The secondary classification of the account, providing more specific categorization.

View the enum reference

Headers
string

Client-provided UUID to uniquely identify a request

stringenumDefaults to application/json

Generated from available request content types

Allowed:
Response