This operation allows the client to close the indicated shipments, given one or more MBE Master Trackings.
This request is to be used when you do not have the possibility to print courier waybills directly. After closing the shipments, the store will have to manage them to finalize them on HUB.
As a response, the call will return the number of closed shipments, their packages, and a base64 PDF containing the summary closure manifest. The PDF document in the stream will contain all the shipments that have been closed, possibly divided by department. The customer in question will receive a confirmation email, or multiple emails in case of closing shipments related to different departments.
Note: Call used also by eShip Plugins
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.onlinembe.eu/ws/">
<soapenv:Header/>
<soapenv:Body>
<ws:CloseShipmentsRequest>
<RequestContainer>
<SystemType></SystemType>
<Credentials>
<Username></Username>
<Passphrase></Passphrase>
</Credentials>
<InternalReferenceID>XXX</InternalReferenceID>
<!--1 or more repetitions:-->
<MasterTrackingsMBE>XXXXXXXXXXXX</MasterTrackingsMBE>
</RequestContainer>
</ws:CloseShipmentsRequest>
</soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns3:CloseShipmentsRequestResponse xmlns:ns3="http://www.onlinembe.eu/ws/">
<RequestContainer>
<Status>OK</Status>
<ShipmentClosed>4</ShipmentClosed>
<TotalPackages>4</TotalPackages>
<Pdf>XXX</Pdf>
</RequestContainer>
</ns3:CloseShipmentsRequestResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>