Skip to main content
The part of Hydrogen’s Storefront API client that serveAgentsMd uses. Hydrogen’s context.storefront (React Router) and a client from createStorefrontClient (Next.js) both fit.

Properties

(query: string) => Promise<unknown>
required
Runs a Storefront API GraphQL query.
string
required
The store’s own URL, such as https://my-store.myshopify.com.