listOptin Mutation
Description
Subscribes an email address to a customer list.
mutation listOptin($listRef: ID!, $email: String!) {
listOptin(listRef: $listRef, email: $email)
}
Variables
{
"listRef": "e630dedf7cf0c4389991660d",
"email": "email@example.com"
}
Response
{
"listOptin": "example"
}
Arguments
| Name | Type | Description |
|---|---|---|
listRef | ID! | Customer list identifier. |
email | String! | Email address to subscribe. |