200Successful Response
Schema: SuccessEnvelope_FixedAssetResponse_
successbooleanmessagestringcodestringdataFixedAssetResponse
/api/v1/fixed-assets/{asset_id}Update a fixed asset.
Path Parameters:
asset_id: UUID of the asset to updateRequest Body: (all fields optional)
name: Updated asset name, 1-255 charsdescription: Updated descriptionasset_number: Updated asset number, max 50 charsserial_number: Updated serial number, max 100 charslocation: Updated location, max 255 charsnotes: Updated notescategory_id: Updated category UUIDvendor_id: Updated vendor UUIDNote: Core depreciation fields (cost, purchase_date, useful_life, etc.) cannot be changed after asset is placed in service.
Returns: Updated fixed asset.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
asset_idstringrequiredSchema: FixedAssetUpdate
namestringdescriptionstringasset_numberstringserial_numberstringcategory_idstringvendor_idstringsalvage_valueintegeruseful_life_monthsintegerdepreciation_methodDepreciationMethodtotal_expected_unitsintegerlocationstringnotesstringopening_accumulated_depreciationintegerOpening accumulated balance in cents (draft only)
go_live_datestring · dateFirst month DayZero posts (draft only)
depreciation_expense_ledger_idstringPer-asset expense account override
Schema: SuccessEnvelope_FixedAssetResponse_
successbooleanmessagestringcodestringdataFixedAssetResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.