ShipStructure
This structure is an object used for the description of shipments in the system.
Structure Fields
Field Name | Type | Required? | Description |
---|---|---|---|
shipper | FullAddressDataStructure | Yes | Shipper’s address structure |
receiver | FullAddressDataStructure | Yes | Recipient’s address structure |
servicePointAccountNumber | string (7) | Yes | Service point SAP number, required to download address, however it can be left empty and then the closest destination address will be assumed by the receiver's address (if eligible) |
Example:
<ship> <shipper> <address> <name>Testan Testington</name> <postcode>00999</postcode> <city>Testville</city> <street>Test Street</street> <houseNumber>78</houseNumber> <apartmentNumber>3</apartmentNumber> </address> <contact> <personName>Testan</personName> <phoneNumber>600700800</phoneNumber> <emailAddress>testomir@testalski.pl</emailAddress> </contact> <preaviso> <personName>Zbigniew Nowak</personName> <phoneNumber>669324789</phoneNumber> <emailAddress>zibi.nowy@op.pl</emailAddress> </preaviso> </shipper> <receiver> <address> <addressType></addressType> <name>Testan Testington</name> <postcode>00999</postcode> <city>Testville</city> <street>Test Street</street> <houseNumber>78</houseNumber> <apartmentNumber>3</apartmentNumber> </address> <contact> <personName>Testan</personName> <phoneNumber>600700800</phoneNumber> <emailAddress>testomir@testalski.pl</emailAddress> </contact> <preaviso> <personName>Zbigniew Nowak</personName> <phoneNumber>669324789</phoneNumber> <emailAddress>zibi.nowy@op.pl</emailAddress> </preaviso> </receiver> <servicePointAccountNumber>1254823</servicePointAccountNumber> </ship>