parties
object
Object containing the parties involved in the shipment, for customs data or other features
"parties": {
"delivery": {
"name":"Gsped SC",
"address":"Corso Felice Cavallotti 15",
"city":"Alessandria",
"zipcode":"15121",
"state":"Italia",
"country":"IT",
"email":"noreply@gsped.com",
"phone":"123",
"eori":"IT12345678901",
"contact":"Franco",
"clientCode":"12345"
},
"pickup": {
"name":"Magazzino Gsped",
"address":"Corso Felice Cavallotti 17",
"city":"Alessandria",
"zipcode":"15121",
"state":"Italia",
"country":"IT",
"email":"noreply@gsped.com",
"phone":"123",
"eori":"IT12345678901",
"contact":"Mario",
"clientCode":"67890"
},
"freightPayer": {
"name":"Gsped SC",
"address":"Corso Felice Cavallotti 18",
"city":"Alessandria",
"zipcode":"15121",
"state":"Italia",
"country":"IT",
"email":"noreply@gsped.com",
"phone":"123",
"eori":"IT12345678901",
"contact":"Giovanni",
"clientCode":"abcdef"
},
"customsPayer": {
"name":"Gsped SC",
"address":"Corso Felice Cavallotti 19",
"city":"Alessandria",
"zipcode":"15121",
"state":"Italia",
"country":"IT",
"email":"noreply@gsped.com",
"phone":"123",
"eori":"IT12345678901",
"contact":"Luigi",
"clientCode":"ghjki"
},
"importer": {
"name":"Gsped SC",
"address":"Corso Felice Cavallotti 20",
"city":"Alessandria",
"zipcode":"15121",
"state":"Italia",
"country":"IT",
"email":"noreply@gsped.com",
"phone":"123",
"eori":"IT12345678901",
"contact":"Giovanni",
"clientCode":"lmnop"
},
"exporter": {
"name":"Gsped SC",
"address":"Corso Felice Cavallotti 21",
"city":"Alessandria",
"zipcode":"15121",
"state":"Italia",
"country":"IT",
"email":"noreply@gsped.com",
"phone":"123",
"eori":"IT12345678901",
"contact":"Giovanni",
"clientCode":"qrstu"
}
}The possible parties are (not every courier supports all of them):
delivery -> party used when delivering to a location other than the recipient's address.
pickup -> party used when picking up from a location other than the sender's address.
freightPayer -> details of the party paying for the shipment
customsPayer -> details of the party paying the customs duties
importer -> party importing the goods
exporter -> party exporting the goods
The fields common to every party are detailed below
name
string
Company name
address
string
Address
city
string
City
zipcode
string
ZIP code
state
string
Country name
country
string
Country ISO 2 Char
string
phone
string
Phone
contact
string
Contact name
clientCode
string
Account Number at the courier
Enabled couriers
20
Fedex
113
Dhl Freight
185
DSV WS
103
UPS
104
DHL
