This method is used to merge shipments into a set.In order to merge shipments into a set, when creating a shipment that you later want to merge, you must include the ESPN code in the external numbers field in the request body of POST shipment/batch. Shipments created this way can then be merged into a set with other shipments created in the same manner using this method.Conditions for merging
only shipments of the same productType can be merged
shipments that have already been created within a set can also be merged
shipments with cash on delivery (COD) cannot be merged
shipments can only be merged as long as they have not been transferred to a physical state (scanned upon loading)
shipments of the Smart2Box product cannot be merged
only shipments sent within the Czech Republic and international shipments for the COPL (PPL Parcel Connect Plus) product can be merged
All shipments to be merged must meet these conditions. If not, no partial merging will occur and the method will return an error.
For a better understanding of the merging process, see the examples, where shipment merging is described in detail.