Skip to main content
PATCH
Update Fixed Asset

Update Fixed Asset

This endpoint allows you to update an existing fixed asset.

Headers

Path Parameters

Request Body

Request Parameters

Parameter Examples

  • Fixed Asset ID: 64b8f1a2e4b0c8d9f0123456

Response

Response Parameters

Error Responses

Invalid Request Data (400)

Unauthorized (401)

Fixed Asset Not Found (404)

Internal Server Error (500)

Notes

  • The placed_in_service timestamp should be in Unix timestamp format
  • The business_use percentage must be between 0 and 100
  • The cost and salvage_value should be positive numbers
  • Fixed asset numbers cannot be modified and remain unchanged
  • The updated_at timestamp will be automatically updated when the asset is modified

Authorizations

X-API-Key
string
header
required

Formation API key for authentication.

Path Parameters

fixed_asset_id
string
required

Fixed Asset ID

Body

application/json
title
string
required

Title/name of the fixed asset

Example:

"Office Computer"

placed_in_service
integer
required

Timestamp when the asset was placed in service

Example:

1640995200

cost
number
required

Original cost of the fixed asset

Example:

1500

salvage_value
number
required

Estimated salvage value of the asset

Example:

150

business_use
number
required

Percentage of business use (0-100)

Example:

100

company_id
string
required

Company ID

Example:

"64b8f1a2e4b0c8d9f0123456"

Response

Fixed asset updated successfully

success
boolean
Example:

true

message
string
Example:

"Fixed asset updated successfully"

data
object
Example: