[{"data":1,"prerenderedAt":767},["ShallowReactive",2],{"navigation_docs":3,"-store-management-dashboard-settings-headless":233,"-store-management-dashboard-settings-headless-surround":762},[4,26,224],{"title":5,"path":6,"stem":7,"children":8,"page":25},"Getting Started","\u002Fgetting-started","01.getting-started",[9,13,17,21],{"title":10,"path":11,"stem":12},"What is Orderain?","\u002Fgetting-started\u002Fwhat-is-orderain","01.getting-started\u002F01.what-is-orderain",{"title":14,"path":15,"stem":16},"From a Theme","\u002Fgetting-started\u002Ffrom-a-theme","01.getting-started\u002F02.from-a-theme",{"title":18,"path":19,"stem":20},"With AI (Buddy)","\u002Fgetting-started\u002Fbuilding-your-store-with-buddy","01.getting-started\u002F03.building-your-store-with-buddy",{"title":22,"path":23,"stem":24},"Orderain MCP","\u002Fgetting-started\u002Forderain-mcp","01.getting-started\u002F04.orderain-mcp",false,{"title":27,"path":28,"stem":29,"children":30,"page":25},"Store Management","\u002Fstore-management","02.store-management",[31,101],{"title":32,"path":33,"stem":34,"children":35,"page":25},"Builder","\u002Fstore-management\u002Fbuilder","02.store-management\u002F01.builder",[36,40,44,48,52,56,60,64,93,97],{"title":37,"path":38,"stem":39},"Overview","\u002Fstore-management\u002Fbuilder\u002Fthe-store-builder","02.store-management\u002F01.builder\u002F01.the-store-builder",{"title":41,"path":42,"stem":43},"Pages","\u002Fstore-management\u002Fbuilder\u002Fpages","02.store-management\u002F01.builder\u002F02.pages",{"title":45,"path":46,"stem":47},"Layers","\u002Fstore-management\u002Fbuilder\u002Flayers","02.store-management\u002F01.builder\u002F03.layers",{"title":49,"path":50,"stem":51},"Layouts","\u002Fstore-management\u002Fbuilder\u002Flayouts","02.store-management\u002F01.builder\u002F04.layouts",{"title":53,"path":54,"stem":55},"Blocks","\u002Fstore-management\u002Fbuilder\u002Fblocks","02.store-management\u002F01.builder\u002F05.blocks",{"title":57,"path":58,"stem":59},"Element Properties","\u002Fstore-management\u002Fbuilder\u002Felement-properties","02.store-management\u002F01.builder\u002F06.element-properties",{"title":61,"path":62,"stem":63},"Version History","\u002Fstore-management\u002Fbuilder\u002Fversion-history","02.store-management\u002F01.builder\u002F07.version-history",{"title":65,"path":66,"stem":67,"children":68,"page":25},"Builder Settings","\u002Fstore-management\u002Fbuilder\u002Fbuilder-settings","02.store-management\u002F01.builder\u002F08.builder-settings",[69,73,77,81,85,89],{"title":70,"path":71,"stem":72},"Themes","\u002Fstore-management\u002Fbuilder\u002Fbuilder-settings\u002Fthemes","02.store-management\u002F01.builder\u002F08.builder-settings\u002F01.themes",{"title":74,"path":75,"stem":76},"General","\u002Fstore-management\u002Fbuilder\u002Fbuilder-settings\u002Fgeneral","02.store-management\u002F01.builder\u002F08.builder-settings\u002F02.general",{"title":78,"path":79,"stem":80},"SEO","\u002Fstore-management\u002Fbuilder\u002Fbuilder-settings\u002Fseo","02.store-management\u002F01.builder\u002F08.builder-settings\u002F03.seo",{"title":82,"path":83,"stem":84},"Cache Management","\u002Fstore-management\u002Fbuilder\u002Fbuilder-settings\u002Fcache-management","02.store-management\u002F01.builder\u002F08.builder-settings\u002F04.cache-management",{"title":86,"path":87,"stem":88},"CSS Update","\u002Fstore-management\u002Fbuilder\u002Fbuilder-settings\u002Fcss-update","02.store-management\u002F01.builder\u002F08.builder-settings\u002F05.css-update",{"title":90,"path":91,"stem":92},"AI","\u002Fstore-management\u002Fbuilder\u002Fbuilder-settings\u002Fai","02.store-management\u002F01.builder\u002F08.builder-settings\u002F06.ai",{"title":94,"path":95,"stem":96},"AI Buddy","\u002Fstore-management\u002Fbuilder\u002Fai-buddy","02.store-management\u002F01.builder\u002F09.ai-buddy",{"title":98,"path":99,"stem":100},"Preview & Publish","\u002Fstore-management\u002Fbuilder\u002Fpreview-and-publish","02.store-management\u002F01.builder\u002F10.preview-and-publish",{"title":102,"path":103,"stem":104,"children":105,"page":25},"Dashboard","\u002Fstore-management\u002Fdashboard","02.store-management\u002F02.dashboard",[106,109,122,151,155,168,172,176,180],{"title":37,"path":107,"stem":108},"\u002Fstore-management\u002Fdashboard\u002Foverview","02.store-management\u002F02.dashboard\u002F01.overview",{"title":110,"path":111,"stem":112,"children":113,"page":25},"Orders","\u002Fstore-management\u002Fdashboard\u002Forders","02.store-management\u002F02.dashboard\u002F02.orders",[114,118],{"title":115,"path":116,"stem":117},"All Orders","\u002Fstore-management\u002Fdashboard\u002Forders\u002Fall-orders","02.store-management\u002F02.dashboard\u002F02.orders\u002F01.all-orders",{"title":119,"path":120,"stem":121},"Abandoned Orders","\u002Fstore-management\u002Fdashboard\u002Forders\u002Fabandoned-orders","02.store-management\u002F02.dashboard\u002F02.orders\u002F02.abandoned-orders",{"title":123,"path":124,"stem":125,"children":126,"page":25},"Products","\u002Fstore-management\u002Fdashboard\u002Fproducts","02.store-management\u002F02.dashboard\u002F03.products",[127,131,135,139,143,147],{"title":128,"path":129,"stem":130},"All Products","\u002Fstore-management\u002Fdashboard\u002Fproducts\u002Fall-products","02.store-management\u002F02.dashboard\u002F03.products\u002F01.all-products",{"title":132,"path":133,"stem":134},"Add a Product","\u002Fstore-management\u002Fdashboard\u002Fproducts\u002Fadd-product","02.store-management\u002F02.dashboard\u002F03.products\u002F02.add-product",{"title":136,"path":137,"stem":138},"Categories","\u002Fstore-management\u002Fdashboard\u002Fproducts\u002Fcategories","02.store-management\u002F02.dashboard\u002F03.products\u002F03.categories",{"title":140,"path":141,"stem":142},"Inventory","\u002Fstore-management\u002Fdashboard\u002Fproducts\u002Finventory","02.store-management\u002F02.dashboard\u002F03.products\u002F04.inventory",{"title":144,"path":145,"stem":146},"Reviews","\u002Fstore-management\u002Fdashboard\u002Fproducts\u002Freviews","02.store-management\u002F02.dashboard\u002F03.products\u002F05.reviews",{"title":148,"path":149,"stem":150},"Catalogue","\u002Fstore-management\u002Fdashboard\u002Fproducts\u002Fcatalogue","02.store-management\u002F02.dashboard\u002F03.products\u002F06.catalogue",{"title":152,"path":153,"stem":154},"Customers","\u002Fstore-management\u002Fdashboard\u002Fcustomers","02.store-management\u002F02.dashboard\u002F04.customers",{"title":156,"path":157,"stem":158,"children":159,"page":25},"Analytics","\u002Fstore-management\u002Fdashboard\u002Fanalytics","02.store-management\u002F02.dashboard\u002F05.analytics",[160,164],{"title":161,"path":162,"stem":163},"Sales","\u002Fstore-management\u002Fdashboard\u002Fanalytics\u002Fsales","02.store-management\u002F02.dashboard\u002F05.analytics\u002F01.sales",{"title":165,"path":166,"stem":167},"Traffic","\u002Fstore-management\u002Fdashboard\u002Fanalytics\u002Ftraffic","02.store-management\u002F02.dashboard\u002F05.analytics\u002F02.traffic",{"title":169,"path":170,"stem":171},"Coupons","\u002Fstore-management\u002Fdashboard\u002Fcoupons","02.store-management\u002F02.dashboard\u002F06.coupons",{"title":173,"path":174,"stem":175},"Plugins","\u002Fstore-management\u002Fdashboard\u002Fplugins","02.store-management\u002F02.dashboard\u002F07.plugins",{"title":177,"path":178,"stem":179},"Staff Management","\u002Fstore-management\u002Fdashboard\u002Fstaff-management","02.store-management\u002F02.dashboard\u002F08.staff-management",{"title":181,"path":182,"stem":183,"children":184,"page":25},"Settings","\u002Fstore-management\u002Fdashboard\u002Fsettings","02.store-management\u002F02.dashboard\u002F09.settings",[185,188,192,196,200,204,208,212,216,220],{"title":74,"path":186,"stem":187},"\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Fgeneral","02.store-management\u002F02.dashboard\u002F09.settings\u002F01.general",{"title":189,"path":190,"stem":191},"Subscription","\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Fsubscription","02.store-management\u002F02.dashboard\u002F09.settings\u002F02.subscription",{"title":193,"path":194,"stem":195},"Domain","\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Fdomain","02.store-management\u002F02.dashboard\u002F09.settings\u002F03.domain",{"title":197,"path":198,"stem":199},"Payment","\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Fpayment","02.store-management\u002F02.dashboard\u002F09.settings\u002F04.payment",{"title":201,"path":202,"stem":203},"Additional Charges","\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Fadditional-charges","02.store-management\u002F02.dashboard\u002F09.settings\u002F05.additional-charges",{"title":205,"path":206,"stem":207},"Taxes","\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Ftaxes","02.store-management\u002F02.dashboard\u002F09.settings\u002F06.taxes",{"title":209,"path":210,"stem":211},"Notifications","\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Fnotifications","02.store-management\u002F02.dashboard\u002F09.settings\u002F07.notifications",{"title":213,"path":214,"stem":215},"Warehouses","\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Fwarehouses","02.store-management\u002F02.dashboard\u002F09.settings\u002F08.warehouses",{"title":217,"path":218,"stem":219},"Shipping Rate","\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Fshipping-rate","02.store-management\u002F02.dashboard\u002F09.settings\u002F09.shipping-rate",{"title":221,"path":222,"stem":223},"Headless","\u002Fstore-management\u002Fdashboard\u002Fsettings\u002Fheadless","02.store-management\u002F02.dashboard\u002F09.settings\u002F10.headless",{"title":225,"path":226,"stem":227,"children":228,"page":25},"Account Settings","\u002Faccount-settings","03.account-settings",[229],{"title":230,"path":231,"stem":232},"Orderain Magic","\u002Faccount-settings\u002Forderain-magic","03.account-settings\u002F01.orderain-magic",{"id":234,"title":221,"body":235,"description":755,"extension":756,"links":757,"meta":758,"navigation":759,"path":222,"seo":760,"stem":223,"__hash__":761},"docs\u002F02.store-management\u002F02.dashboard\u002F09.settings\u002F10.headless.md",{"type":236,"value":237,"toc":743},"minimark",[238,260,263,291,295,300,316,323,356,360,371,380,387,435,440,454,485,505,510,540,545,561,573,580,587,620,634,642,646,660,663,667,679,694,708,719,723,732],[239,240,241,242,245,246,248,249,251,252,255,256,259],"p",{},"The ",[243,244,221],"strong",{}," tab is where you connect your shop to the outside world through\nOrderain's API. Open ",[243,247,181],{}," from the dashboard sidebar and select the\n",[243,250,221],{}," tab to ",[243,253,254],{},"configure allowed origins"," and ",[243,257,258],{},"manage API tokens",".",[239,261,262],{},"It's useful for two kinds of people:",[264,265,266,281],"ul",{},[267,268,269,272,273,276,277,280],"li",{},[243,270,271],{},"Merchants."," Connect an AI assistant like ",[243,274,275],{},"Claude, ChatGPT, Grok, or Cursor","\nto your shop with the ",[243,278,279],{},"MCP server",", so you can manage products, orders, and even\nyour store's design using plain language — no code required.",[267,282,283,286,287,290],{},[243,284,285],{},"Developers."," Build a ",[243,288,289],{},"custom storefront"," on top of Orderain instead of the\nbuilt-in one, powered by your shop's data through the API.",[292,293,294],"note",{},"If you only use the standard Orderain storefront and don't want to connect any\noutside app or AI assistant, you don't need to change anything here.",[296,297,299],"h2",{"id":298},"allowed-origins","Allowed Origins",[301,302,304,305,304,311],"figure",{"style":303},"margin:1rem 0;","\n  ",[306,307],"img",{"src":308,"alt":309,"style":310},"\u002Fimages\u002Fheadless\u002Fallowed-origins.png","The Allowed Origins section with the origin input, Add button, and Save Origins","display:block;width:100%;max-width:860px;height:auto;margin-inline:auto;border-radius:12px;",[312,313,315],"figcaption",{"style":314},"text-align:center;margin-top:0.25rem;font-size:0.875rem;color:var(--ui-text-muted);","Allowed Origins — add up to 3 trusted origins, then Save Origins.",[239,317,318,319,322],{},"Add up to ",[243,320,321],{},"3 allowed origins"," for your shop. These origins are the only ones\nallowed to make API requests to your shop.",[264,324,325,342,349],{},[267,326,327,328,332,333,336,337,341],{},"Enter an origin (for example ",[329,330,331],"code",{},"https:\u002F\u002Fexample.com",") and click ",[243,334,335],{},"Add",". A counter\nshows how many you've added (for example ",[338,339,340],"em",{},"1\u002F3 origins added",").",[267,343,344,345,348],{},"Remove an origin with the ",[243,346,347],{},"×"," next to it.",[267,350,351,352,355],{},"Click ",[243,353,354],{},"Save Origins"," to apply your changes.",[296,357,359],{"id":358},"api-tokens","API Tokens",[239,361,362,363,370],{},"Create and manage API tokens to access your shop data programmatically. The\n",[364,365,369],"a",{"href":366,"rel":367},"https:\u002F\u002Fapi.orderain.com\u002Fdocs\u002Findex.html#tag\u002Fcart",[368],"nofollow","View Documentation"," link opens\nthe full API reference.",[301,372,304,373,304,377],{"style":303},[306,374],{"src":375,"alt":376,"style":310},"\u002Fimages\u002Fheadless\u002Fapi-tokens-list.png","The API Tokens list with Active and Revoked tokens, their scopes, origins, and Revoke buttons",[312,378,379],{"style":314},"The API Tokens list — each token's status, scopes, origin, and Revoke action.",[239,381,382,383,386],{},"Before you create any tokens, this section shows an empty state — ",[243,384,385],{},"\"No tokens yet —\nCreate your first API token to start integrating with your shop.\""," Once you add\none, each token in the list shows:",[264,388,389,402,408,429],{},[267,390,391,394,395,398,399,259],{},[243,392,393],{},"Name"," and a status badge — ",[243,396,397],{},"Active"," or ",[243,400,401],{},"Revoked",[267,403,404,407],{},[243,405,406],{},"Created \u002F Expires."," The token's date and time.",[267,409,410,413,414,417,418,421,422,425,426,259],{},[243,411,412],{},"Scopes."," The permissions granted, such as ",[329,415,416],{},"read_access",", ",[329,419,420],{},"write_access",",\n",[329,423,424],{},"delete_access",", or ",[329,427,428],{},"page_access",[267,430,431,434],{},[243,432,433],{},"Origins."," The origin the token is tied to.",[436,437,439],"h3",{"id":438},"creating-a-token","Creating a token",[239,441,351,442,445,446,449,450,453],{},[243,443,444],{},"+ Create New Token"," to open the ",[243,447,448],{},"Create API Token"," dialog. The first\nchoice is the ",[243,451,452],{},"Token Type",", and it changes which fields you see:",[264,455,456,465],{},[267,457,458,460,461,464],{},[243,459,221],{}," — for ",[243,462,463],{},"web apps & custom frontends"," that call the API directly.",[267,466,467,470,471,417,474,417,477,480,481,484],{},[243,468,469],{},"MCP"," — for connecting an AI assistant (",[243,472,473],{},"Claude",[243,475,476],{},"ChatGPT",[243,478,479],{},"Grok",", or\n",[243,482,483],{},"Cursor",") to your shop.",[239,486,487,488,491,492,417,495,425,498,501,502,259],{},"Then give the token a clear, professional ",[243,489,490],{},"Token Name"," that says what it's for\n(for example ",[338,493,494],{},"Production Storefront",[338,496,497],{},"Claude Assistant",[338,499,500],{},"Analytics\nIntegration","), set its options below, and click ",[243,503,504],{},"Create Token",[239,506,507],{},[243,508,509],{},"For a Headless token:",[264,511,512,524],{},[267,513,514,516,517,520,521,259],{},[243,515,299],{}," (required). Your real domain, such as ",[329,518,519],{},"https:\u002F\u002Fyourstore.com",".\nType it and click ",[243,522,523],{},"+ Add",[267,525,526,529,530,417,533,536,537,259],{},[243,527,528],{},"Permissions."," ",[243,531,532],{},"Read Access",[243,534,535],{},"Write Access",", and ",[243,538,539],{},"Delete Access",[239,541,542],{},[243,543,544],{},"For an MCP token:",[264,546,547],{},[267,548,549,529,551,417,553,417,555,536,557,560],{},[243,550,528],{},[243,552,532],{},[243,554,535],{},[243,556,539],{},[243,558,559],{},"Page\nEditing"," (lets connected AI tools edit your website pages). MCP tokens don't ask\nfor an allowed origin.",[292,562,563,565,566,255,569,572],{},[243,564,532],{}," is ticked by default. Add ",[243,567,568],{},"Write",[243,570,571],{},"Delete"," only if the\nintegration needs to change or remove data.",[574,575,576,577,579],"tip",{},"Grant only the permissions the token actually needs. For a read-only integration,\nleave just ",[243,578,532],{}," ticked — this is safer if the token is ever exposed.",[239,581,582,583,586],{},"When it's created, a ",[243,584,585],{},"Token Created Successfully"," dialog appears. What it shows\ndepends on the token type:",[264,588,589,605],{},[267,590,591,594,595,598,599,255,602,259],{},[243,592,593],{},"MCP token."," A ready-made ",[243,596,597],{},"MCP Connection URL"," with your token already in it\n(for Claude \u002F ChatGPT \u002F Grok \u002F Cursor), plus your ",[243,600,601],{},"Token ID",[243,603,604],{},"Shop ID",[267,606,607,610,611,614,615,255,617,259],{},[243,608,609],{},"Headless token."," The ",[243,612,613],{},"full token"," value, plus your ",[243,616,601],{},[243,618,619],{},"Shop\nID",[239,621,622,623,626,627,630,631,259],{},"Use the ",[243,624,625],{},"copy"," icon to copy the URL or token — ",[338,628,629],{},"you won't be able to see it again","\n— then click ",[243,632,633],{},"I've Saved My Token",[635,636,637,638,641],"warning",{},"The full token is shown ",[243,639,640],{},"only once",", at creation. Copy and store it securely\nstraight away — if you lose it you'll need to create a new one.",[436,643,645],{"id":644},"revoking-a-token","Revoking a token",[239,647,351,648,651,652,655,656,659],{},[243,649,650],{},"Revoke"," on an active token to disable it immediately. A revoked token\n",[243,653,654],{},"can no longer be used"," — any AI assistant or app connected with it stops working\nand ",[243,657,658],{},"can't read or change your shop"," anymore. Revoked tokens stay listed for\nreference but can't be reactivated; create a new token if you need access again.",[635,661,662],{},"Treat API tokens like passwords — anyone with a valid token and an allowed origin\ncan access your shop data within the token's scopes. Revoke any token that is no\nlonger needed or may have been exposed.",[296,664,666],{"id":665},"connect-to-ai-assistants-mcp","Connect to AI assistants (MCP)",[239,668,241,669,671,672,675,676,678],{},[243,670,666],{}," panel lets you connect ",[243,673,674],{},"Claude, ChatGPT,\nGrok, or Cursor"," to your shop with the ",[243,677,279],{},", so you can manage products,\norders, and even your store's design in plain language.",[239,680,681,682,685,686,689,690,693],{},"It shows the ",[243,683,684],{},"MCP Server URL"," (",[329,687,688],{},"https:\u002F\u002Fmcp.orderain.com\u002Fmcp",") and a tab with setup\nsteps for each app. To connect, create an ",[243,691,692],{},"MCP token"," above, copy its connection\nURL, and paste it into your assistant's custom connector.",[292,695,696,697,417,699,417,701,536,703,705,706,259],{},"For the complete MCP guide — the connection URL, and full step-by-step setup for\n",[243,698,473],{},[243,700,476],{},[243,702,479],{},[243,704,483],{}," — see\n",[364,707,22],{"href":23},[635,709,710,711,714,715,718],{},"Your token grants ",[243,712,713],{},"full access to your shop"," with its permissions. Only share the\nconnection with tools and people you trust, and ",[243,716,717],{},"revoke"," the token if it's exposed\n— once revoked, it can no longer be used from any AI assistant.",[296,720,722],{"id":721},"api-documentation","API documentation",[239,724,725,726,731],{},"For endpoints, authentication, and code samples, see the full\n",[364,727,730],{"href":728,"rel":729},"https:\u002F\u002Fheadless.orderain.com\u002Fdocs\u002Findex.html#description\u002Fintroduction",[368],"Orderain Headless API documentation",".\nThe reference covers regions, product categories, products, inventory, shipping,\ntaxes, cart, customers, orders, shop tags, and shop warehouse, and includes client\nlibraries for Shell, Ruby, Node.js, PHP, and Python.",[292,733,734,735,738,739,742],{},"API requests are authenticated with a ",[243,736,737],{},"Bearer Token"," (one of your API tokens) and\nmust come from an ",[243,740,741],{},"allowed origin",". Set both up above before making requests.",{"title":744,"searchDepth":745,"depth":745,"links":746},"",2,[747,748,753,754],{"id":298,"depth":745,"text":299},{"id":358,"depth":745,"text":359,"children":749},[750,752],{"id":438,"depth":751,"text":439},3,{"id":644,"depth":751,"text":645},{"id":665,"depth":745,"text":666},{"id":721,"depth":745,"text":722},"Configure allowed origins and manage API tokens, connect Claude, ChatGPT, Grok, or Cursor to your shop with MCP, or build a custom storefront, from the Headless settings tab.","md",null,{},true,{"title":221,"description":755},"P4lX5qhaYfNokmjhDaIoCwA8SvI2UMO95r2ILjdkaMQ",[763,765],{"title":217,"path":218,"stem":219,"description":764,"children":-1},"Set up shipping zones and rules so customers are charged the right delivery cost at checkout, from the Shipping Rate settings tab.",{"title":230,"path":231,"stem":232,"description":766,"children":-1},"Manage your AI usage, track credit consumption, and buy more AI credits when your balance runs low, from the Orderain Magic page in Account Settings.",1787136262312]