Update an order contact
POST /v2/orderContacts/<orderContactRef>
Updates an order contact.
RequestResponse
curl -X POST '<baseURL>/v2/orderContacts/f8d1f0d5-365d-46b7-becf-d041e93a5705' \
-u '<username>:<password>' \
-H 'Accept: application/json' \
--data-raw '{
"title": "Mr",
"firstName": "John",
"lastName": "Doe",
"gender": "male",
"dateOfBirth": "2024-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": "2024-08-15T16:00:55.554Z",
"modifiedAt": "2024-08-21T16:00:51.882Z",
"title": "Mr",
"firstName": "John",
"lastName": "Doe",
"gender": "male",
"dateOfBirth": "2024-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"
}
}