asset-locs
YardSpot assets
📄️ Get asset by id
Get asset by id
📄️ Delete asset by id
Delete asset by id. Allowed for tenant API keys and for users with the Admin, Operations or Dispatch role. The asset is removed from inventory and recorded as a departure, which closes its open visit.
📄️ Rename an asset
Rename an asset, typically to correct a misread container number. Moves everything recorded under `{assetId}` (live location, history, ledger events, open and closed visits, media, tickets and the appointment arrival) to the new ID. If the new ID is already an asset at the tenant, the two are merged. A rename is not a departure: it closes no visit and bills nothing. Retrying the same rename after a failure completes it. Allowed for tenant API keys and for users with the Admin, Operations or Sysadmin role.
📄️ List of active assets summary
list of active assets summary
📄️ Create or update an asset
Create or update an asset. Update happens asynchronously