Skip to content

productVariantBackInStockUnsubscribeByToken

Mutationin Back in stock

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

ArgumentTypeDescription
tokenString!

Returns

ProductVariantBackInStockUnsubscribeByTokenResponse!

FieldTypeDescription
successBoolean!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
}
}
}
}

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/commercetoolsResolved