Assets API
POST/api/v1/assets/{id}/custody/events
Product availabilityAlgaPSA

Record a custody step

Appends a moved, handed_off, shipped, received or returned step to the asset’s open episode. Invalid transitions answer 409.

RBAC · asset

Path parameters

idstring <uuid>Required
Asset UUID from assets.asset_id.

Request body

Content type: application/json · schema AssetCustodyEventRequest

event_typestringRequired
Enum: movedhanded_offshippedreceivedreturned

Response body

Success response 201 · schema AssetCustodyEnvelope

dataobjectRequired

Response codes

201
Step recorded.
400
Validation failed.
401
x-api-key is missing at middleware.
403
Caller lacks asset update permission.
404
Asset not found or not readable.
409
The asset is not in custody, or the step is not allowed from the current state.
500
Unexpected error.