Skip to content

Allow vouchers to be queryable with GraphQL #109

@StormySan

Description

@StormySan

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions