WHMCS / developer-docs

Developer documentation portal content
72 stars 114 forks source link

Clarification of email_preferences options in AddContact #245

Open bencromwell opened 3 years ago

bencromwell commented 3 years ago

https://developers.whmcs.com/api-reference/addcontact/

email_preferences[general] bool Should the client receive general emails Optional
email_preferences[product] bool Should the client receive product emails Optional
email_preferences[domain] bool Should the client receive domain emails Optional
email_preferences[invoice] bool Should the client receive invoice emails Optional
email_preferences[support] bool Should the client receive support emails Optional
email_preferences[affiliate] bool Should the client receive affiliate emails Optional

Are these keys - literally just email_preferences[area] or is email_preferences an array with each of those options nested?