Please explore Message type : DESADV / Basic Type : DELVRY07 with respective qualifier in segment E1EDL18 based on your requirement
In this scenario, i hope the SAP system is primary system and sends the Outbound delivery information to the third party WMS system to perform the Picking process and after complete picking you want to update the picking information to the Outbound delivery from Legacy system to SAP system