1. 获取商品
在后台“设置 → API 密钥”复制可发布密钥。
curl http://localhost:9000/store/products?limit=3 \
-H "x-publishable-api-key: $PK" \
-H "x-locale: en"2. 使用官方 SDK
const res = await fetch("/store/products", {
headers: { "x-publishable-api-key": PUBLISHABLE_KEY },
})
const { products } = await res.json()更多接口请参考接口文档。

