Pickup at PostNL location shipment example

Information

Pickup at PostNL location shipments require some specific fields to be used:

  • address of receiver: Shipment/Address/AddressType 01
  • delivery address of retail location: Shipment/Address/AddressType 09
  • contact details in case of Pickup at PostNL location with Notification product codes
  • product code: see Products

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:con="http://postnl.nl/cif/services/ConfirmingWebService/" 
xmlns:tpp="http://postnl.nl/cif/domain/ConfirmingWebService/">
    <soapenv:Body>
        <con:Confirming>
            <tpp:Customer>
                <tpp:Address>
                    <tpp:AddressType>02</tpp:AddressType>
                    <tpp:City>Hoofddorp</tpp:City>
                    <tpp:CompanyName>PostNL</tpp:CompanyName>
                    <tpp:Countrycode>NL</tpp:Countrycode>
                    <tpp:FirstName>Frank</tpp:FirstName>
                    <tpp:HouseNr>42</tpp:HouseNr>
                    <tpp:HouseNrExt>A</tpp:HouseNrExt>
                    <tpp:Name>Peeters</tpp:Name>
                    <tpp:Street>Siriusdreef</tpp:Street>
                    <tpp:Zipcode>2132WT</tpp:Zipcode>
                </tpp:Address>
                <tpp:CollectionLocation>123456</tpp:CollectionLocation>
                <tpp:CustomerCode>DEVC</tpp:CustomerCode>
                <tpp:CustomerNumber>11223344</tpp:CustomerNumber>
            </tpp:Customer>
            <tpp:Message>
                <tpp:MessageID>1</tpp:MessageID>
                <tpp:MessageTimeStamp>29-06-2016 12:00:00</tpp:MessageTimeStamp>
            </tpp:Message>
            <tpp:Shipments>
                <tpp:Shipment>
                    <tpp:Addresses>
                        <tpp:Address>
                            <tpp:AddressType>01</tpp:AddressType>
                            <tpp:City>Utrecht</tpp:City>
                            <tpp:CompanyName>PostNL</tpp:CompanyName>
                            <tpp:Countrycode>NL</tpp:Countrycode>
                            <tpp:FirstName>Peter</tpp:FirstName>
                            <tpp:HouseNr>137</tpp:HouseNr>
                            <tpp:HouseNrExt/>
                            <tpp:Name>de Ruiter</tpp:Name>
                            <tpp:Street>Oldenburgerstraat</tpp:Street>
                            <tpp:Zipcode>3573SJ</tpp:Zipcode>
                        </tpp:Address>
                        <tpp:Address>
                            <tpp:AddressType>09</tpp:AddressType>
                            <tpp:City>Utrecht</tpp:City>
                            <tpp:CompanyName>PostNL</tpp:CompanyName>
                            <tpp:Countrycode>NL</tpp:Countrycode>
                            <tpp:HouseNr>9</tpp:HouseNr>
                            <tpp:HouseNrExt/>
                            <tpp:Street>Bilderdijkstraat</tpp:Street>
                            <tpp:Zipcode>3532VA</tpp:Zipcode>
                        </tpp:Address>
                    </tpp:Addresses>
                    <tpp:Barcode>3SDEVC6659149</tpp:Barcode>
                    <tpp:Contacts>
                        <tpp:Contact>
                            <tpp:ContactType>01</tpp:ContactType>
                            <tpp:Email>receiver@gmail.com</tpp:Email>
                            <tpp:SMSNr>0612345678</tpp:SMSNr>
                        </tpp:Contact>
                    </tpp:Contacts>
                    <tpp:Dimension>
                        <tpp:Weight>4300</tpp:Weight>
                    </tpp:Dimension>
                    <tpp:ProductCodeDelivery>3533</tpp:ProductCodeDelivery>
                </tpp:Shipment>
            </tpp:Shipments>
        </con:Confirming>
    </soapenv:Body>
</soapenv:Envelope>