This method is used to merge shipments into a set.In order to merge shipments into a set, you must include the flag "additionallyAdded": true in the POST shipment/batch request body when creating a shipment that you want to later merge into a set, and add the external number ESPN to the external numbers. A shipment created in this way can then be merged using this method into a set together with other shipments created in the same way.Conditions for merging
Only shipments of the same productType can be merged
Shipments that were already created in a set can also be merged
Shipments with COD (Cash on Delivery) cannot be merged
Shipments can only be merged until they are physically processed (scanned at loading)
Shipments of type Smart2Box cannot be merged
Only shipments within the Czech Republic can be merged (in the future this method will be extended for international shipments)
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.
Request
Authorization
JWT Bearer
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.