让你的 AI Agent 连接 Shopify Storefront

向 AI 助手说明目标,使用 Shopify Storefront 查询店面商品并准备购物车。

8 个工具 API key

试试这些 Shopify Storefront 任务

将提示词复制到已安装 oo Skill 的 Agent,补充页面链接和原始笔记后执行。

oo Skill Shopify Storefront

查看商品

按 handle 或 Storefront GraphQL ID 读取商品。

/oo Shopify Storefront: 读取 Shopify Storefront product handle [handle],汇总返回变体和价格。

准备购物车

使用提供商品行创建购物车。

/oo Shopify Storefront: 使用 lines [商品变体 ID 与数量] 创建 Shopify Storefront 购物车,返回详情供审阅。

开始使用 Shopify Storefront

  1. 安装 OOMOL

    在 Agent 中配置 oo CLI 和 oo Skill。

    安装 OOMOL →
  2. 连接 Shopify Storefront

    使用 Shopify Storefront access token 和 myshopify.com 店铺域连接。

    连接 Shopify Storefront →
  3. 向 Agent 交代任务

    使用 /oo,说明要读取的页面、修改的内容和保存位置。

    连接指南 →

选择你的 Agent

  • 拥有 Shopify Storefront 账号,以及任务所需资源的访问权限。

Shopify Storefront 工具

AI 助手可读取 Shopify Storefront 公开目录,并创建购物车或添加商品行。

查看商品

按 handle 或 Storefront GraphQL ID 读取商品。

准备购物车

使用提供商品行创建购物车。

8 个工具

Get Shop

从 Shopify Storefront 获取公开商店元数据。

shopify_storefront.get_shop

List Products

列出 Shopify Storefront API 可见的产品。

shopify_storefront.list_products

Get Product

按 Storefront GraphQL ID 或句柄获取一个产品。

shopify_storefront.get_product

List Collections

列出 Shopify Storefront API 可见的收藏。

shopify_storefront.list_collections

Get Collection

按 Storefront GraphQL ID 或句柄获取一个收藏。

shopify_storefront.get_collection

Create Cart

创建带有可选初始行的 Shopify Storefront 购物车。

shopify_storefront.create_cart

Get Cart

按 ID 获取 Shopify Storefront 购物车。

shopify_storefront.get_cart

Add Cart Lines

向 Shopify Storefront 购物车添加商品行。

shopify_storefront.add_cart_lines

常见问题

创建购物车会下单吗?

它创建购物车,没有订单完成或付款执行能力。

能向已有购物车添加商品吗?

add_cart_lines 接受 cartId 和商品 lines。

需要哪种 token 和店铺值?

使用 Storefront access token 及店铺 myshopify.com 域。

连接 Shopify Storefront

关于 Shopify Storefront ↗