POST v1/PackList/NotifyWarehouse?warehouseId={warehouseId}&warehouseCode={warehouseCode}

Notify warehouse - this endpoint finds all 'Pending' packlists (shipments) associated with the given warehouse, changes their status to 'Awaiting-Pack', includes them in a CSV file and then emails this CSV file to the supplier associated with the warehouse. This is the same functionality as found on the Shipments screen in the wbe application when clicking the Notify Warehouse button.

Request Information

URI Parameters

Name Description Type Additional information
warehouseId

The internal id of the warehouse to notify (if warehouse code is not supplied) e.g. 3468585357332432

integer

Optional

warehouseCode

The code of the warehouse to notify (if warehouse ID is not supplied) e.g. WH1

string

Optional

Body Parameters

None.

Response Information

Resource Description

A list of packlist IDs that have had their status changed and been included in the CSV file sent to the warehouse

Collection of integer

Response Formats

application/json

Sample:

[
  1,
  2
]