Clear Selected Item State
POST/api/items/clearselecteditemstate
Tier: Public — stable, supported for third-party integration.
Sets the state of items at a place to Cleared, typically used to reset Missing/Moved flags after investigating a cycle-count/stocktake discrepancy.
The state change is recorded with source type CycleCount. Items whose current state does
not allow a transition to Cleared (already Cleared, Consumed, or an
order-bound state) are silently skipped — no error is raised for them. An
Items.ItemStateHistoryDto row is added per item actually changed.
Request
Responses
- 200
- 400
- 401
- 403
true on success.
InvalidOperation on an unexpected exception.
Caller is not authenticated.
Caller does not have Update permission on the Item module.