SuperAPI AI 工具集

respira-woocommerce

办公与效率

查看项目

更新于 10-16 01:49

技能介绍

用途:在 WordPress 站点上执行 WooCommerce 运营操作,包括商品的列出、读取、创建、更新与复制,分类和标签管理,订单查询与状态更新,库存查询与修改,以及销售报表读取。

主要能力:21 项能力命名于 respira-woocommerce/* 下。商品:get-products、get-product、create-product、update-product、duplicate-product;分类:get-categories、get-category、create-category、update-category、delete-category;标签:get-tags、get-tag、create-tag、update-tag、delete-tag;订单:get-orders、get-order、update-order-status;库存:get-stock-status、update-stock;报表:get-sales-report。另有店铺前端表面(/respira/v1/woocommerce/storefront/)提供 analyze-shop、analyze-product、update-card-layout、add-low-stock-badge,作用于构建器管理的商品卡片模板。

使用方式:该插件为付费且受许可证限制,需 v2.1.0+;未激活时所有 Woo 工具返回 respira_webmcp_woo_unavailable 错误,需前往 respira.press/addons/woocommerce。调用前先用 respira_get_site_context 确认 WooCommerce 已启用且插件已授权。商品操作按搜索、读取、更新流程进行,get-products 须设置 per_page(最大 100)并分页。批量更新使用 respira_batch_update,每次最多 100 项。页面视觉内容需配合 respira_get_builder_info、respira_find_element、respira_update_element 处理。

限制:不要用 respira_update_page 修改商品价格、库存或元数据;不要在页面内容中直接编辑价格与库存;优惠券不应通过 post meta 修改;update-order-status 仅改状态,订单明细、金额、地址需 WC 后台。更新后应回读验证,批量后抽查 2-3 个商品。涉及订阅、会员、预订等扩展或已付款订单时应先询问用户。货币按站点设置,需从站点上下文读取。具体收费价格、平台兼容细节和其余扩展信息暂未提供。