Skip to main content
POST
Bulk delete lots

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Body

application/json
lot_ids
integer[]
required

Lot IDs to delete. 1–200 per call; duplicates are de-duplicated.

Required array length: 1 - 200 elements
Required range: x >= 1

Response

Batch processed. Always returned even when some lots failed — check the per-lot results.

message
string
Example:

"Deleted 2 of 3 lot(s)."

deleted
integer

Number of lots successfully deleted

Example:

2

failed
integer

Number of lots that could not be deleted

Example:

1

results
object[]

Per-lot outcome, one row per requested lot ID