微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🧩

电商运营数据一站式查询

Pipe17 Openclaw Skill · v0.1.0
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(NO_FRONTMATTER)。我们仍保留下载,方便你自行查看内容。
效率 安全 S 级 作者 j-shao1 公开目录收录
1.1k 下载 0 安装 4.4k 收藏 26 浏览

简介

Pipe17 Unified API 技能,支持订单、发货请求、履约及库存的统一查询与读取,适用于电商运营自动化场景。

原始描述

Automation skill for Pipe17 Openclaw Skill.

通过你的 Agent 添加

安装目录:pipe17-openclaw-skill/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/pipe17-openclaw-skill/
Codex CLI~/.codex/skills/pipe17-openclaw-skill/
DeepSeek Harness~/.agents/skills/pipe17-openclaw-skill/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

pipe17是一款面向电商运营场景的文档型API工具Skill,基于Pipe17官方Unified API构建,专注于核心商务数据的查询检索。用户只需配置PIPE17_API_KEY环境变量,即可通过标准HTTP GET请求访问四大核心数据对象:订单(Orders)、发货单(Shipping Requests)、履行记录(Fulfillments)和库存(Inventory)。

Skill采用直观的查询参数设计,支持分页(count/skip)、状态过滤(status)、时间范围(since)、SKU定位等多维度检索。典型使用场景包括:追踪订单履行状态、监控发货单处理进度、核实库存可用量、生成运营报表等。所有API端点均指向Pipe17官方域名api-v3.pipe17.com,数据传输采用TLS加密,确保通信安全。

显著优点

零代码执行风险:作为纯Markdown文档型Skill,不含任何可执行代码,从根本上杜绝了代码注入、恶意执行等安全风险。

凭证安全合规:API密钥通过环境变量配置,无硬编码密钥隐患;文档明确倡导最小权限原则,建议配置只读权限密钥。

功能聚焦实用:精准覆盖电商运营核心场景——订单追踪、发货管理、库存监控,避免功能冗余,学习成本低。

查询能力丰富:支持16种订单状态过滤、11种发货单状态过滤,库存查询提供onHand/available/committed等多维度数量类型,满足精细化运营需求。

来源权威可信:Pipe17是知名电商运营平台,API文档完整、接口稳定,无第三方数据收集风险。

潜在缺点与局限性

仅支持读取操作:无法创建订单、更新库存或执行发货,仅能满足数据查询场景,不能替代完整的订单管理系统。

外部服务依赖:完全依赖Pipe17 API可用性,若服务故障或接口变更,Skill将失效。生产环境需配套错误处理和降级策略。

数据敏感度较高:返回数据包含客户信息、订单金额等商业敏感内容,使用者需自行确保数据处理和存储安全。

无内置错误处理:文档未提供认证失败、速率限制、网络超时等异常场景的处理示例,需用户自行补充。

许可证未声明:当前版本未明确开源许可证,存在使用和分发的法律不确定性。

适合的目标群体

  • 电商运营人员:日常查询订单状态、监控发货进度、核对库存数量
  • 数据分析师:提取电商运营数据进行BI分析和报表生成
  • 客服团队:快速查询客户订单履行情况,响应售后咨询
  • 仓储管理人员:实时掌握库存分布和可用量,辅助补货决策
  • 系统集成开发者:作为Pipe17 API的参考文档,辅助构建更复杂的集成方案

使用风险说明

数据安全风险:API响应包含商业敏感数据,需确保工作环境可信,避免截图外传或日志泄露。建议配置专用只读密钥并定期轮换。

性能与稳定性风险:大量数据查询可能触发Pipe17速率限制,建议采用分页+窄过滤策略;关注API服务可用性,关键业务应设计降级方案。

凭证泄露风险:环境变量配置虽安全,但仍需避免将.bashrc、CI/CD配置等文件提交至公共仓库。建议使用专用密钥管理服务。

技能正文


