tanqoryExtEmailSuppressionClear
- Mutation
- Apps and platform
Resumes store email to an address the store stopped mailing because it bounced (HARD_BOUNCE or SOFT_BOUNCE): use it once the customer confirms the address works. An earlier unsubscribe or spam report stays (the payload's suppression then shows it), and those two cannot be cleared here: only the person can subscribe again (INVALID). NOT_FOUND when the store is not suppressing the address.
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
email | String! | Required |
Returns
TanqoryExtEmailSuppressionClearPayload
| Field | Type | Description |
|---|---|---|
providerCleared | Boolean | Whether the email provider's own bounce list was cleared too: true, false (it refused; its next send may be dropped), or null (not attempted: not a hard bounce, or the provider's list is not connected on this platform). |
suppression | TanqoryExtEmailSuppression | What still applies to the address after the clear; null when the store mails it normally again. |
userErrors | [TanqoryExtNotificationUserError!]! |
Example request
A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.
Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
-H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
--data '{"query":"mutation TanqoryExtEmailSuppressionClear($email: String!) {\n tanqoryExtEmailSuppressionClear(email: $email) {\n providerCleared\n userErrors {\n code\n field\n message\n }\n }\n}","variables":{"email":""}}'// Node.js 18 or later (fetch is built in). Save as request.mjs and run: node request.mjs
const query = `mutation TanqoryExtEmailSuppressionClear(\$email: String!) {
tanqoryExtEmailSuppressionClear(email: \$email) {
providerCleared
userErrors {
code
field
message
}
}
}`;
const variables = {
"email": ""
};
const res = await fetch(`https://api.tanqory.com/admin/2026-10/stores/${process.env.STORE_ID}/graphql`, {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + process.env.TANQORY_ACCESS_TOKEN,
'Content-Type': 'application/json',
},
body: JSON.stringify({ query, variables }),
});
console.log(res.status, JSON.stringify(await res.json(), null, 2));# Python 3, standard library only. Save as request.py and run: python3 request.py
import json, os, urllib.request
query = """mutation TanqoryExtEmailSuppressionClear($email: String!) {
tanqoryExtEmailSuppressionClear(email: $email) {
providerCleared
userErrors {
code
field
message
}
}
}"""
variables = json.loads("""{
"email": ""
}""")
req = urllib.request.Request(
"https://api.tanqory.com/admin/2026-10/stores/" + os.environ["STORE_ID"] + "/graphql",
data=json.dumps({"query": query, "variables": variables}).encode(),
headers={
"Authorization": "Bearer " + os.environ["TANQORY_ACCESS_TOKEN"],
"Content-Type": "application/json",
},
)
with urllib.request.urlopen(req) as res:
print(res.status, json.dumps(json.load(res), indent=2))