> For the complete documentation index, see [llms.txt](https://apidocs.gsped.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.gsped.com/gsped-api-english-version/spedizioni-e-dintorni/shipment/shipment-objects/parties.md).

# parties

object

Object containing the parties involved in the shipment, for customs data or other features

{% code fullWidth="false" %}

```json
"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"
    }
}
```

{% endcode %}

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

<table data-full-width="true"><thead><tr><th width="182">Field</th><th width="100" data-type="checkbox">Required</th><th width="106">Encoding</th><th>Description</th></tr></thead><tbody><tr><td>name</td><td>true</td><td>string</td><td>Company name</td></tr><tr><td>address</td><td>true</td><td>string</td><td>Address</td></tr><tr><td>city</td><td>true</td><td>string</td><td>City</td></tr><tr><td>zipcode</td><td>true</td><td>string</td><td>ZIP code</td></tr><tr><td>state</td><td>true</td><td>string</td><td>Country name</td></tr><tr><td>country</td><td>true</td><td>string</td><td>Country ISO 2 Char</td></tr><tr><td>email</td><td>true</td><td>string</td><td>Email</td></tr><tr><td>phone</td><td>true</td><td>string</td><td>Phone</td></tr><tr><td>eori</td><td>true</td><td>string</td><td><a href="https://taxation-customs.ec.europa.eu/customs-4/customs-procedures-import-and-export-0/customs-procedures/economic-operators-registration-and-identification-number-eori_en">EORI code</a></td></tr><tr><td>contact</td><td>true</td><td>string</td><td>Contact name</td></tr><tr><td>clientCode</td><td>false</td><td>string</td><td>Account Number at the courier</td></tr></tbody></table>

## Enabled couriers

<table><thead><tr><th width="127">ID</th><th>Courier</th></tr></thead><tbody><tr><td>20</td><td>Fedex</td></tr><tr><td>113</td><td>Dhl Freight</td></tr><tr><td>185</td><td>DSV WS</td></tr><tr><td>103</td><td>UPS</td></tr><tr><td>104</td><td>DHL</td></tr></tbody></table>