name: pipe17 description: Pipe17 Unified API for searching and reading orders, shipping requests (shipments), fulfillments, and inventory. homepage: https://apidoc.pipe17.com/#/ metadata: { "openclaw": { "emoji": "🧩", "requires": { "env": ["PIPE17_API_KEY"] }, "primaryEnv": "PIPE17_API_KEY" } }

pipe17

Use the Pipe17 Unified API to search and read core commerce/operations objects.

This skill focuses on:

  • Search + read Orders
  • Search + read Shipping Requests (a.k.a. Shipments)
  • Search + read Fulfillments
  • Search Inventory by SKU (and optionally location)

Setup

  1. Create / obtain a Pipe17 API key for the target organization/integration.
  2. Export it:
export PIPE17_API_KEY="..."

Keep the API key secret. Use least-privilege keys whenever possible.

API Basics

Base URL (default):

https://api-v3.pipe17.com/api/v3

All requests should include:

  • X-Pipe17-Key: ${PIPE17_API_KEY}
  • Accept: application/json

Example:

P17_BASE="https://api-v3.pipe17.com/api/v3"

curl "${P17_BASE}/orders" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

Search & Filtering

Pipe17 commonly supports server-side filtering via query parameters, often including:

  • filters=... (repeatable)
  • limit=...
  • page=...

A common filter encoding pattern looks like:

filters={type}~{field}~{operator}~{value}

Examples of typical patterns:

  • filters=string~status~equals~readyForFulfillment
  • filters=string~status~equalsAnyOf~new,onHold,readyForFulfillment
  • filters=date~extOrderCreatedAt~isGreaterThanOrEqualTo~2024-12-31T00:00:00.000Z

If your tenant uses a different filter grammar, follow the contract in the API doc.

Orders

Search orders

List orders with optional query parameters.

Parameter Type Description
count integer (int32) Number of results to return
skip integer (int32) Number of results to skip (for pagination)
extOrderId array[string] Filter by external order ID(s)
since string (date-time) Filter orders since this UTC ISO timestamp
status array[string] Filter by status(es)

Allowed status values: draft, new, onHold, toBeValidated, reviewRequired, readyForFulfillment, sentToFulfillment, partialFulfillment, fulfilled, inTransit, partialReceived, received, canceled, returned, refunded, archived, closed

P17_BASE="https://api-v3.pipe17.com/api/v3"

# Example: most recent orders (paging)
curl "${P17_BASE}/orders?count=25&skip=0" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: filter by status
curl "${P17_BASE}/orders?count=25&status=new&status=onHold&status=readyForFulfillment" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: filter by date
curl "${P17_BASE}/orders?count=25&since=2024-12-31T00:00:00.000Z" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: filter by external order ID
curl "${P17_BASE}/orders?extOrderId=EXT-12345" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

Read order by id

The search endpoint returns an orderId for each order. Use it to fetch full order details.

P17_BASE="https://api-v3.pipe17.com/api/v3"
ORDER_ID="{orderId}"

curl "${P17_BASE}/orders/${ORDER_ID}" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

Shipping Requests

Search shipping requests

List shipping requests with optional query parameters.

Parameter Type Description
count integer (int32) Number of results to return
skip integer (int32) Number of results to skip (for pagination)
extOrderId array[string] Filter by external order ID(s)
orderId array[string] Filter by Pipe17 order ID(s)
locationId array[string] Filter by location ID(s)
since string (date-time) Filter shipping requests since this UTC ISO timestamp
status array[string] Filter by status(es)

Allowed status values: new, pendingInventory, pendingShippingLabel, reviewRequired, readyForFulfillment, sentToFulfillment, fulfilled, partialFulfillment, canceled, canceledRestock, failed, onHold

P17_BASE="https://api-v3.pipe17.com/api/v3"

# Example: list shipping requests
curl "${P17_BASE}/shipping_requests?count=25&skip=0" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: filter by status
curl "${P17_BASE}/shipping_requests?count=25&status=readyForFulfillment" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: filter by order ID
curl "${P17_BASE}/shipping_requests?count=25&orderId=ORD-12345" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: filter by location
curl "${P17_BASE}/shipping_requests?count=25&locationId=LOC-001" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

Read shipping request by id

