200Successful Response
Schema: SuccessEnvelope_AssetCategoryResponse_
successbooleanmessagestringcodestringdataAssetCategoryResponse
/api/v1/fixed-assets/categories/{category_id}Update an asset category.
Path Parameters:
category_id: UUID of the category to updateRequest Body: (all fields optional)
name: Updated category name, 1-255 charsdescription: Updated description, max 1000 charsdefault_useful_life_months: Updated useful life, 1-600default_depreciation_method: Updated depreciation methoddefault_salvage_percent: Updated salvage percent, 0-100asset_ledger_id: Updated asset ledger IDdepreciation_expense_ledger_id: Updated depreciation expense ledger IDaccumulated_depreciation_ledger_id: Updated accumulated depreciation ledger IDReturns: Updated asset category.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
category_idstringrequiredSchema: AssetCategoryUpdate
namestringCategory name
descriptionstringCategory description
default_useful_life_monthsintegerDefault useful life in months
default_depreciation_methodDepreciationMethodDefault depreciation method
default_salvage_percentintegerDefault salvage value as percentage of cost
asset_ledger_idstringLedger account for asset cost
depreciation_expense_ledger_idstringLedger account for depreciation expense
accumulated_depreciation_ledger_idstringLedger account for accumulated depreciation
Schema: SuccessEnvelope_AssetCategoryResponse_
successbooleanmessagestringcodestringdataAssetCategoryResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject