Place location-level Hold
Places an inventory hold on the specified location for the given quantity and reason.
The qty moves from qty_unreserved (and, if necessary, from active reservations) into
qty_held.
Partial holds are not currently supported. The submitted qty must equal the
locationās full holdable qty (qty_unreserved + qty_reserved - qty_locked) at the
time of the call. Submitting any other value returns 422.
Authorizations
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
Target location.
6
Hold reason code (system or user-defined).
"damaged"
Quantity to hold (must be > 0 and equal to the location's full holdable qty). Partial holds are not currently supported.
5
Free-form notes.
"Damaged at receiving"
Response
Hold placed.
An inventory hold record. Cross-merchant view (Global API surface).
Releasing cascaded holds: when holdLot is called with cascade_bom=true, free the
cascade tree by releasing each child via POST /holds/{id}/release, using
origin.created_origin_hold_ids āŖ cascade.child_hold_ids from the original holdLot
response.
Do not include origin.root_hold_ids blindly in the release set ā those may include
pre-existing roots from a prior cascadeLotHold call that this call attached children to,
and releasing them would also release siblings the current caller did not place.