Distribute

The Distribute API completes replenishments by distributing consolidated/case quantities to destinations, updating related inventory and task records in real time to maintain stocked pick/reserve locations and streamline availability.

 POST .../lgfapi/v10/replenishment/distribute/

Request Parameters

Parameter Type Required/Default Description
mhe_mode_flg Boolean Default: true MHE flag; system code required if true.
async_flg Boolean Default: true true = async (202); false = sync (204).
facility_id / facility_id__code Integer/String One required Facility context.
company_id / company_id__code Integer/String One required Company context.
task_nbr / order_nbr String One required Task or order number.
wave_nbr String Optional Wave number.
item_alternate_code/item_barcode String Required (pick one) Item identifier.
qty Number Required Quantity to replenish.
batch_nbr, expiry_date String Optional Batch/Lot and expiry.
invn_attr_a ... invn_attr_o String Optional Inventory attribute filters.
serial_nbr_list Array of String Optional Serial numbers.
suppress_serial_warning_flg Boolean Default: false Optional.
allocation_uom, uom_qty String, Number Optional UOM context.
distribution_uom String Optional UNITS or allocation UOM.
pick_location / from_container_nbr String Required (pick one) Pick from location/container.
to_container_nbr String Required for reserve flow To container for reserve replenishment.
to_location String Required for active flow Target active location.
mhe_system_code String Required if mhe_mode_flg true MHE system code.
short_flg Boolean Default: false Short operation.
reason_code String Optional Reason for short.
close_flg Boolean Default: false Close after replenish.
update_inventory_on_short_flg Boolean Optional Inventory update on short.

Sample Payload

{
  "mhe_mode_flg": false,
  "async_flg": false,
  "pick_list": [
    {
      "facility_id__code": "FAC",
      "company_id": 1,
      "wave_nbr": "RWWAVE001",
      "task_nbr": "TSK001",
      "order_nbr": "REPL-ORD-001",
      "item_barcode": "ITEM1234",
      "qty": 10,
      "from_container_nbr": "IBLPN0001",
      "to_location": "ACT0001"
    }
  ]
}