Copy PagePartial update accountpatch https://api.wafeq.com/v1/accounts/{id}/Endpoint for partially updating an existing account.Path ParamsidstringrequiredBody Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA 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 serializationsaccount_codestringlength ≤ 30The unique code identifying this account.account_typestringenumThe type of the account.ACCOUNTS_RECEIVABLECASH_ADVANCESCASH_EQUIVALENTSEMPLOYEE_ADVANCEINVENTORYOTHER_CURRENT_ASSETSPREPAID_EXPENSESACCUMULATED_DEPRECIATIONINTANGIBLE_ASSETSOTHER_NON_CURRENT_ASSETSPROPERTY_PLANT_AND_EQUIPMENTACCOUNTS_PAYABLEACCRUED_EXPENSESOTHER_CURRENT_LIABILITIESPAYROLL_PAYABLESHORT_TERM_LOANS_PAYABLETAX_PAYABLEUNEARNED_REVENUEVATEND_OF_SERVICE_BENEFITSLONG_TERM_LOANS_PAYABLEOTHER_NON_CURRENT_LIABILITIESISSUED_CAPITALOTHER_OWNERS_EQUITYPAID_IN_CAPITALSHARE_CAPITALTREASURY_STOCKRETAINED_EARNINGSOPENING_BALANCE_EQUITYOTHER_COMPREHENSIVE_INCOMEINTEREST_INCOMEOTHER_INCOMEGENERAL_AND_ADMINISTRATIVE_EXPENSESMARKETING_EXPENSESOTHER_OPERATING_EXPENSESRESEARCH_AND_DEVELOPMENTDEPRECIATION_AND_AMORTIZATIONINTEREST_EXPENSEOTHER_NON_OPERATING_EXPENSESREALIZED_EXCHANGE_GAIN_OR_LOSSTAXUNREALIZED_EXCHANGE_GAIN_OR_LOSSZAKATShow 43 enum valuesclassificationstringenumThe primary classification of the account (e.g. Asset, Liability, Equity, Income, Expense).REVENUEEXPENSEASSETLIABILITYEQUITYAllowed:REVENUEEXPENSEASSETLIABILITYEQUITYexternal_idstringlength ≤ 255External identifier for the account.is_payment_enabledbooleanIndicates whether the account can be used for payments.truefalseis_postingbooleanIndicates whether the account can be used for posting.truefalsename_arstringlength ≤ 200The name of the account in Arabic.name_enstringThe name of the account in English.parentstring | nullThe parent account, if this is a sub-account.sub_classificationstringenumThe secondary classification of the account, providing more specific categorization.INCOMECOGSOPERATING_EXPENSEOTHER_INCOMENON_OPERATING_EXPENSECASH_EQUIVALENTSCURRENT_ASSETNON_CURRENT_ASSETFIXED_ASSETCURRENT_LIABILITYNON_CURRENT_LIABILITYPAID_IN_CAPITALRETAINED_EARNINGSACCUMULATED_OTHER_COMPREHENSIVE_INCOMETREASURY_STOCKOWNERS_EQUITYOPENING_BALANCE_EQUITYShow 17 enum valuesHeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestcontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse 200Updated 4 months ago Retrieve accountUpdate accountDid this page help you?YesNo