Skip to main content
POST
Move an asset and record the move. The history is the point — where it is now is the easy half.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Move an asset and record the move. The history is the point — where it is now is the easy half.

Any coordinate pinned on the asset itself is cleared, because it described where the asset used to be; coordinates_cleared says whether there was one, so the caller can ask for a new pin.

p_asset_id
string<uuid>
required
p_moved_at
string<timestamp with time zone>
p_notes
string<text>
p_reason
string<text>
p_to_location_id
string<uuid>
p_to_site_id
string<uuid>

Response

200

OK