TB.One > Order Data and Order Processing > Order Processing via XML > XML-Structure: TB.Order > XML: Multiparcel via Messages

XML: Multiparcel via Messages

WHAT Is multiparcel Handling?

In some cases, it is necessary to send an order item in several packages. For this purpose, you can specify how your orders should be sent via XML during the import of your dispatch advices. This is also possible via REST.

ATTENTION:
Attention: For now, the import of dispatch advices regarding the multiparcel handling is only possible via XML and REST.

 

 

Via XML IMPORT

It is now possible to split an order item into multiple parcels in your XML dispatch advices.

To do this, enter the value “1” in the <QUANTITY> node and provide the parcel information in the new <PARCELS> node with the following content:

 
<MESSAGES_LIST>
  <MESSAGE>
    <MESSAGE_TYPE>SHIP</MESSAGE_TYPE>
    <TB_ORDER_ID>751</TB_ORDER_ID>
    <TB_ORDER_ITEM_ID>1001</TB_ORDER_ITEM_ID>
    <QUANTITY>1</QUANTITY>
    <PARCELS>
        <PARCEL>
            <PARCEL_NO>parcel 1</PARCEL_NO>
            <CARRIER_PARCEL_TYPE>DHL_STD_NATIONAL</CARRIER_PARCEL_TYPE>
            <IDCODE>11646419461DE</IDCODE>
            <IDCODE_RETURN_PROPOSAL>117545679593</IDCODE_RETURN_PROPOSAL>
        </PARCEL>
        <PARCEL>
            <PARCEL_NO>parcel 2</PARCEL_NO>
            <CARRIER_PARCEL_TYPE>DHL_STD_NATIONAL</CARRIER_PARCEL_TYPE>
            <IDCODE>22646419461DE</IDCODE>
            <IDCODE_RETURN_PROPOSAL>227545679593</IDCODE_RETURN_PROPOSAL>
        </PARCEL>
    </PARCELS>
  </MESSAGE>
 

 

Via REST IMPORT

 

You can also import your messages automatically via REST.

 


For further information, see also:

Order processing via XML - overview