Skip to content

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·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
opening_accumulated_depreciationinteger

Opening accumulated balance in cents (draft only)

go_live_datestring · date

First month DayZero posts (draft only)

depreciation_expense_ledger_idstring

Per-asset expense account override

Responses

200Successful Response

successboolean
messagestring
codestring
dataFixedAssetResponse

401Unauthorized - Missing or expired token, an MCP OAuth token used against the REST API, or no access to this business

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.

403Forbidden - Insufficient permissions

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.

422Validation Error

errorstringrequired

Error category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.

messagestringrequired

Human-readable explanation, safe to show to end users.

codestringrequired

Stable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).

request_idstring

Correlation id for support requests. Echoes the x-request-id request header when one was supplied.

errorsobject

Field-level validation messages keyed by field name. Present on 400/422 validation failures only.