productVariantBackInStockUnsubscribeByToken
Withdraw the sign-up a mail's unsubscribe link names, without signing in. The token is the one the notification carried; it removes only its own sign-up.
Arguments
| Argument | Type | Description |
|---|---|---|
token | String! |
Returns
ProductVariantBackInStockUnsubscribeByTokenResponse!
| Field | Type | Description |
|---|---|---|
success | Boolean! | True for every well-formed token, including one already used or whose sign-up was already mailed: either way, no mail follows. |
productErrors | [ProductVariantBackInStockUnsubscribeByTokenError!] | Error details if the request was malformed |
Example
mutation ProductVariantBackInStockUnsubscribeByToken($token: String!) { productVariantBackInStockUnsubscribeByToken(token: $token) { success productErrors { __typename ... on ValidationError { message } } }}{ "token": "Example"}{ "data": { "productVariantBackInStockUnsubscribeByToken": { "success": true, "productErrors": [ { "__typename": "ValidationError", "message": "Example" } ] } }}The query selects the return type's fields two levels deep; pick the ones you need. The response shows its shape with placeholder values.
Served by
| @evolve-framework/commercetools | Resolved |

