Deprecation of Legacy APIs
Warehouse Management Cloud is deprecating several legacy APIs that no longer comply with the overall strategy to develop REST APIs. The newer APIs (“lgfapi”) provide improved functionality, structuring, stability, and scalability, and all customers must migrate to the newer, equivalent APIs. The time frame for deprecation is 22B, at which point the URLs that specify these APIs will no longer be accessible.
The legacy APIs to be deprecated are listed in the following table along with the equivalent lgfapi that you should migrate to. Only these legacy API’s are being retired. Those not on the list will continue to be available for now, though they will eventually be retired as well, with sufficient notice.
API Name | Old API (to be deprecated) | New API (lgfapi equivalents) | Notes |
---|---|---|---|
Get Entity | GET wms/api/entity/<entity name>/ | GET wms/lgfapi/v10/entity/<entity name> | |
Get Entity Status | POST wms/api/get_status/<entity name>/ | GET wms/lgfapi/v10/entity/<entity name> | |
Get Extended Property | GET wms/api/extended_property/<entity name>/ | GET wms/lgfapi/v10/entity/<entity name> | See lgfapi documentation for additional functionality |
Get Seq Number | POST wms/api/get_next_numbers/ | POST wms/lgfapi/v10/entity/seq_counter/get_next_number | |
Lock/Unlock LPN | POST wms/api/lock_unlock_lpn/ |
POST wms/lgfapi/v10/entity/container/lock POST wms/lgfapi/v10/entity/container/unlock |
Also supported via "iblpn" and "oblpn" entities |
Pick Confirm | POST wms/api/pick_confirm/ | POST wms/lgfapi/v10/pick_pack/pick_confirm | |
Receive LPN | POST wms/api/receive_lpn/ | POST wms/lgfapi/v10/entity/iblpn/receive | |
Ship OBLPN | POST wms/api/ship_oblpn/ | POST wms/lgfapi/v10/entity/oblpn/ship | |
Update Active Inventory | PATCH wms/api/entity/active_inventory/<key>/ | POST wms/lgfapi/v10/entity/location/update_active_inventory | |
Update OBLPN Dimensions | POST wms/api/update_oblpn_dims/ | PATCH wms/lgfapi/v10/entity/oblpn |