Interface: CustomerClientProviderProps
Properties
children
children:
ReactNode
config?
optionalconfig?:StorefrontProviderConfig
Client config. apiUrl and shopSlug are optional — when omitted they fall back
to NEXT_PUBLIC_API_URL / NEXT_PUBLIC_SHOP_SLUG, so a standard Next.js deploy is
zero-config. graphqlPath defaults to the customer-account surface
(/storefront/customer/graphql); set it explicitly only to override.
middleware?
optionalmiddleware?:Middleware[]
Additional middleware inserted before the infrastructure middleware. Default pipeline: session-retry → auth → currency → language → [custom] → retry → timeout → errors.