Close LPN

The close_lpn API allows you to close an LPN during picking/packing. This API replaces the legacy pick confirm API when the action code is closed. While performing pick and pack operations (either non cubed active picking or cubed picking), the Close action code indicates to WMS that the Outbound LPN being picked needs to be closed.
Note: This is a new API meant to replace the existing legacy `close_lpn` API. The legacy API will eventually be retired so no further enhancements will be made to it. New functionality will instead be added to this API as part of the lgfapi suite.

This API supports features of the legacy API including the following new parameter:

  • async_flg - true/false; default true

Close LPN API can be called using the following POST request:

POST ..lgfapi/v10/pick_pack/close_lpn/

Request Parameters

The following table provides details about the query string parameters:

Name Required Type Default Description
facility_id Integer Facility context by id.
facility_id__code String Facility context by code.
company_id Integer Company context by id.
company_id_code String Company context by code.
to_container_nbr X String To OBLPN.
close_container_status String "packed" Final OBLPN status: "picked" or "packed".
short_on_close_flg Boolean False Should any remaining unpacked quantity shorted?
update_inventory_on_short_flg Boolean False Also short source inventory on pick short?
reason_code String Reason for short.
async_flg Boolean True Run API asynchronously?

The following is an example JSON request:

{

"facility_idcode": "FAC",
        "company_id": 1, "to_container_nbr": "OBLPN001", "close_container_status":
        "picked", "short_on_close_flg": true, "async_flg": true

}