[{"data":1,"prerenderedAt":916},["ShallowReactive",2],{"navigation_docs":3,"-docs-storefront-sdk-getting-started-configuration":357,"-docs-storefront-sdk-getting-started-configuration-surround":911,"docs-site-config":901},[4,74,135,139,161,195,273],{"title":5,"path":6,"stem":7,"children":8},"Assets API","\u002Fdocs\u002Fassets","docs\u002Fassets\u002Findex",[9,10,32,57],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13,"children":14,"page":31},"Getting Started","\u002Fdocs\u002Fassets\u002Fgetting-started","docs\u002Fassets\u002F1.getting-started",[15,19,23,27],{"title":16,"path":17,"stem":18},"Base URL","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fbase-url","docs\u002Fassets\u002F1.getting-started\u002F1.base-url",{"title":20,"path":21,"stem":22},"Important Notes","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fimportant-notes","docs\u002Fassets\u002F1.getting-started\u002F2.important-notes",{"title":24,"path":25,"stem":26},"URL Format","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Furl-format","docs\u002Fassets\u002F1.getting-started\u002F3.url-format",{"title":28,"path":29,"stem":30},"Custom Domains","\u002Fdocs\u002Fassets\u002Fgetting-started\u002Fcustom-domains","docs\u002Fassets\u002F1.getting-started\u002F4.custom-domains",false,{"title":33,"path":34,"stem":35,"children":36,"page":31},"Usage","\u002Fdocs\u002Fassets\u002Fusage","docs\u002Fassets\u002F2.usage",[37,41,45,49,53],{"title":38,"path":39,"stem":40},"Transforms","\u002Fdocs\u002Fassets\u002Fusage\u002Ftransforms","docs\u002Fassets\u002F2.usage\u002F1.transforms",{"title":42,"path":43,"stem":44},"Caching","\u002Fdocs\u002Fassets\u002Fusage\u002Fcaching","docs\u002Fassets\u002F2.usage\u002F2.caching",{"title":46,"path":47,"stem":48},"Recipes","\u002Fdocs\u002Fassets\u002Fusage\u002Frecipes","docs\u002Fassets\u002F2.usage\u002F3.recipes",{"title":50,"path":51,"stem":52},"Best Practices","\u002Fdocs\u002Fassets\u002Fusage\u002Fbest-practices","docs\u002Fassets\u002F2.usage\u002F4.best-practices",{"title":54,"path":55,"stem":56},"Reference","\u002Fdocs\u002Fassets\u002Fusage\u002Freference","docs\u002Fassets\u002F2.usage\u002F5.reference",{"title":58,"path":59,"stem":60,"children":61,"page":31},"Integration","\u002Fdocs\u002Fassets\u002Fintegration","docs\u002Fassets\u002F3.integration",[62,66,70],{"title":63,"path":64,"stem":65},"Nuxt","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnuxt","docs\u002Fassets\u002F3.integration\u002F1.nuxt",{"title":67,"path":68,"stem":69},"Next.js","\u002Fdocs\u002Fassets\u002Fintegration\u002Fnextjs","docs\u002Fassets\u002F3.integration\u002F2.nextjs",{"title":71,"path":72,"stem":73},"Plain HTML","\u002Fdocs\u002Fassets\u002Fintegration\u002Fhtml","docs\u002Fassets\u002F3.integration\u002F3.html",{"title":75,"path":76,"stem":77,"children":78},"Avvyr CMS","\u002Fdocs\u002Fcms","docs\u002Fcms\u002Findex",[79,80,92,105,118,131],{"title":75,"path":76,"stem":77},{"title":11,"path":81,"stem":82,"children":83,"page":31},"\u002Fdocs\u002Fcms\u002Fgetting-started","docs\u002Fcms\u002F1.getting-started",[84,88],{"title":85,"path":86,"stem":87},"Quickstart","\u002Fdocs\u002Fcms\u002Fgetting-started\u002Fquickstart","docs\u002Fcms\u002F1.getting-started\u002F1.quickstart",{"title":89,"path":90,"stem":91},"Keys and access","\u002Fdocs\u002Fcms\u002Fgetting-started\u002Fkeys-and-access","docs\u002Fcms\u002F1.getting-started\u002F2.keys-and-access",{"title":93,"path":94,"stem":95,"children":96,"page":31},"Content Model","\u002Fdocs\u002Fcms\u002Fcontent-model","docs\u002Fcms\u002F2.content-model",[97,101],{"title":98,"path":99,"stem":100},"Types and fields","\u002Fdocs\u002Fcms\u002Fcontent-model\u002Ftypes-and-fields","docs\u002Fcms\u002F2.content-model\u002F1.types-and-fields",{"title":102,"path":103,"stem":104},"Entries and publishing","\u002Fdocs\u002Fcms\u002Fcontent-model\u002Fentries-and-publishing","docs\u002Fcms\u002F2.content-model\u002F2.entries-and-publishing",{"title":106,"path":107,"stem":108,"children":109,"page":31},"Delivery","\u002Fdocs\u002Fcms\u002Fdelivery","docs\u002Fcms\u002F3.delivery",[110,114],{"title":111,"path":112,"stem":113},"Delivery API","\u002Fdocs\u002Fcms\u002Fdelivery\u002Fdelivery-api","docs\u002Fcms\u002F3.delivery\u002F1.delivery-api",{"title":115,"path":116,"stem":117},"Preview and live editing","\u002Fdocs\u002Fcms\u002Fdelivery\u002Fpreview","docs\u002Fcms\u002F3.delivery\u002F2.preview",{"title":119,"path":120,"stem":121,"children":122,"page":31},"Frameworks","\u002Fdocs\u002Fcms\u002Fframeworks","docs\u002Fcms\u002F4.frameworks",[123,127],{"title":124,"path":125,"stem":126},"JavaScript client","\u002Fdocs\u002Fcms\u002Fframeworks\u002Fjavascript-client","docs\u002Fcms\u002F4.frameworks\u002F1.javascript-client",{"title":128,"path":129,"stem":130},"Nuxt layer","\u002Fdocs\u002Fcms\u002Fframeworks\u002Fnuxt","docs\u002Fcms\u002F4.frameworks\u002F2.nuxt",{"title":132,"path":133,"stem":134},"Management API","\u002Fdocs\u002Fcms\u002Fmanagement-api","docs\u002Fcms\u002F5.management-api",{"title":136,"path":137,"stem":138},"Early Access","\u002Fdocs\u002Fearly-access","docs\u002Fearly-access",{"title":140,"path":141,"stem":142,"children":143},"Events API","\u002Fdocs\u002Fevents","docs\u002Fevents\u002Findex",[144,145],{"title":140,"path":141,"stem":142},{"title":11,"path":146,"stem":147,"children":148,"page":31},"\u002Fdocs\u002Fevents\u002Fgetting-started","docs\u002Fevents\u002F1.getting-started",[149,153,157],{"title":150,"path":151,"stem":152},"Subscribing","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fsubscribing","docs\u002Fevents\u002F1.getting-started\u002F1.subscribing",{"title":154,"path":155,"stem":156},"Event Delivery","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-delivery","docs\u002Fevents\u002F1.getting-started\u002F2.event-delivery",{"title":158,"path":159,"stem":160},"Event Reference","\u002Fdocs\u002Fevents\u002Fgetting-started\u002Fevent-reference","docs\u002Fevents\u002F1.getting-started\u002F3.event-reference",{"title":162,"path":163,"stem":164,"children":165},"Integrations API","\u002Fdocs\u002Fintegrations","docs\u002Fintegrations\u002Findex",[166,167],{"title":162,"path":163,"stem":164},{"title":11,"path":168,"stem":169,"children":170,"page":31},"\u002Fdocs\u002Fintegrations\u002Fgetting-started","docs\u002Fintegrations\u002F1.getting-started",[171,175,179,183,187,191],{"title":172,"path":173,"stem":174},"Why Use It?","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwhy-integrations-api","docs\u002Fintegrations\u002F1.getting-started\u002F1.why-integrations-api",{"title":176,"path":177,"stem":178},"Use Cases","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fwho-is-it-for","docs\u002Fintegrations\u002F1.getting-started\u002F2.who-is-it-for",{"title":180,"path":181,"stem":182},"Pre-built Connectors","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fpre-built-integrations","docs\u002Fintegrations\u002F1.getting-started\u002F3.pre-built-integrations",{"title":184,"path":185,"stem":186},"Custom Inbound","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fcustom-inbound-api","docs\u002Fintegrations\u002F1.getting-started\u002F4.custom-inbound-api",{"title":188,"path":189,"stem":190},"Event Lifecycle","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fevent-lifecycle","docs\u002Fintegrations\u002F1.getting-started\u002F5.event-lifecycle",{"title":192,"path":193,"stem":194},"API Endpoints","\u002Fdocs\u002Fintegrations\u002Fgetting-started\u002Fmanagement-api-endpoints","docs\u002Fintegrations\u002F1.getting-started\u002F6.management-api-endpoints",{"title":196,"path":197,"stem":198,"children":199},"MCP Server","\u002Fdocs\u002Fmcp","docs\u002Fmcp\u002Findex",[200,201,225,234,244],{"title":196,"path":197,"stem":198},{"title":11,"path":202,"stem":203,"children":204,"page":31},"\u002Fdocs\u002Fmcp\u002Fgetting-started","docs\u002Fmcp\u002F1.getting-started",[205,209,213,217,221],{"title":206,"path":207,"stem":208},"Claude","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude","docs\u002Fmcp\u002F1.getting-started\u002F1.claude",{"title":210,"path":211,"stem":212},"Claude Code","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fclaude-code","docs\u002Fmcp\u002F1.getting-started\u002F2.claude-code",{"title":214,"path":215,"stem":216},"VS Code","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fvscode","docs\u002Fmcp\u002F1.getting-started\u002F3.vscode",{"title":218,"path":219,"stem":220},"Cursor","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fcursor","docs\u002Fmcp\u002F1.getting-started\u002F4.cursor",{"title":222,"path":223,"stem":224},"Verify the connection","\u002Fdocs\u002Fmcp\u002Fgetting-started\u002Fverify","docs\u002Fmcp\u002F1.getting-started\u002F5.verify",{"title":226,"path":227,"stem":228,"children":229,"page":31},"Docs Server","\u002Fdocs\u002Fmcp\u002Fdocs-server","docs\u002Fmcp\u002F2.docs-server",[230],{"title":231,"path":232,"stem":233},"Docs server tools","\u002Fdocs\u002Fmcp\u002Fdocs-server\u002Ftools","docs\u002Fmcp\u002F2.docs-server\u002F1.tools",{"title":235,"path":236,"stem":237,"children":238},"API Server","\u002Fdocs\u002Fmcp\u002Fapi-server","docs\u002Fmcp\u002F3.api-server\u002Findex",[239,240],{"title":235,"path":236,"stem":237},{"title":241,"path":242,"stem":243},"Available tools","\u002Fdocs\u002Fmcp\u002Fapi-server\u002Ftools","docs\u002Fmcp\u002F3.api-server\u002F1.tools",{"title":245,"path":246,"stem":247,"children":248,"page":31},"Examples","\u002Fdocs\u002Fmcp\u002Fexamples","docs\u002Fmcp\u002F4.examples",[249,253,257,261,265,269],{"title":250,"path":251,"stem":252},"Exploring an API","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fexploring-an-api","docs\u002Fmcp\u002F4.examples\u002F1.exploring-an-api",{"title":254,"path":255,"stem":256},"Building a Feature","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fbuilding-a-feature","docs\u002Fmcp\u002F4.examples\u002F2.building-a-feature",{"title":258,"path":259,"stem":260},"Understanding Models","\u002Fdocs\u002Fmcp\u002Fexamples\u002Funderstanding-models","docs\u002Fmcp\u002F4.examples\u002F3.understanding-models",{"title":262,"path":263,"stem":264},"Code Review","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fcode-review","docs\u002Fmcp\u002F4.examples\u002F4.code-review",{"title":266,"path":267,"stem":268},"Combining MCP Servers","\u002Fdocs\u002Fmcp\u002Fexamples\u002Fmulti-mcp","docs\u002Fmcp\u002F4.examples\u002F5.multi-mcp",{"title":270,"path":271,"stem":272},"Tips","\u002Fdocs\u002Fmcp\u002Fexamples\u002Ftips","docs\u002Fmcp\u002F4.examples\u002F6.tips",{"title":274,"path":275,"stem":276,"children":277,"page":31},"Storefront SDK","\u002Fdocs\u002Fstorefront-sdk","docs\u002Fstorefront-sdk",[278,290,323,338],{"title":11,"path":279,"stem":280,"children":281,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started","docs\u002Fstorefront-sdk\u002F1.getting-started",[282,286],{"title":283,"path":284,"stem":285},"Installation","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Finstallation","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F1.installation",{"title":287,"path":288,"stem":289},"Configuration","\u002Fdocs\u002Fstorefront-sdk\u002Fgetting-started\u002Fconfiguration","docs\u002Fstorefront-sdk\u002F1.getting-started\u002F2.configuration",{"title":291,"path":292,"stem":293,"children":294,"page":31},"Resources","\u002Fdocs\u002Fstorefront-sdk\u002Fresources","docs\u002Fstorefront-sdk\u002F2.resources",[295,299,303,307,311,315,319],{"title":296,"path":297,"stem":298},"Products","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts","docs\u002Fstorefront-sdk\u002F2.resources\u002F1.products",{"title":300,"path":301,"stem":302},"Cart","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcart","docs\u002Fstorefront-sdk\u002F2.resources\u002F2.cart",{"title":304,"path":305,"stem":306},"Auth","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fauth","docs\u002Fstorefront-sdk\u002F2.resources\u002F3.auth",{"title":308,"path":309,"stem":310},"Checkout & Shipping","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fcheckout-shipping","docs\u002Fstorefront-sdk\u002F2.resources\u002F4.checkout-shipping",{"title":312,"path":313,"stem":314},"Orders, Returns & Reviews","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Forders-returns-reviews","docs\u002Fstorefront-sdk\u002F2.resources\u002F5.orders-returns-reviews",{"title":316,"path":317,"stem":318},"Customer assistant","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fassistant","docs\u002Fstorefront-sdk\u002F2.resources\u002F6.assistant",{"title":320,"path":321,"stem":322},"Products in images","\u002Fdocs\u002Fstorefront-sdk\u002Fresources\u002Fproducts-in-images","docs\u002Fstorefront-sdk\u002F2.resources\u002F7.products-in-images",{"title":128,"path":324,"stem":325,"children":326,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer","docs\u002Fstorefront-sdk\u002F3.nuxt-layer",[327,331,335],{"title":328,"path":329,"stem":330},"Overview","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Foverview","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F1.overview",{"title":332,"path":333,"stem":334},"Composables","\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fcomposables","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F2.composables",{"title":316,"path":336,"stem":337},"\u002Fdocs\u002Fstorefront-sdk\u002Fnuxt-layer\u002Fassistant","docs\u002Fstorefront-sdk\u002F3.nuxt-layer\u002F3.assistant",{"title":67,"path":339,"stem":340,"children":341,"page":31},"\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs","docs\u002Fstorefront-sdk\u002F4.nextjs",[342,345,349,353],{"title":328,"path":343,"stem":344},"\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Foverview","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F1.overview",{"title":346,"path":347,"stem":348},"Hooks","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fhooks","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F2.hooks",{"title":350,"path":351,"stem":352},"Server helpers and proxy","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fserver","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F3.server",{"title":354,"path":355,"stem":356},"Components","\u002Fdocs\u002Fstorefront-sdk\u002Fnextjs\u002Fcomponents","docs\u002Fstorefront-sdk\u002F4.nextjs\u002F4.components",{"id":358,"title":287,"body":359,"description":899,"extension":900,"links":901,"meta":902,"navigation":800,"path":288,"seo":909,"stem":289,"__hash__":910},"docs\u002Fdocs\u002Fstorefront-sdk\u002F1.getting-started\u002F2.configuration.md",{"type":360,"value":361,"toc":893},"minimark",[362,370,509,513,517,577,584,588,591,686,690,889],[363,364,366],"h2",{"id":365},"storefrontclientconfig",[367,368,369],"code",{},"StorefrontClientConfig",[371,372,373,392],"table",{},[374,375,376],"thead",{},[377,378,379,383,386,389],"tr",{},[380,381,382],"th",{},"Option",[380,384,385],{},"Type",[380,387,388],{},"Required",[380,390,391],{},"Description",[393,394,395,418,438,454,475,492],"tbody",{},[377,396,397,403,408,411],{},[398,399,400],"td",{},[367,401,402],{},"publicKey",[398,404,405],{},[367,406,407],{},"string",[398,409,410],{},"✅",[398,412,413,414,417],{},"Public storefront key (",[367,415,416],{},"sfp_…","). Safe to expose in the browser.",[377,419,420,425,429,431],{},[398,421,422],{},[367,423,424],{},"baseUrl",[398,426,427],{},[367,428,407],{},[398,430,410],{},[398,432,433,434,437],{},"API base URL — ",[367,435,436],{},"https:\u002F\u002Fapi.avvyr.com"," in production.",[377,439,440,445,449,451],{},[398,441,442],{},[367,443,444],{},"marketId",[398,446,447],{},[367,448,407],{},[398,450,410],{},[398,452,453],{},"ID of the market to scope all requests to.",[377,455,456,461,465,468],{},[398,457,458],{},[367,459,460],{},"privateKey",[398,462,463],{},[367,464,407],{},[398,466,467],{},"—",[398,469,470,471,474],{},"Private key (",[367,472,473],{},"sfs_…","). Server-side only.",[377,476,477,482,487,489],{},[398,478,479],{},[367,480,481],{},"fetch",[398,483,484],{},[367,485,486],{},"typeof fetch",[398,488,467],{},[398,490,491],{},"Custom fetch implementation. Useful in edge runtimes or tests.",[377,493,494,499,504,506],{},[398,495,496],{},[367,497,498],{},"headers",[398,500,501],{},[367,502,503],{},"Record\u003Cstring, string>",[398,505,467],{},[398,507,508],{},"Extra headers added to every request.",[363,510,512],{"id":511},"per-request-access-tokens","Per-request access tokens",[514,515,516],"p",{},"The client manages two tokens internally — you don't set them in the config:",[371,518,519,532],{},[374,520,521],{},[377,522,523,526,529],{},[380,524,525],{},"Token",[380,527,528],{},"Set by",[380,530,531],{},"Used for",[393,533,534,556],{},[377,535,536,541,550],{},[398,537,538],{},[367,539,540],{},"cartAccessToken",[398,542,543,546,547],{},[367,544,545],{},"cart.create()"," \u002F ",[367,548,549],{},"cart.redeemShared()",[398,551,552,555],{},[367,553,554],{},"x-cart-token"," header on all cart mutation endpoints",[377,557,558,563,571],{},[398,559,560],{},[367,561,562],{},"customerAccessToken",[398,564,565,546,568],{},[367,566,567],{},"auth.login()",[367,569,570],{},"auth.verifyMagicLink()",[398,572,573,576],{},[367,574,575],{},"Authorization: Bearer"," header",[514,578,579,580,583],{},"Both tokens are stored on the ",[367,581,582],{},"HttpClient"," instance and sent automatically on subsequent calls.",[363,585,587],{"id":586},"multiple-markets","Multiple markets",[514,589,590],{},"Create one client per market when you need to handle multiple simultaneously:",[592,593,598],"pre",{"className":594,"code":595,"language":596,"meta":597,"style":597},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const seClient = createStorefrontClient({ ..., marketId: 'market-id-se' })\nconst noClient = createStorefrontClient({ ..., marketId: 'market-id-no' })\n","ts","",[367,599,600,653],{"__ignoreMap":597},[601,602,605,609,613,617,621,624,627,630,634,637,640,644,647,650],"span",{"class":603,"line":604},"line",1,[601,606,608],{"class":607},"spNyl","const",[601,610,612],{"class":611},"sTEyZ"," seClient ",[601,614,616],{"class":615},"sMK4o","=",[601,618,620],{"class":619},"s2Zo4"," createStorefrontClient",[601,622,623],{"class":611},"(",[601,625,626],{"class":615},"{",[601,628,629],{"class":615}," ...,",[601,631,633],{"class":632},"swJcz"," marketId",[601,635,636],{"class":615},":",[601,638,639],{"class":615}," '",[601,641,643],{"class":642},"sfazB","market-id-se",[601,645,646],{"class":615},"'",[601,648,649],{"class":615}," }",[601,651,652],{"class":611},")\n",[601,654,656,658,661,663,665,667,669,671,673,675,677,680,682,684],{"class":603,"line":655},2,[601,657,608],{"class":607},[601,659,660],{"class":611}," noClient ",[601,662,616],{"class":615},[601,664,620],{"class":619},[601,666,623],{"class":611},[601,668,626],{"class":615},[601,670,629],{"class":615},[601,672,633],{"class":632},[601,674,636],{"class":615},[601,676,639],{"class":615},[601,678,679],{"class":642},"market-id-no",[601,681,646],{"class":615},[601,683,649],{"class":615},[601,685,652],{"class":611},[363,687,689],{"id":688},"custom-fetch-edge-tests","Custom fetch (edge \u002F tests)",[592,691,693],{"className":594,"code":692,"language":596,"meta":597,"style":597},"\u002F\u002F Cloudflare Workers\nconst client = createStorefrontClient({\n  publicKey: env.STOREFRONT_PUBLIC_KEY,\n  baseUrl: 'https:\u002F\u002Fapi.avvyr.com',\n  marketId: env.MARKET_ID,\n  fetch: fetch, \u002F\u002F Workers global fetch\n})\n\n\u002F\u002F Mocking in tests\nconst client = createStorefrontClient({\n  publicKey: 'sfp_test',\n  baseUrl: 'https:\u002F\u002Fapi.avvyr.com',\n  marketId: 'test-market',\n  fetch: mockFetch,\n})\n",[367,694,695,701,717,737,753,770,787,795,802,808,823,839,854,870,882],{"__ignoreMap":597},[601,696,697],{"class":603,"line":604},[601,698,700],{"class":699},"sHwdD","\u002F\u002F Cloudflare Workers\n",[601,702,703,705,708,710,712,714],{"class":603,"line":655},[601,704,608],{"class":607},[601,706,707],{"class":611}," client ",[601,709,616],{"class":615},[601,711,620],{"class":619},[601,713,623],{"class":611},[601,715,716],{"class":615},"{\n",[601,718,720,723,725,728,731,734],{"class":603,"line":719},3,[601,721,722],{"class":632},"  publicKey",[601,724,636],{"class":615},[601,726,727],{"class":611}," env",[601,729,730],{"class":615},".",[601,732,733],{"class":611},"STOREFRONT_PUBLIC_KEY",[601,735,736],{"class":615},",\n",[601,738,740,743,745,747,749,751],{"class":603,"line":739},4,[601,741,742],{"class":632},"  baseUrl",[601,744,636],{"class":615},[601,746,639],{"class":615},[601,748,436],{"class":642},[601,750,646],{"class":615},[601,752,736],{"class":615},[601,754,756,759,761,763,765,768],{"class":603,"line":755},5,[601,757,758],{"class":632},"  marketId",[601,760,636],{"class":615},[601,762,727],{"class":611},[601,764,730],{"class":615},[601,766,767],{"class":611},"MARKET_ID",[601,769,736],{"class":615},[601,771,773,776,778,781,784],{"class":603,"line":772},6,[601,774,775],{"class":632},"  fetch",[601,777,636],{"class":615},[601,779,780],{"class":611}," fetch",[601,782,783],{"class":615},",",[601,785,786],{"class":699}," \u002F\u002F Workers global fetch\n",[601,788,790,793],{"class":603,"line":789},7,[601,791,792],{"class":615},"}",[601,794,652],{"class":611},[601,796,798],{"class":603,"line":797},8,[601,799,801],{"emptyLinePlaceholder":800},true,"\n",[601,803,805],{"class":603,"line":804},9,[601,806,807],{"class":699},"\u002F\u002F Mocking in tests\n",[601,809,811,813,815,817,819,821],{"class":603,"line":810},10,[601,812,608],{"class":607},[601,814,707],{"class":611},[601,816,616],{"class":615},[601,818,620],{"class":619},[601,820,623],{"class":611},[601,822,716],{"class":615},[601,824,826,828,830,832,835,837],{"class":603,"line":825},11,[601,827,722],{"class":632},[601,829,636],{"class":615},[601,831,639],{"class":615},[601,833,834],{"class":642},"sfp_test",[601,836,646],{"class":615},[601,838,736],{"class":615},[601,840,842,844,846,848,850,852],{"class":603,"line":841},12,[601,843,742],{"class":632},[601,845,636],{"class":615},[601,847,639],{"class":615},[601,849,436],{"class":642},[601,851,646],{"class":615},[601,853,736],{"class":615},[601,855,857,859,861,863,866,868],{"class":603,"line":856},13,[601,858,758],{"class":632},[601,860,636],{"class":615},[601,862,639],{"class":615},[601,864,865],{"class":642},"test-market",[601,867,646],{"class":615},[601,869,736],{"class":615},[601,871,873,875,877,880],{"class":603,"line":872},14,[601,874,775],{"class":632},[601,876,636],{"class":615},[601,878,879],{"class":611}," mockFetch",[601,881,736],{"class":615},[601,883,885,887],{"class":603,"line":884},15,[601,886,792],{"class":615},[601,888,652],{"class":611},[890,891,892],"style",{},"html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":597,"searchDepth":655,"depth":655,"links":894},[895,896,897,898],{"id":365,"depth":655,"text":369},{"id":511,"depth":655,"text":512},{"id":586,"depth":655,"text":587},{"id":688,"depth":655,"text":689},"All StorefrontClientConfig options","md",null,{"questions":903},{"en":904},[905,906,907,908],"Which options does createStorefrontClient accept?","How do I handle several markets at the same time?","How do I use a custom fetch in Cloudflare Workers or tests?","Do I need to set the cart and customer tokens myself?",{"title":287,"description":899},"by_OGQFUU_Hi8JEBi73n8U4pmE1gtJ-D6GhdjFMnhXg",[912,914],{"title":283,"path":284,"stem":285,"description":913,"children":-1},"Install @avvyr\u002Fstorefront-sdk in any JavaScript or TypeScript project",{"title":296,"path":297,"stem":298,"description":915,"children":-1},"Product search, detail lookups, and related products",1793388940301]