List the units held out of usable stock
GET/held-stock
The units still HELD (ADR 0052), oldest first (ties by id), filtered by reason, sku and age (olderThanHours: held for MORE than that many hours). A removed unit (released, returned, scrapped) is not listed; read it by id for its audit trail. Keyset-paginated (REST guideline section 3): {items, nextCursor}, limit (1-500, default 100) and the opaque cursor. Any other query parameter is 400 unknown-query-parameter. Side-effect-free.
Request
Responses
- 200
- 400
- 500
One page of held units (possibly none), oldest first.
reason is not a hold reason (invalid-hold-reason), olderThanHours is not a non-negative integer (invalid-older-than-hours), limit or cursor is invalid (invalid-limit, invalid-cursor), or an undeclared query parameter was sent (unknown-query-parameter).
An unexpected internal error occurred.