• Executes a GraphQL query against the Admin API.

    Type Parameters

    • T

    Parameters

    • query: string

      GraphQL query to execute.

    • session: AdminSession

      Shopify admin session including token and Store FQDN.

    • Optional variables: GraphQLVariables

      GraphQL variables to pass to the query.

    Returns Promise<T>

    The response of the query of generic type .