CreateRedemptionResult
No description
type CreateRedemptionResult {
success: Boolean!
redemptionCodes: [RedemptionCode!]
errors: [CreateRedemptionError!]
alreadyLinked: Boolean
}
Fields
CreateRedemptionResult.success ● Boolean! non-null scalar
If the creation of the redemption was successful
CreateRedemptionResult.redemptionCodes ● [RedemptionCode!] list object
Redemption Codes if any where created
CreateRedemptionResult.errors ● [CreateRedemptionError!] list object
Any errors presenting when creating the redemption will be returned here
CreateRedemptionResult.alreadyLinked ● Boolean scalar
True if the redemption was already linked to an identity with Shopify
Returned By
createRedemption mutation ● generateRedemptionCodes mutation