Skip to main content
POST
/
v1
/
inventory
/
holds
/
lot
Place lot-level Hold (with optional BOM cascade)
curl --request POST \
  --url https://{base_url_domain}/api/global/v1/inventory/holds/lot \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "lot_id": 142,
  "reason_code": "recalled",
  "cascade_bom": false,
  "notes": "Recall #123"
}
'
{
  "origin": {
    "lot_id": 142,
    "created_origin_hold_ids": [
      501,
      502,
      503
    ]
  }
}

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.