Bulk delete lots
Best-effort bulk soft-delete of lots. Each lot follows the same UI-parity
behavior as DELETE /lots/{lotId}: its regular on-hand stock is auto-cleared
(via an inventory adjustment posted by the authenticated user) and the lot is
soft-deleted. A per-lot failure — an unknown ID, or a lot whose stock could
not be cleared first (picklist-committed stock, no base unit of measure, or
stock remaining after the auto-clear adjustment) — is captured in that lot’s
results row and does not abort the rest of the batch, so the call
returns 200 even on a partial failure. Inspect deleted, failed, and
results for per-lot outcomes.
Authorizations
Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.
Body
Lot IDs to delete. 1–200 per call; duplicates are de-duplicated.
1 - 200 elementsx >= 1Response
Batch processed. Always returned even when some lots failed — check the
per-lot results.