@shopify/cli-kit
    Preparing search index...
    • Executes a GraphQL query against the Business Platform Destinations API.

      Type Parameters

      • T

      Parameters

      • query: string

        GraphQL query to execute.

      • token: string

        Business Platform token.

      • Optionalvariables: GraphQLVariables

        GraphQL variables to pass to the query.

      • OptionalcacheOptions: CacheOptions

        Cache options for the request. If not present, the request will not be cached.

      Returns Promise<T>

      The response of the query of generic type .