verbb/gift-voucher

Allow vouchers to be queryable with GraphQL

Opened this issue · 0 comments

What are you trying to do?

Craft's GraphQL API is being used for more sites to query data, simplifying a lot of data queries - in some sites I'm working on it is now used for all site search queries.

Vouchers are not currently available for selection via GraphQL though, which means these queries cannot return any data related to them for product searches.

What's your proposed solution?

Add GQL mapping for Vouchers to allow them to be queried via GraphQL as per https://craftcms.com/docs/4.x/extend/graphql.html

Additional context

No response