Update fixed asset

PATCH/api/v1/fixed-assets/{asset_id}

Update a fixed asset.

Path Parameters:

  • asset_id: UUID of the asset to update

Request Body: (all fields optional)

  • name: Updated asset name, 1-255 chars
  • description: Updated description
  • asset_number: Updated asset number, max 50 chars
  • serial_number: Updated serial number, max 100 chars
  • location: Updated location, max 255 chars
  • notes: Updated notes
  • category_id: Updated category UUID
  • vendor_id: Updated vendor UUID

Note: Core depreciation fields (cost, purchase_date, useful_life, etc.) cannot be changed after asset is placed in service.

Returns: Updated fixed asset.

Operation ID: update_fixed_asset_api_v1_fixed_assets__asset_id__patch·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

asset_idstringrequired

Request body

namestring
descriptionstring
asset_numberstring
serial_numberstring
category_idstring
vendor_idstring
salvage_valueinteger
useful_life_monthsinteger
depreciation_methodDepreciationMethod
total_expected_unitsinteger
locationstring
notesstring

Responses

200Successful Response

successboolean
messagestring
codestring
dataFixedAssetResponse

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject