Create picking batch
Groups ready-to-pick shipments in a warehouse into a new picking batch.
The batch is built from either a batch preset (batch_preset_id) or a picking class (picking_class_id), and is
sized by an asset type (asset_type_id) or an explicit max_shipments. The remaining properties filter which
shipments are eligible and control how the batch is picked.
When a user token is used, the user must have permission to process orders and must have access to the warehouse.
A 422 response is returned when no batch could be created, for example when no eligible shipments are available or
when there are not enough shipments to fill the batch and partial batches are not allowed. When some shipments could
not be picked, the error details explain why.
Body
Selects which ready-to-pick shipments in a warehouse are grouped into a picking batch and how the batch is picked.
A batch is built from either a batch preset or a picking class, and is sized by either an asset type or an explicit maximum number of shipments. All filters are optional; omitted filters do not restrict the selection.
Selects shipments by target ship date relative to the warehouse's current target ship date. Omit to select shipments due on or before the current target ship date.
on_or_before_current, before_current, current_only, after_current, any "on_or_before_current"
Which inventory locations may be picked from. accessible_only (Strict) follows the asset policies,
sweep prefers accessible locations but may pick from others, and any (Disregard) ignores accessibility.
Omit to use the batch preset's default, or accessible_only when there is no preset.
accessible_only, sweep, any "accessible_only"