Skip to content
redeemGiftCardMutation
redeemGiftCard(code: String!, business: EntityRef!): RedeemGiftCardResult!

Redeem a gift card code for the given business. Creates or transfers the balance to the authenticated user's participant record.

Arguments

codeString!
businessEntityRef!

Returns

RedeemGiftCardResult!

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/graphql
redeemGiftCard