Update a reel
The id goes in the body and must be numeric. At least one other field is required, otherwise the call fails with 400.
PUT
/reelAuthorization
AuthorizationAPI key · headerrequiredThe Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.
Request body
application/jsonidintegerrequiredId of the reel (numeric, not a string).
statestringReel state.
Allowed:
unassignedon_printerstorageexpiredbatchIdstringBatch label; unique among the app's non-expired reels.
machineIdintegerId of the machine the reel is on.
materialIdintegerId of the material.
colorIdintegerId of the colour.
machineSlotIdxintegerStorage slot index on the machine.
amountOriginalnumberAmount a full reel holds.
amountActualnumberAmount currently left.
Responses
200
OK. Returns only the id — fetch the full ReelItem with the corresponding GET.
idinteger | stringrequiredId of the updated ReelItem.
Show propertiesHide properties
One of:
integer
integerstring
string401
Authentication failed. All causes return this identical response.
codeintegermessagestringtypestringdefault
Downstream errors pass through verbatim; x-error-source names the failing service.
codeintegermessagestringtypestring