[{"data":1,"prerenderedAt":570},["ShallowReactive",2],{"navigation_docs":3,"-docs-storefront-storefront-tokens":283,"-docs-storefront-storefront-tokens-surround":565},[4,38,88,108,150,159,168,177,199,221,251],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002Findex",[9,10,14,18,22,26,30,34],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"First Steps","\u002Fdocs\u002Fgetting-started\u002Ffirst-steps","docs\u002F1.getting-started\u002F1.first-steps",{"title":15,"path":16,"stem":17},"Dashboard Overview","\u002Fdocs\u002Fgetting-started\u002Fdashboard-overview","docs\u002F1.getting-started\u002F2.dashboard-overview",{"title":19,"path":20,"stem":21},"Key Concepts","\u002Fdocs\u002Fgetting-started\u002Fkey-concepts","docs\u002F1.getting-started\u002F3.key-concepts",{"title":23,"path":24,"stem":25},"Initial Store Setup","\u002Fdocs\u002Fgetting-started\u002Finitial-store-setup","docs\u002F1.getting-started\u002F4.initial-store-setup",{"title":27,"path":28,"stem":29},"Setting Up Markets","\u002Fdocs\u002Fgetting-started\u002Fsetting-up-markets","docs\u002F1.getting-started\u002F5.setting-up-markets",{"title":31,"path":32,"stem":33},"Inviting Users","\u002Fdocs\u002Fgetting-started\u002Finviting-users","docs\u002F1.getting-started\u002F6.inviting-users",{"title":35,"path":36,"stem":37},"Go-Live Checklist","\u002Fdocs\u002Fgetting-started\u002Fgo-live-checklist","docs\u002F1.getting-started\u002F7.go-live-checklist",{"title":39,"path":40,"stem":41,"children":42,"page":87},"Point Of Sale","\u002Fdocs\u002Fpoint-of-sale","docs\u002F10.point-of-sale",[43,47,51,55,59,63,67,71,75,79,83],{"title":44,"path":45,"stem":46},"Setup","\u002Fdocs\u002Fpoint-of-sale\u002Fsetup-and-compliance","docs\u002F10.point-of-sale\u002F1.setup-and-compliance",{"title":48,"path":49,"stem":50},"Native App","\u002Fdocs\u002Fpoint-of-sale\u002Fnative-app","docs\u002F10.point-of-sale\u002F10.native-app",{"title":52,"path":53,"stem":54},"Registers","\u002Fdocs\u002Fpoint-of-sale\u002Fregisters","docs\u002F10.point-of-sale\u002F2.registers",{"title":56,"path":57,"stem":58},"Selling","\u002Fdocs\u002Fpoint-of-sale\u002Fselling","docs\u002F10.point-of-sale\u002F3.selling",{"title":60,"path":61,"stem":62},"Payments","\u002Fdocs\u002Fpoint-of-sale\u002Fpayments","docs\u002F10.point-of-sale\u002F4.payments",{"title":64,"path":65,"stem":66},"Receipts & Printing","\u002Fdocs\u002Fpoint-of-sale\u002Freceipts-and-printing","docs\u002F10.point-of-sale\u002F5.receipts-and-printing",{"title":68,"path":69,"stem":70},"Day-End & Reports","\u002Fdocs\u002Fpoint-of-sale\u002Fday-end-and-reports","docs\u002F10.point-of-sale\u002F6.day-end-and-reports",{"title":72,"path":73,"stem":74},"Modes","\u002Fdocs\u002Fpoint-of-sale\u002Fmodes","docs\u002F10.point-of-sale\u002F7.modes",{"title":76,"path":77,"stem":78},"Dashboard","\u002Fdocs\u002Fpoint-of-sale\u002Fdashboard","docs\u002F10.point-of-sale\u002F8.dashboard",{"title":80,"path":81,"stem":82},"Compliance","\u002Fdocs\u002Fpoint-of-sale\u002Fcompliance","docs\u002F10.point-of-sale\u002F9.compliance",{"title":84,"path":85,"stem":86},"Point of Sale","\u002Fdocs\u002Fpoint-of-sale\u002F_dir","docs\u002F10.point-of-sale\u002F_dir",false,{"title":89,"path":90,"stem":91,"children":92,"page":87},"Warehouses","\u002Fdocs\u002Fwarehouses","docs\u002F11.warehouses",[93,97,101,105],{"title":94,"path":95,"stem":96},"Managing Warehouses","\u002Fdocs\u002Fwarehouses\u002Fmanaging-warehouses","docs\u002F11.warehouses\u002F1.managing-warehouses",{"title":98,"path":99,"stem":100},"Stock & Inventory","\u002Fdocs\u002Fwarehouses\u002Fstock-and-inventory","docs\u002F11.warehouses\u002F2.stock-and-inventory",{"title":102,"path":103,"stem":104},"Warehouse Operations","\u002Fdocs\u002Fwarehouses\u002Fwarehouse-operations","docs\u002F11.warehouses\u002F3.warehouse-operations",{"title":89,"path":106,"stem":107},"\u002Fdocs\u002Fwarehouses\u002F_dir","docs\u002F11.warehouses\u002F_dir",{"title":109,"path":110,"stem":111,"children":112},"Products","\u002Fdocs\u002Fproducts","docs\u002F2.products\u002Findex",[113,114,118,122,126,130,134,138,142,146],{"title":109,"path":110,"stem":111},{"title":115,"path":116,"stem":117},"Adding and updating products","\u002Fdocs\u002Fproducts\u002Fadding-and-updating-products","docs\u002F2.products\u002F1.adding-and-updating-products",{"title":119,"path":120,"stem":121},"Bundles","\u002Fdocs\u002Fproducts\u002Fbundles","docs\u002F2.products\u002F10.bundles",{"title":123,"path":124,"stem":125},"Product details","\u002Fdocs\u002Fproducts\u002Fproduct-details","docs\u002F2.products\u002F2.product-details",{"title":127,"path":128,"stem":129},"Variants","\u002Fdocs\u002Fproducts\u002Fvariants","docs\u002F2.products\u002F3.variants",{"title":131,"path":132,"stem":133},"Product media","\u002Fdocs\u002Fproducts\u002Fproduct-media","docs\u002F2.products\u002F4.product-media",{"title":135,"path":136,"stem":137},"Inventory","\u002Fdocs\u002Fproducts\u002Finventory","docs\u002F2.products\u002F6.inventory",{"title":139,"path":140,"stem":141},"Pricing","\u002Fdocs\u002Fproducts\u002Fpricing","docs\u002F2.products\u002F7.pricing",{"title":143,"path":144,"stem":145},"AI-powered enrichment","\u002Fdocs\u002Fproducts\u002Fai-enrichment","docs\u002F2.products\u002F8.ai-enrichment",{"title":147,"path":148,"stem":149},"Import and export","\u002Fdocs\u002Fproducts\u002Fimport-and-export","docs\u002F2.products\u002F9.import-and-export",{"title":151,"path":152,"stem":153,"children":154,"page":87},"Orders","\u002Fdocs\u002Forders","docs\u002F3.orders",[155],{"title":156,"path":157,"stem":158},"Order Lifecycle","\u002Fdocs\u002Forders\u002Forder-lifecycle","docs\u002F3.orders\u002F1.order-lifecycle",{"title":160,"path":161,"stem":162,"children":163,"page":87},"Customers","\u002Fdocs\u002Fcustomers","docs\u002F4.customers",[164],{"title":165,"path":166,"stem":167},"Customer Profiles","\u002Fdocs\u002Fcustomers\u002Fcustomer-profiles","docs\u002F4.customers\u002F1.customer-profiles",{"title":169,"path":170,"stem":171,"children":172,"page":87},"Settings","\u002Fdocs\u002Fsettings","docs\u002F5.settings",[173],{"title":174,"path":175,"stem":176},"General Settings","\u002Fdocs\u002Fsettings\u002Fgeneral-settings","docs\u002F5.settings\u002F1.general-settings",{"title":178,"path":179,"stem":180,"children":181},"Categories","\u002Fdocs\u002Fcategories","docs\u002F6.categories\u002Findex",[182,183,187,191,195],{"title":178,"path":179,"stem":180},{"title":184,"path":185,"stem":186},"Managing categories","\u002Fdocs\u002Fcategories\u002Fmanaging-categories","docs\u002F6.categories\u002F1.managing-categories",{"title":188,"path":189,"stem":190},"Automatic categories","\u002Fdocs\u002Fcategories\u002Fautomatic-categories","docs\u002F6.categories\u002F2.automatic-categories",{"title":192,"path":193,"stem":194},"Category merchandising","\u002Fdocs\u002Fcategories\u002Fmerchandising","docs\u002F6.categories\u002F3.merchandising",{"title":196,"path":197,"stem":198},"Storefront settings","\u002Fdocs\u002Fcategories\u002Fstorefront-settings","docs\u002F6.categories\u002F4.storefront-settings",{"title":200,"path":201,"stem":202,"children":203},"Attributes","\u002Fdocs\u002Fattributes","docs\u002F7.attributes\u002Findex",[204,205,209,213,217],{"title":200,"path":201,"stem":202},{"title":206,"path":207,"stem":208},"Managing attributes","\u002Fdocs\u002Fattributes\u002Fmanaging-attributes","docs\u002F7.attributes\u002F1.managing-attributes",{"title":210,"path":211,"stem":212},"Attribute templates","\u002Fdocs\u002Fattributes\u002Fattribute-templates","docs\u002F7.attributes\u002F2.attribute-templates",{"title":214,"path":215,"stem":216},"Display groups","\u002Fdocs\u002Fattributes\u002Fdisplay-groups","docs\u002F7.attributes\u002F3.display-groups",{"title":218,"path":219,"stem":220},"Completeness","\u002Fdocs\u002Fattributes\u002Fcompleteness","docs\u002F7.attributes\u002F4.completeness",{"title":222,"path":223,"stem":224,"children":225},"Markets","\u002Fdocs\u002Fmarkets","docs\u002F8.markets\u002Findex",[226,227,231,235,239,243,247],{"title":222,"path":223,"stem":224},{"title":228,"path":229,"stem":230},"Creating a Market","\u002Fdocs\u002Fmarkets\u002Fcreating-a-market","docs\u002F8.markets\u002F1.creating-a-market",{"title":232,"path":233,"stem":234},"Market Settings","\u002Fdocs\u002Fmarkets\u002Fmarket-settings","docs\u002F8.markets\u002F2.market-settings",{"title":236,"path":237,"stem":238},"Market Pricing","\u002Fdocs\u002Fmarkets\u002Fpricing","docs\u002F8.markets\u002F3.pricing",{"title":240,"path":241,"stem":242},"Shipping Methods","\u002Fdocs\u002Fmarkets\u002Fshipping","docs\u002F8.markets\u002F4.shipping",{"title":244,"path":245,"stem":246},"Visibility Rules","\u002Fdocs\u002Fmarkets\u002Fvisibility-rules","docs\u002F8.markets\u002F5.visibility-rules",{"title":248,"path":249,"stem":250},"Business Units","\u002Fdocs\u002Fmarkets\u002Fbusiness-units","docs\u002F8.markets\u002F6.business-units",{"title":252,"path":253,"stem":254,"children":255,"page":87},"Storefront","\u002Fdocs\u002Fstorefront","docs\u002F9.storefront",[256,262,268,272,276,280],{"title":257,"path":258,"stem":259,"children":260},"How Indexing Works","\u002Fdocs\u002Fstorefront\u002Fhow-indexing-works","docs\u002F9.storefront\u002F1.how-indexing-works",[261],{"title":257,"path":258,"stem":259},{"title":263,"path":264,"stem":265,"children":266},"Managing Indexes","\u002Fdocs\u002Fstorefront\u002Fmanaging-indexes","docs\u002F9.storefront\u002F2.managing-indexes",[267],{"title":263,"path":264,"stem":265},{"title":269,"path":270,"stem":271},"Storefront Tokens","\u002Fdocs\u002Fstorefront\u002Fstorefront-tokens","docs\u002F9.storefront\u002F3.storefront-tokens",{"title":273,"path":274,"stem":275},"Warehouse Settings","\u002Fdocs\u002Fstorefront\u002Fwarehouse-settings","docs\u002F9.storefront\u002F4.warehouse-settings",{"title":277,"path":278,"stem":279},"Storefront API","\u002Fdocs\u002Fstorefront\u002Fstorefront-api","docs\u002F9.storefront\u002F5.storefront-api",{"title":252,"path":281,"stem":282},"\u002Fdocs\u002Fstorefront\u002F_dir","docs\u002F9.storefront\u002F_dir",{"id":284,"title":269,"body":285,"description":558,"extension":559,"links":560,"meta":561,"navigation":562,"path":270,"seo":563,"stem":271,"__hash__":564},"docs\u002Fdocs\u002F9.storefront\u002F3.storefront-tokens.md",{"type":286,"value":287,"toc":544},"minimark",[288,296,301,304,332,336,368,375,381,385,392,408,414,419,433,437,477,481,500,504,507,515,518,522,525],[289,290,291,292,295],"p",{},"Storefront tokens are API keys that authenticate requests to the ",[293,294,277],"strong",{},". Each token grants read access to your storefront data for a specific market.",[297,298,300],"h2",{"id":299},"managing-tokens","Managing tokens",[289,302,303],{},"Tokens can be managed at two levels:",[305,306,307,318],"ul",{},[308,309,310,313,314,317],"li",{},[293,311,312],{},"Tenant-level"," — Under ",[293,315,316],{},"Settings → Storefront",". These tokens are shared across all markets.",[308,319,320,313,323,331],{},[293,321,322],{},"Market-level",[293,324,325,326,330],{},"Settings → Markets → ",[327,328,329],"span",{},"Market"," → Storefront",". These tokens are scoped to a specific market.",[297,333,335],{"id":334},"generating-a-token","Generating a token",[337,338,339,342,349,356,363],"ol",{},[308,340,341],{},"Navigate to the token management page (tenant or market level).",[308,343,344,345,348],{},"Click ",[293,346,347],{},"Generate Token",".",[308,350,351,352,355],{},"Enter a ",[293,353,354],{},"Name"," for the token (e.g., \"Production Website\", \"Staging Environment\").",[308,357,358,359,362],{},"Optionally add ",[293,360,361],{},"Allowed Origins (CORS)"," to restrict which domains can use this token.",[308,364,344,365,348],{},[293,366,367],{},"Create",[289,369,370,371,374],{},"A modal displays the generated token. ",[293,372,373],{},"Copy it immediately"," — you won't be able to see the full token again.",[376,377,380],"callout",{"color":378,"icon":379},"warning","i-lucide-alert-triangle","Store your storefront token securely. If you lose it, you'll need to generate a new one.",[297,382,384],{"id":383},"cors-restrictions","CORS restrictions",[289,386,387,388,391],{},"Each token can have ",[293,389,390],{},"allowed origins"," that restrict which domains can make API requests:",[305,393,394,402],{},[308,395,396,397,401],{},"Add specific domains (e.g., ",[398,399,400],"code",{},"https:\u002F\u002Fwww.example.com",") to restrict access.",[308,403,404,405,348],{},"Leave origins empty to allow requests from any domain — this is suitable for development but ",[293,406,407],{},"not recommended for production",[289,409,410,411,348],{},"A token with no CORS restrictions shows a warning: ",[293,412,413],{},"\"Allows all origins (Development)\"",[415,416,418],"h3",{"id":417},"adding-origins","Adding origins",[337,420,421,424,430],{},[308,422,423],{},"In the token creation form, enter a domain in the origin field.",[308,425,344,426,429],{},[293,427,428],{},"Add Origin"," to add more domains.",[308,431,432],{},"Each domain is validated and stored with the token.",[297,434,436],{"id":435},"token-states","Token states",[438,439,440,453],"table",{},[441,442,443],"thead",{},[444,445,446,450],"tr",{},[447,448,449],"th",{},"State",[447,451,452],{},"Description",[454,455,456,467],"tbody",{},[444,457,458,464],{},[459,460,461],"td",{},[293,462,463],{},"Active",[459,465,466],{},"The token is valid and can be used for API requests.",[444,468,469,474],{},[459,470,471],{},[293,472,473],{},"Revoked",[459,475,476],{},"The token has been revoked and no longer works.",[297,478,480],{"id":479},"editing-a-token","Editing a token",[337,482,483,486,495],{},[308,484,485],{},"Click on an active token to open the edit form.",[308,487,488,489,491,492,348],{},"Update the ",[293,490,354],{}," or ",[293,493,494],{},"Allowed Origins",[308,496,344,497,348],{},[293,498,499],{},"Save Changes",[297,501,503],{"id":502},"revoking-a-token","Revoking a token",[289,505,506],{},"Revoking a token immediately disables it. Any application using the token will lose access.",[337,508,509,512],{},[308,510,511],{},"Click the revoke action on a token.",[308,513,514],{},"Confirm the revocation.",[376,516,517],{"color":378,"icon":379},"Revoking a token is immediate and cannot be undone. Applications using this token will stop working right away.",[297,519,521],{"id":520},"token-metadata","Token metadata",[289,523,524],{},"Each token displays:",[305,526,527,533,539],{},[308,528,529,532],{},[293,530,531],{},"Created"," — When the token was generated.",[308,534,535,538],{},[293,536,537],{},"Last used"," — When the token was last used for an API request.",[308,540,541,543],{},[293,542,494],{}," — The domains permitted to use this token.",{"title":545,"searchDepth":546,"depth":546,"links":547},"",2,[548,549,550,554,555,556,557],{"id":299,"depth":546,"text":300},{"id":334,"depth":546,"text":335},{"id":383,"depth":546,"text":384,"children":551},[552],{"id":417,"depth":553,"text":418},3,{"id":435,"depth":546,"text":436},{"id":479,"depth":546,"text":480},{"id":502,"depth":546,"text":503},{"id":520,"depth":546,"text":521},"Generate and manage API tokens for authenticating with the Storefront API.","md",null,{},true,{"title":269,"description":558},"UwUoA2y8Q4NE02-s-MkGrVxgewgbXHzMn-q-pbHe87U",[566,568],{"title":263,"path":264,"stem":265,"description":567,"children":-1},"Trigger reindexes and incremental updates for individual products or entire markets.",{"title":273,"path":274,"stem":275,"description":569,"children":-1},"Configure which warehouses are visible in the storefront and how they participate in fulfillment.",1775754420532]