Headless API
API Surface
REST API Client
Storefront JS API
Installation
npm install @lightspeed/ecom-headlessSetup
import { initStorefrontApi } from '@lightspeed/ecom-headless'
await initStorefrontApi({
publicToken: 'YOUR_PUBLIC_TOKEN',
storeId: 12345,
})ApiConfig
ApiConfigProperty
Type
Required
Description
getApiConfig
getApiConfigEntry Points
Import Path
What It Provides
Last updated
Was this helpful?
