[{"data":1,"prerenderedAt":550},["ShallowReactive",2],{"navigation_docs_zh":3,"-zh-storefront-public-api":228,"-zh-storefront-public-api-surround":545},[4,22,40,50,64,82,200,214],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":21},"快速开始","i-lucide-rocket","\u002Fzh\u002Fgetting-started","zh\u002F1.getting-started",[10,13,17],{"title":5,"path":11,"stem":12},"\u002Fzh\u002Fgetting-started\u002Fquick-start","zh\u002F1.getting-started\u002F1.quick-start",{"title":14,"path":15,"stem":16},"信任模型","\u002Fzh\u002Fgetting-started\u002Ftrust-model","zh\u002F1.getting-started\u002F2.trust-model",{"title":18,"path":19,"stem":20},"大客户端到端接入指南","\u002Fzh\u002Fgetting-started\u002Fenterprise-integration","zh\u002F1.getting-started\u002F3.enterprise-integration",false,{"title":23,"icon":24,"path":25,"stem":26,"children":27,"page":21},"自研 Storefront","i-lucide-store","\u002Fzh\u002Fstorefront","zh\u002F2.storefront",[28,32,36],{"title":29,"path":30,"stem":31},"第三方 Storefront","\u002Fzh\u002Fstorefront\u002Fthird-party-storefront","zh\u002F2.storefront\u002F1.third-party-storefront",{"title":33,"path":34,"stem":35},"Turnstile 的信任边界","\u002Fzh\u002Fstorefront\u002Fchallenge-and-turnstile","zh\u002F2.storefront\u002F2.challenge-and-turnstile",{"title":37,"path":38,"stem":39},"第三方店铺前端公共 API","\u002Fzh\u002Fstorefront\u002Fpublic-api","zh\u002F2.storefront\u002F3.public-api",{"title":41,"icon":42,"path":43,"stem":44,"children":45,"page":21},"OAuth 与身份","i-lucide-key-round","\u002Fzh\u002Foauth","zh\u002F3.oauth",[46],{"title":47,"path":48,"stem":49},"第三方账号授权安全边界","\u002Fzh\u002Foauth\u002Fauthorization-code-pkce","zh\u002F3.oauth\u002F1.authorization-code-pkce",{"title":51,"icon":52,"path":53,"stem":54,"children":55,"page":21},"开发者平台","i-lucide-blocks","\u002Fzh\u002Fplatform","zh\u002F4.platform",[56,60],{"title":57,"path":58,"stem":59},"应用、版本、安装与 Scope","\u002Fzh\u002Fplatform\u002Fapps-installations-scopes","zh\u002F4.platform\u002F1.apps-installations-scopes",{"title":61,"path":62,"stem":63},"Origin、Redirect、反向代理与环境","\u002Fzh\u002Fplatform\u002Fsecurity-and-environments","zh\u002F4.platform\u002F2.security-and-environments",{"title":65,"icon":66,"path":67,"stem":68,"children":69,"page":21},"运行时扩展","i-lucide-workflow","\u002Fzh\u002Fruntime","zh\u002F5.runtime",[70,74,78],{"title":71,"path":72,"stem":73},"安装级 Webhook","\u002Fzh\u002Fruntime\u002Fwebhooks","zh\u002F5.runtime\u002F1.webhooks",{"title":75,"path":76,"stem":77},"库存同步","\u002Fzh\u002Fruntime\u002Finventory-sync","zh\u002F5.runtime\u002F2.inventory-sync",{"title":79,"path":80,"stem":81},"自动发货 Provider","\u002Fzh\u002Fruntime\u002Fauto-fulfillment","zh\u002F5.runtime\u002F3.auto-fulfillment",{"title":83,"icon":84,"path":85,"stem":86,"children":87,"page":21},"API 参考","i-lucide-braces","\u002Fzh\u002Freference","zh\u002F6.reference",[88,91,95],{"title":83,"path":89,"stem":90},"\u002Fzh\u002Freference\u002Fapi","zh\u002F6.reference\u002F1.api",{"title":92,"path":93,"stem":94},"错误、幂等与限流","\u002Fzh\u002Freference\u002Ferrors-and-limits","zh\u002F6.reference\u002F2.errors-and-limits",{"title":96,"path":97,"stem":98,"children":99,"page":21},"Endpoint 目录","\u002Fzh\u002Freference\u002Foperations","zh\u002F6.reference\u002F3.operations",[100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196],{"title":101,"path":102,"stem":103},"读取公开运行配置","\u002Fzh\u002Freference\u002Foperations\u002Fget-public-runtime-config","zh\u002F6.reference\u002F3.operations\u002F01.get-public-runtime-config",{"title":105,"path":106,"stem":107},"读取公开站点启动配置","\u002Fzh\u002Freference\u002Foperations\u002Fget-public-bootstrap","zh\u002F6.reference\u002F3.operations\u002F02.get-public-bootstrap",{"title":109,"path":110,"stem":111},"读取公开联系渠道","\u002Fzh\u002Freference\u002Foperations\u002Fget-public-contact","zh\u002F6.reference\u002F3.operations\u002F03.get-public-contact",{"title":113,"path":114,"stem":115},"按语言读取当前已发布法律正文","\u002Fzh\u002Freference\u002Foperations\u002Flist-public-legal-documents","zh\u002F6.reference\u002F3.operations\u002F04.list-public-legal-documents",{"title":117,"path":118,"stem":119},"读取店铺已发布装修","\u002Fzh\u002Freference\u002Foperations\u002Fget-public-storefront-decoration","zh\u002F6.reference\u002F3.operations\u002F05.get-public-storefront-decoration",{"title":121,"path":122,"stem":123},"读取店铺公开安全配置","\u002Fzh\u002Freference\u002Foperations\u002Fget-public-store-security-config","zh\u002F6.reference\u002F3.operations\u002F06.get-public-store-security-config",{"title":125,"path":126,"stem":127},"搜索可公开销售商品","\u002Fzh\u002Freference\u002Foperations\u002Fsearch-public-products","zh\u002F6.reference\u002F3.operations\u002F07.search-public-products",{"title":129,"path":130,"stem":131},"读取公开分类","\u002Fzh\u002Freference\u002Foperations\u002Flist-public-categories","zh\u002F6.reference\u002F3.operations\u002F08.list-public-categories",{"title":133,"path":134,"stem":135},"读取安装级凭据绑定身份","\u002Fzh\u002Freference\u002Foperations\u002Fget-installation-credential-identity","zh\u002F6.reference\u002F3.operations\u002F09.get-installation-credential-identity",{"title":137,"path":138,"stem":139},"读取安装级凭据就绪与阻塞事实","\u002Fzh\u002Freference\u002Foperations\u002Fget-installation-credential-readiness","zh\u002F6.reference\u002F3.operations\u002F10.get-installation-credential-readiness",{"title":141,"path":142,"stem":143},"创建官方托管登录流程","\u002Fzh\u002Freference\u002Foperations\u002Finitiate-hosted-login","zh\u002F6.reference\u002F3.operations\u002F11.initiate-hosted-login",{"title":145,"path":146,"stem":147},"以 PKCE 单次消费托管登录返回码","\u002Fzh\u002Freference\u002Foperations\u002Fconsume-hosted-login-return","zh\u002F6.reference\u002F3.operations\u002F12.consume-hosted-login-return",{"title":149,"path":150,"stem":151},"创建服务端重算的托管结账会话","\u002Fzh\u002Freference\u002Foperations\u002Fcreate-hosted-checkout-session","zh\u002F6.reference\u002F3.operations\u002F13.create-hosted-checkout-session",{"title":153,"path":154,"stem":155},"读取绑定安装的托管结账状态","\u002Fzh\u002Freference\u002Foperations\u002Fget-hosted-checkout-session","zh\u002F6.reference\u002F3.operations\u002F14.get-hosted-checkout-session",{"title":157,"path":158,"stem":159},"取消尚未进入不可逆支付阶段的托管结账","\u002Fzh\u002Freference\u002Foperations\u002Fcancel-hosted-checkout-session","zh\u002F6.reference\u002F3.operations\u002F15.cancel-hosted-checkout-session",{"title":161,"path":162,"stem":163},"读取公开商品目录","\u002Fzh\u002Freference\u002Foperations\u002Flist-public-products","zh\u002F6.reference\u002F3.operations\u002F16.list-public-products",{"title":165,"path":166,"stem":167},"按 slug 读取公开商品","\u002Fzh\u002Freference\u002Foperations\u002Fget-public-product","zh\u002F6.reference\u002F3.operations\u002F17.get-public-product",{"title":169,"path":170,"stem":171},"读取公开店铺资料","\u002Fzh\u002Freference\u002Foperations\u002Fget-public-merchant","zh\u002F6.reference\u002F3.operations\u002F18.get-public-merchant",{"title":173,"path":174,"stem":175},"读取店铺公开商品","\u002Fzh\u002Freference\u002Foperations\u002Flist-public-merchant-products","zh\u002F6.reference\u002F3.operations\u002F19.list-public-merchant-products",{"title":177,"path":178,"stem":179},"读取店铺公开分类","\u002Fzh\u002Freference\u002Foperations\u002Flist-public-merchant-categories","zh\u002F6.reference\u002F3.operations\u002F20.list-public-merchant-categories",{"title":181,"path":182,"stem":183},"读取店铺公开商品详情","\u002Fzh\u002Freference\u002Foperations\u002Fget-public-merchant-product","zh\u002F6.reference\u002F3.operations\u002F21.get-public-merchant-product",{"title":185,"path":186,"stem":187},"读取当前 API Key 的标识与 scope","\u002Fzh\u002Freference\u002Foperations\u002Fget-api-key-identity","zh\u002F6.reference\u002F3.operations\u002F22.get-api-key-identity",{"title":189,"path":190,"stem":191},"通过 API Key 读取公开分类","\u002Fzh\u002Freference\u002Foperations\u002Flist-api-key-catalog-categories","zh\u002F6.reference\u002F3.operations\u002F23.list-api-key-catalog-categories",{"title":193,"path":194,"stem":195},"通过 API Key 读取公开商品目录","\u002Fzh\u002Freference\u002Foperations\u002Flist-api-key-catalog-products","zh\u002F6.reference\u002F3.operations\u002F24.list-api-key-catalog-products",{"title":197,"path":198,"stem":199},"通过 API Key 读取公开商品","\u002Fzh\u002Freference\u002Foperations\u002Fget-api-key-catalog-product","zh\u002F6.reference\u002F3.operations\u002F25.get-api-key-catalog-product",{"title":201,"icon":202,"path":203,"stem":204,"children":205,"page":21},"示例","i-lucide-code-xml","\u002Fzh\u002Fexamples","zh\u002F7.examples",[206,210],{"title":207,"path":208,"stem":209},"最小 Nuxt Storefront","\u002Fzh\u002Fexamples\u002Fnuxt-storefront","zh\u002F7.examples\u002F1.nuxt-storefront",{"title":211,"path":212,"stem":213},"Webhook 验签","\u002Fzh\u002Fexamples\u002Fwebhook-verification","zh\u002F7.examples\u002F2.webhook-verification",{"title":215,"icon":216,"path":217,"stem":218,"children":219,"page":21},"版本与支持","i-lucide-life-buoy","\u002Fzh\u002Foperations","zh\u002F8.operations",[220,224],{"title":221,"path":222,"stem":223},"版本、迁移与变更记录","\u002Fzh\u002Foperations\u002Fversions-and-migrations","zh\u002F8.operations\u002F1.versions-and-migrations",{"title":225,"path":226,"stem":227},"支持与安全披露","\u002Fzh\u002Foperations\u002Fsupport-and-security","zh\u002F8.operations\u002F2.support-and-security",{"id":229,"title":37,"body":230,"description":537,"extension":538,"links":539,"meta":540,"navigation":542,"path":38,"seo":543,"stem":39,"__hash__":544},"docs_zh\u002Fzh\u002F2.storefront\u002F3.public-api.md",{"type":231,"value":232,"toc":523},"minimark",[233,237,254,258,261,264,303,306,326,329,349,352,390,393,404,407,418,422,442,446,475,478,481,520],[234,235,236],"p",{},"当前入口包含 14 项 Storefront 公开读取与 5 项 hosted 后端 session 基础操作。下列链接与通用 API Reference 使用同一批生成页；未列出路径的资源均尚未开放。",[238,239,240,248],"ul",{},[241,242,243,244],"li",{},"API 来源提交: ",[245,246,247],"code",{},"2d63ab5caa6d65c1ea9fe253c5bdfbec77b2a170",[241,249,250,251],{},"OpenAPI SHA-256: ",[245,252,253],{},"33f52714521cbd7573bcc808c38dd8dc189d7bafa2fd3a6d4c914b70853357b2",[255,256,257],"h2",{"id":257},"托管跳转边界",[234,259,260],{},"目录读取留在第三方站。Artifact 已提供 hosted login initiate\u002Freturn 与 checkout session create\u002Fget\u002Fcancel 的后端 API Key session 安全基础，但官方登录\u002F结账 UI、订单最终创建、Provider 支付推进、生产配置与迁移尚未完成，不能视为登录或支付已可用。未来浏览器仍只能顶层跳转到 Ayalink 官方托管页面，再返回平台审核的精确 return URL。第三方不得收集密码\u002FMFA、转发 Ayalink Cookie、处理支付凭据或反代托管页面。",[255,262,263],{"id":263},"店铺身份与启动配置",[238,265,266,276,285,294],{},[241,267,268],{},[269,270,272,275],"a",{"href":271},"..\u002Freference\u002Foperations\u002Fget-public-runtime-config",[245,273,274],{},"GET \u002Fapi\u002Fv1\u002Fruntime-config"," — 读取公开运行配置",[241,277,278],{},[269,279,281,284],{"href":280},"..\u002Freference\u002Foperations\u002Fget-public-bootstrap",[245,282,283],{},"GET \u002Fapi\u002Fv1\u002Fbootstrap"," — 读取公开站点启动配置",[241,286,287],{},[269,288,290,293],{"href":289},"..\u002Freference\u002Foperations\u002Fget-public-contact",[245,291,292],{},"GET \u002Fapi\u002Fv1\u002Fpublic\u002Fcontact"," — 读取公开联系渠道",[241,295,296],{},[269,297,299,302],{"href":298},"..\u002Freference\u002Foperations\u002Fget-public-merchant",[245,300,301],{},"GET \u002Fapi\u002Fv1\u002Fcatalog\u002Fmerchants\u002F{slug}"," — 读取公开店铺资料",[255,304,305],{"id":305},"配置与装修",[238,307,308,317],{},[241,309,310],{},[269,311,313,316],{"href":312},"..\u002Freference\u002Foperations\u002Fget-public-store-security-config",[245,314,315],{},"GET \u002Fapi\u002Fv1\u002Fpublic\u002Fstore-access\u002F{store}\u002Fconfig"," — 读取店铺公开安全配置",[241,318,319],{},[269,320,322,325],{"href":321},"..\u002Freference\u002Foperations\u002Fget-public-storefront-decoration",[245,323,324],{},"GET \u002Fapi\u002Fv1\u002Fstorefront-decorations\u002Fmerchants\u002F{slug}"," — 读取店铺已发布装修",[255,327,328],{"id":328},"分类",[238,330,331,340],{},[241,332,333],{},[269,334,336,339],{"href":335},"..\u002Freference\u002Foperations\u002Flist-public-categories",[245,337,338],{},"GET \u002Fapi\u002Fv1\u002Fcatalog\u002Fcategories"," — 读取公开分类",[241,341,342],{},[269,343,345,348],{"href":344},"..\u002Freference\u002Foperations\u002Flist-public-merchant-categories",[245,346,347],{},"GET \u002Fapi\u002Fv1\u002Fcatalog\u002Fmerchants\u002F{slug}\u002Fcategories"," — 读取店铺公开分类",[255,350,351],{"id":351},"商品",[238,353,354,363,372,381],{},[241,355,356],{},[269,357,359,362],{"href":358},"..\u002Freference\u002Foperations\u002Flist-public-products",[245,360,361],{},"GET \u002Fapi\u002Fv1\u002Fcatalog\u002Fproducts"," — 读取公开商品目录",[241,364,365],{},[269,366,368,371],{"href":367},"..\u002Freference\u002Foperations\u002Fget-public-product",[245,369,370],{},"GET \u002Fapi\u002Fv1\u002Fcatalog\u002Fproducts\u002F{slug}"," — 按 slug 读取公开商品",[241,373,374],{},[269,375,377,380],{"href":376},"..\u002Freference\u002Foperations\u002Flist-public-merchant-products",[245,378,379],{},"GET \u002Fapi\u002Fv1\u002Fcatalog\u002Fmerchants\u002F{slug}\u002Fproducts"," — 读取店铺公开商品",[241,382,383],{},[269,384,386,389],{"href":385},"..\u002Freference\u002Foperations\u002Fget-public-merchant-product",[245,387,388],{},"GET \u002Fapi\u002Fv1\u002Fcatalog\u002Fmerchants\u002F{merchantSlug}\u002Fproducts\u002F{productSlug}"," — 读取店铺公开商品详情",[255,391,392],{"id":392},"搜索",[238,394,395],{},[241,396,397],{},[269,398,400,403],{"href":399},"..\u002Freference\u002Foperations\u002Fsearch-public-products",[245,401,402],{},"GET \u002Fapi\u002Fv1\u002Fsearch"," — 搜索可公开销售商品",[255,405,406],{"id":406},"公开法律内容",[238,408,409],{},[241,410,411],{},[269,412,414,417],{"href":413},"..\u002Freference\u002Foperations\u002Flist-public-legal-documents",[245,415,416],{},"GET \u002Fapi\u002Fv1\u002Flegal\u002Fdocuments"," — 按语言读取当前已发布法律正文",[255,419,421],{"id":420},"hosted-login-后端-session","Hosted login 后端 session",[238,423,424,433],{},[241,425,426],{},[269,427,429,432],{"href":428},"..\u002Freference\u002Foperations\u002Finitiate-hosted-login",[245,430,431],{},"POST \u002Fapi\u002Fv1\u002Fopen\u002Fhosted\u002Flogin\u002Finitiate"," — 创建官方托管登录流程",[241,434,435],{},[269,436,438,441],{"href":437},"..\u002Freference\u002Foperations\u002Fconsume-hosted-login-return",[245,439,440],{},"POST \u002Fapi\u002Fv1\u002Fopen\u002Fhosted\u002Flogin\u002Freturn"," — 以 PKCE 单次消费托管登录返回码",[255,443,445],{"id":444},"hosted-checkout-后端-session","Hosted checkout 后端 session",[238,447,448,457,466],{},[241,449,450],{},[269,451,453,456],{"href":452},"..\u002Freference\u002Foperations\u002Fcreate-hosted-checkout-session",[245,454,455],{},"POST \u002Fapi\u002Fv1\u002Fopen\u002Fhosted\u002Fcheckout\u002Fsessions"," — 创建服务端重算的托管结账会话",[241,458,459],{},[269,460,462,465],{"href":461},"..\u002Freference\u002Foperations\u002Fget-hosted-checkout-session",[245,463,464],{},"GET \u002Fapi\u002Fv1\u002Fopen\u002Fhosted\u002Fcheckout\u002Fsessions\u002F{sessionId}"," — 读取绑定安装的托管结账状态",[241,467,468],{},[269,469,471,474],{"href":470},"..\u002Freference\u002Foperations\u002Fcancel-hosted-checkout-session",[245,472,473],{},"POST \u002Fapi\u002Fv1\u002Fopen\u002Fhosted\u002Fcheckout\u002Fsessions\u002F{sessionId}\u002Fcancel"," — 取消尚未进入不可逆支付阶段的托管结账",[255,476,477],{"id":477},"尚未开放的资源组",[234,479,480],{},"当前 artifact 没有以下资源的 operation，因此本站不生成 endpoint、参数、scope 或响应：",[238,482,483,490,495,500,505,510,515],{},[241,484,485,489],{},[486,487,488],"strong",{},"官方托管登录 UI"," — 尚未开放",[241,491,492,489],{},[486,493,494],{},"官方托管结账 UI 与 Provider 支付推进",[241,496,497,489],{},[486,498,499],{},"订单最终创建",[241,501,502,489],{},[486,503,504],{},"SKU 与库存可售",[241,506,507,489],{},[486,508,509],{},"独立价格资源",[241,511,512,489],{},[486,513,514],{},"locale 与 fallback",[241,516,517,489],{},[486,518,519],{},"媒体资源",[234,521,522],{},"商品 schema 中即使出现价格、媒体或库存相关字段，也不代表存在独立资源 API；只按对应 operation 页的实际 schema 使用。",{"title":524,"searchDepth":525,"depth":525,"links":526},"",2,[527,528,529,530,531,532,533,534,535,536],{"id":257,"depth":525,"text":257},{"id":263,"depth":525,"text":263},{"id":305,"depth":525,"text":305},{"id":328,"depth":525,"text":328},{"id":351,"depth":525,"text":351},{"id":392,"depth":525,"text":392},{"id":406,"depth":525,"text":406},{"id":420,"depth":525,"text":421},{"id":444,"depth":525,"text":445},{"id":477,"depth":525,"text":477},"由权威 public-only artifact 生成的店铺前端公共 API 入口。","md",null,{"badge":541,"generated":542},"19 operations",true,{"title":37,"description":537},"n48Sq4PPlegP-oX18XshAIMrAEG_idoXhHuZZc1M2z4",[546,548],{"title":33,"path":34,"stem":35,"description":547,"children":-1},"将 Turnstile 限定为官方登录与授权端点的 bot 防护，而不是网站真实性或登录证明。",{"title":47,"path":48,"stem":49,"description":549,"children":-1},"使用官方授权域、PKCE S256 和隔离的 app grant，防止恶意反代与账号凭据泄漏。",1785961916630]