Skip to main content

RedeemRegistrationAndRedemptionCodes

Redeems a registration or redemption code. The results of this mutation can be affected by providing an authToken header to set a user for the operation.

RedeemRegistrationAndRedemptionCodes(
validatedRedemptionCodes: [String!]!
): RedeemedRegistrationRedemptionResult!

Arguments

RedeemRegistrationAndRedemptionCodes.validatedRedemptionCodes ● [String!]! non-null scalar

Type

RedeemedRegistrationRedemptionResult object

Examples

Run in Postman

Query:

RedeemRegistrationAndRedemptionCodes($validatedRedemptionCodes: [String!]!) {
RedeemRegistrationAndRedemptionCodes(validatedRedemptionCodes: $validatedRedemptionCodes) {
redeemed
}
}

Variables:

{
"validatedRedemptionCodes": [
"xyz789"
]
}

Response:

{
"data": {
"RedeemRegistrationAndRedemptionCodes": {
"redeemed": false
}
}
}