Partial update account

Endpoint for partially updating an existing account.

Path Params
string
required
Body Params

A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializations

string
length ≤ 30

The unique code identifying this account.

string
enum
  • ACCOUNTS_RECEIVABLE - Accounts Receivable
  • CASH_ADVANCES - Cash Advances
  • CASH_EQUIVALENTS - Cash and Cash Equivalents
  • EMPLOYEE_ADVANCE - Employee Advance
  • INVENTORY - Inventory
  • OTHER_CURRENT_ASSETS - Other Current Assets
  • PREPAID_EXPENSES - Prepaid Expenses
  • ACCUMULATED_DEPRECIATION - Accumulated Depreciation
  • INTANGIBLE_ASSETS - Intangible Assets
  • OTHER_NON_CURRENT_ASSETS - Other Non-Current Assets
  • ...

Full information for AccountTypeEnum

string
enum
  • REVENUE - Revenue
  • EXPENSE - Expense
  • ASSET - Asset
  • LIABILITY - Liability
  • EQUITY - Equity

Full information for ClassificationEnum

Allowed:
string
length ≤ 255

External identifier for the account.

boolean

Indicates whether the account can be used for payments.

boolean

Indicates whether the account can be used for posting.

string
length ≤ 200

The name of the account in Arabic.

string

The name of the account in English.

string | null

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

string
enum
  • INCOME - Income
  • COGS - Cost of Sales
  • OPERATING_EXPENSE - Operating Expenses
  • OTHER_INCOME - Other Income
  • NON_OPERATING_EXPENSE - Non-Operating Expenses
  • CASH_EQUIVALENTS - Cash and Cash Equivalents
  • CURRENT_ASSET - Current Assets
  • NON_CURRENT_ASSET - Non-Current Assets
  • FIXED_ASSET - Fixed Asset
  • CURRENT_LIABILITY - Current Liabilities
  • ...

Full information for AccountSubClassificationEnum

Headers
string

Client-provided UUID to uniquely identify a request

string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json