Search contact by voucher
Overview
Example Request
https://api.airship.co.uk/v1/contactsConfiguration
Headers
Field
Notes
Body
Field
Notes
Basic payload example
{
"account_id": 2,
"voucher_code_data":
{
"code": "PL1022393E",
"ucgid": 523
}
}{
"allow_sms": false,
"allow_email": true,
"allow_call": false,
"allow_snail_mail": false,
"udfs": [],
"units": [
{
"id": 14458,
"name": "Head Office",
"groups": [
{
"id": 126832,
"name": "Football visitor"
},
{
"id": 126842,
"name": "Christmas Competition entry"
}
]
},
{
"id": 14478,
"name": "London venue",
"groups": [
{
"id": 126778,
"name": "WIFI"
}
]
}
],
"feedback": "https://api.airship.co.uk/v1/contact/51616336/feedback",
"bookings": "https://api.airship.co.uk/v1/contact/51616336/bookings",
"purchases": "https://api.airship.co.uk/v1/contact/51616336/purchases",
"proof_of_presence": "https://api.airship.co.uk/v1/contact/51616336/pops",
"id": 51616336,
"gender": "M",
"title": "Mr",
"first_name": "John",
"last_name": "Smith",
"dob": "1984-11-27",
"building_name": "",
"building_num_street": "2 Test Way",
"locality": "",
"postcode": "L1 1AA",
"city": "London",
"country": "United Kingdom",
"county": "",
"mobile_number": "447816000001",
"home_number": "",
"preferred_method_id": "0",
"work_number": "",
"email": "[email protected]",
"source_id": "134747",
"membership_number": "",
"membership_type": ""
}Last updated