• Executes a GraphQL query against the Partners API.

    Type Parameters

    • T

    Parameters

    • query: string

      GraphQL query to execute.

    • token: string

      Partners token.

    • Optional variables: GraphQLVariables

      GraphQL variables to pass to the query.

    Returns Promise<T>

    The response of the query of generic type .