Documentation Index
Fetch the complete documentation index at: https://docs.flexportal.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Update an asset’s details, status, or location. Use this endpoint to track asset movements, record condition changes, or mark assets as unavailable.Common Use Cases
- Status Changes: Mark returned assets as available or unavailable
- Location Tracking: Update location when assets move between warehouses
- Condition Updates: Record condition after inspection or repair
- Notes: Add notes about asset history or issues
Updatable Fields
| Field | Description |
|---|---|
status | available, rented_out, returned, sold, or unavailable |
location | Physical location |
condition | Condition notes |
notes | Additional notes |
acquisitionCost | Update cost if needed |
Example: Mark Asset Unavailable
Example: Update Location
Example: Return to Available
Status Management
When to Change Status
| Current Status | New Status | When |
|---|---|---|
available | rented_out | Automatically when subscription created |
rented_out | available | After return inspection (if no issues) |
rented_out | unavailable | After return inspection (if damaged/retired) |
unavailable | available | After repair/refurbishment |
Status changes to
rented_out happen automatically when you create a subscription. You typically only need to manually set available or unavailable.Processing Returns
When assets are returned from subscriptions:Tracking Asset History
Use notes to build a history log:Error Handling
| Error Code | Cause | Solution |
|---|---|---|
NOT_FOUND | Serial number doesn’t exist | Verify serial number |
INVALID_STATUS | Invalid status value | Use available, rented_out, returned, sold, or unavailable |
ASSET_IN_USE | Cannot change status while in subscription | End subscription first |
Related Endpoints
- Get Asset - View current asset details
- List Assets - Find assets to update
- Delete Asset - Permanently remove asset
- Get Subscription - Check if asset is in use