Skip to main content
POST
Place lot-level Hold (with optional BOM cascade)

Authorizations

Authorization
string
header
required

Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.

Body

application/json
lot_id
integer<int64>
required

Lot to hold.

Example:

142

reason_code
string
required

Hold reason code.

Example:

"recalled"

cascade_bom
boolean
default:false

Cascade through BOM lineage.

Example:

false

notes
string | null

Free-form notes attached to the holds placed by this call.

Example:

"Recall #123"

Response

Lot hold placed.

origin
object
required
cascade
object

Present only when cascade_bom=true. Every related lot of the same merchant is quarantined: it gets a lot-level hold, or keeps the one it already has (listed in detached_lot_ids). held_lots and the skipped_lots_no_putaway, skipped_lots_fully_already_held and skipped_lots_no_holdable_qty counts split the lots that got a lot-level hold by whether this call held stock now. Lots counted in skipped_lots_cross_merchant are not held.