Skip to main content

Arguments

Returns

ConfirmDoubleOptIn

Confirm a requested consent.

This mutation will update the value of the consent associated with the provided token to ACCEPTED.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can edit customer marketing preference

Query Complexity

1

Examples

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.

Query

mutation ConfirmDoubleOptIn($input: ConfirmDoubleOptInInput) { confirmDoubleOptIn(input: $input) { consent { ...ConsentTypeFragment } } }

Variables

Response

{ "data": { "confirmDoubleOptIn": { "consent": ConsentType } } }