redeemGiftCardMutation
Redeem a gift card code for the given business. Creates or transfers the balance to the authenticated user's participant record.
Arguments
Returns
See RedeemGiftCardResult for the full shape.
Try it
Example
Query
mutation RedeemGiftCard($code: String!, $business: EntityRef!) {
redeemGiftCard(code: $code, business: $business) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphqlredeemGiftCard