# after_domaincontactchange
Domain contacts have been updated
# Hook parameter
An array
is passed to hook containing following keys/values
Key | Type | Description |
---|---|---|
id | int | Related domain ID in HostBill |
contacts_before | array | Array with contact details before the update |
contacts_after | array | Array with contact details after the update |
An array
with data for contacts_before
and contacts_after
Key | Type | Description |
---|---|---|
registrant | array | Array with registrant contact details |
tech | array | Array with tech contact details |
admin | array | Array with admin contact details |
billing | array | Array with billing contact details |
An array
with data for registrant
, tech
, admin
and billing
Key | Type | Description |
---|---|---|
firstname | string | Contact firstname |
lastname | string | Contact lastname |
companyname | string | Contact company name |
address1 | string | Contact address |
address2 | string | Contact address 2 |
city | string | Contact city |
state | string | Contact state |
country | string | Contact country (iso code) |
postcode | string | Contact postcode |
email | string | Contact email |
phonenumber | string | Contact phone number |