Skip to main content
PATCH
Update an asset

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string<uuid>
required

The UUID of the business.

assetId
string<uuid>
required

The UUID of the asset.

Body

application/json

The asset fields to update.

Parameters for updating an asset. Only include the fields you want to change.

name
string

Updated asset name.

asset_type
enum<string>

The type of fixed asset.

Available options:
RIGHT_OF_USE_ASSET,
VEHICLE,
EQUIPMENT,
GOODWILL
accumulated_depreciation_account
Account ID Ā· object

Updated accumulated depreciation account.

original_value
integer<int64> | null

Updated original value, in cents.

salvage_value
integer<int64> | null

Updated salvage value, in cents.

useful_life_months
integer<int32> | null

Updated useful life, in months.

memo
string | null

Updated internal note.

metadata
object | null

Arbitrary JSON object you can attach for your own use. Layer stores and returns it unchanged.

reference_number
string | null

Updated reference number.

Response

200 - application/json

The updated asset.

data
object
required

A fixed asset held by a business. Each asset has a dedicated ledger account.