P17_BASE="https://api-v3.pipe17.com/api/v3"
SHIPPING_REQUEST_ID="{shippingRequestId}"

curl "${P17_BASE}/shipping_requests/${SHIPPING_REQUEST_ID}" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

Fulfillments

Fulfillments represent completed shipment execution with tracking and shipped line items. They are typically treated as immutable once created.

Search fulfillments

List fulfillments with optional query parameters.

Parameter Type Description
count integer (int32) Number of results to return
skip integer (int32) Number of results to skip (for pagination)
extOrderId array[string] Filter by external order ID(s)
orderId array[string] Filter by Pipe17 order ID(s)
shipmentId array[string] Filter by shipment ID(s)
locationId array[string] Filter by location ID(s)
since string (date-time) Filter fulfillments since this UTC ISO timestamp
P17_BASE="https://api-v3.pipe17.com/api/v3"

# Example: list fulfillments
curl "${P17_BASE}/fulfillments?count=25&skip=0" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: filter by order ID
curl "${P17_BASE}/fulfillments?count=25&orderId=ORD-12345" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: filter by shipment ID
curl "${P17_BASE}/fulfillments?count=25&shipmentId=SHIP-001" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: filter by date
curl "${P17_BASE}/fulfillments?count=25&since=2024-12-31T00:00:00.000Z" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

Read fulfillment by id

P17_BASE="https://api-v3.pipe17.com/api/v3"
FULFILLMENT_ID="{fulfillmentId}"

curl "${P17_BASE}/fulfillments/${FULFILLMENT_ID}" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

Inventory

Inventory is stored per SKU (and often per location) and may include multiple quantity types (e.g., onHand, available, committed, etc.).

Search inventory

List inventory with optional query parameters.

Parameter Type Description
count integer (int32) Number of results to return
skip integer (int32) Number of results to skip (for pagination)
sku array[string] Filter by SKU(s). Mutually exclusive with sku_gt/sku_lt
locationId array[string] Filter by location ID(s)
since string (date-time) Filter inventory created after this UTC ISO timestamp
available integer Filter where available equals this value. Mutually exclusive with available_gt/available_lt
available_gt integer Filter where available is greater than this value
available_lt integer Filter where available is less than this value
onHand integer Filter where onHand equals this value. Mutually exclusive with onHand_gt/onHand_lt
onHand_gt integer Filter where onHand is greater than this value
onHand_lt integer Filter where onHand is less than this value
totals boolean Return inventory totals across all locations (not allowed with ledger flag)
ledger boolean Return inventory ledger information (not allowed with totals flag)

Default behavior: Always send totals=true unless the user specifically requests ledger detail. totals and ledger are mutually exclusive.

P17_BASE="https://api-v3.pipe17.com/api/v3"

# Example: list inventory by SKU (always use totals=true by default)
curl "${P17_BASE}/inventory?count=100&sku=MY-SKU-001&totals=true" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: SKU + location
curl "${P17_BASE}/inventory?count=100&sku=MY-SKU-001&locationId=LOC-001&totals=true" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: find items with zero available
curl "${P17_BASE}/inventory?count=100&available=0&totals=true" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: find items with available > 10
curl "${P17_BASE}/inventory?count=100&available_gt=10&totals=true" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

# Example: get ledger detail (only when specifically requested)
curl "${P17_BASE}/inventory?count=100&sku=MY-SKU-001&ledger=true" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

Read inventory record by inventoryId

P17_BASE="https://api-v3.pipe17.com/api/v3"
INVENTORY_ID="{inventoryId}"

curl "${P17_BASE}/inventory/${INVENTORY_ID}" \
  -H "X-Pipe17-Key: ${PIPE17_API_KEY}" \
  -H "Accept: application/json"

Notes

  • Prefer list/search endpoints with pagination (count, skip) for support workflows.
  • Favor narrow filters (status/date/sku) to avoid pulling large result sets.
  • If you hit rate limits, implement backoff and retry according to response headers.

References

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

e-commerceorder-managementinventoryfulfillmentapi-integrationpipe17

同类 Skill