Constructors
constructor
- new GraphQLClient(apiUrl: string, storefrontAccessToken: string): GraphQLClient
Parameters
apiUrl: string
storefrontAccessToken: string
Methods
request
- request(query: string, variables?: {}, headers?: {}): Promise<any>
Parameters
query: string
variables: {} = {}
headers: {} = {}
Returns Promise<any>