import { provideShopifyApolloDriver } from '@daffodil/driver/shopify'
Provides an Apollo client configuration for Shopify's Storefront API.
function provideShopifyApolloDriver(
domain: string
accessToken: string
): Provider
Parameter | domain: string |
---|---|
Description | The Shopify store domain (e.g. "https://daffodil-demo-alpha.myshopify.com") |
Parameter | accessToken: string |
---|---|
Description | The Shopify Storefront API access token. |