Create an order contact (legacy)
Important
A newer version of this REST API (v2.1) is available. If you're new to this REST API, use the new version. Alternatively, if you're already using the old version, read about the differences between v2 and v2.1 so you can upgrade.
POST /v2/orders/<orderRef>/contacts
Creates the primary contact on an order.
In the response, ref
contains the order contact reference.
RequestResponse
curl -X POST <baseURL>/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2/contacts' \
-u '<username>:<password>' \
-H 'Accept: application/json' \
--data-raw '{
"title": "Mr",
"firstName": "John",
"lastName": "Doe",
"gender": "male",
"dateOfBirth": "2025-10-28T00:00:00.000Z",
"emails": [
"[email protected]"
],
"phoneNumbers": [
"+353161123345",
"+353861123345"
],
"nationality": "Irish",
"passportNumber": "PZ4A9565",
"guest": {
"href": "<baseURL>/v2/guests/9d94ee11-7043-4b71-980c-a777d00a7b46"
}
}'
RequestResponse
{
"href": "<baseURL>/v2/orderContacts/F8D1F0D5-365D-46B7-BECF-D041E93A5705",
"ref": "F8D1F0D5-365D-46B7-BECF-D041E93A5705",
"createdAt": "2025-08-15T16:00:55.554Z",
"modifiedAt": "2025-08-21T16:00:51.882Z",
"title": "Mr",
"firstName": "John",
"lastName": "Doe",
"gender": "male",
"dateOfBirth": "2025-10-28T00:00:00.000Z",
"emails": [
"[email protected]"
],
"phoneNumbers": [
"+353161123345",
"+353861123345"
],
"nationality": "Irish",
"passportNumber": "PZ4A9565",
"guest": {
"href": "<baseURL>/v2/guests/9d94ee11-7043-4b71-980c-a777d00a7b46"
},
"order": {
"href": "<baseURL>/v2/orders/056621C2-C955-492D-B7EE-C77C6BDDFDEE"
}
}