updateCommsDeliveryPreference
Update the comms delivery preference for the given account.
Arguments
Input fields for updating comms delivery preferences for an account.
Possible Errors
Allowed Viewers
Required Permissions
Can access customer queriesCan update account details
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation UpdateCommsDeliveryPreference($input: UpdateCommsDeliveryPreferenceInput!) {
updateCommsDeliveryPreference(input: $input) {
account {
...AccountInterfaceFragment
}
}
}
Variables
{
"input": UpdateCommsDeliveryPreferenceInput
}
Response
{
"data": {
"updateCommsDeliveryPreference": {
"account": AccountInterface
}
}
}