← 返回 Skills 市场
linkfox-ai

Amazon Store Feeds

作者 linkfox-ai · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ⚠ pending
18
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install linkfox-amazon-store-feeds
功能描述
亚马逊店铺 Feeds(与 linkfox-amazon-store-auth / report / listings / pricing / orders 同系列),经 /spApi/developerProxy 调用 SP-API Feeds v2021-06-30:createFeedDocument、ge...
使用说明 (SKILL.md)

Amazon 店铺 Feeds

本 skill 与 linkfox-amazon-store-auth 等同属 Amazon Store 系列:先 POST /spApi/storeTokens,再 POST /spApi/developerProxy 转发 GET / POST / DELETE

官方参考索引

能力 文档
createFeedDocument createFeedDocument
getFeedDocument getFeedDocument
createFeed createFeed
getFeed getFeed
getFeeds getFeeds
cancelFeed cancelFeed

Prerequisites

  1. 依赖 linkfox-amazon-store-auth;运行 python scripts/check_auth_dependency.py,exit 42 时需先安装授权 skill。
  2. 应用需具备 Feeds 相关角色;feedType 须与上传文件格式匹配(见 Amazon Feed Type Values 文档)。

典型工作流

  1. create_feed_document.py → 得到 feedDocumentIdurl(上传地址)。
  2. upload_feed_document.py → 对 url PUT 上传 feed 文件(不经 developerProxy)。
  3. create_feed.py → 传入 inputFeedDocumentIdfeedTypemarketplaceIds
  4. get_feed.py / get_feeds.py → 轮询 processingStatus(如 IN_QUEUE、IN_PROGRESS、DONE、FATAL)。
  5. 处理完成后用 get_feed_document.py 下载 resultFeedDocumentId 对应文档(再按返回 URL 自行下载结果文件)。

Current Capabilities

能力 path method 脚本
createFeedDocument feeds/2021-06-30/documents POST create_feed_document.py
getFeedDocument feeds/2021-06-30/documents/{feedDocumentId} GET get_feed_document.py
createFeed feeds/2021-06-30/feeds POST create_feed.py
getFeed feeds/2021-06-30/feeds/{feedId} GET get_feed.py
getFeeds feeds/2021-06-30/feeds GET get_feeds.py
cancelFeed feeds/2021-06-30/feeds/{feedId} DELETE cancel_feed.py
上传文档内容 createFeedDocument 返回的 URL PUT upload_feed_document.py

共享模块:_spapi_feeds_common.py


Scripts 示例

export LINKFOXAGENT_API_KEY="\x3Cyour-key>"

python scripts/create_feed_document.py '{"sellerId":"A1...","region":"NA","contentType":"text/tab-separated-values; charset=UTF-8"}'

python scripts/upload_feed_document.py '{"uploadUrl":"\x3Cfrom createFeedDocument>","contentType":"text/tab-separated-values; charset=UTF-8","filePath":"./inventory.tsv"}'

python scripts/create_feed.py '{"sellerId":"A1...","region":"NA","feedType":"POST_FLAT_FILE_INVLOADER_DATA","marketplaceIds":["ATVPDKIKX0DER"],"inputFeedDocumentId":"\x3CfeedDocumentId>"}'

Display Rules

  1. 先看 developerProxy.errcode / httpStatus;createFeedDocument 常为 201,createFeed 常为 202
  2. getFeeds 分页:仅用上一页 nextToken 作为下一请求的 paginationToken 参数名在 Amazon 侧为 nextToken(脚本字段名 nextToken)。
  3. upload 失败与 SP-API 网关无关,检查 uploadUrl 是否过期、Content-Type 是否与 createFeedDocument 一致。
  4. 网关 path 白名单需包含 feeds/2021-06-30/ 前缀。

Important Limitations

  • 本 skill 代替 Amazon 侧 feed 文件 schema 校验;feedType、TSV/XML 格式以官方为准。
  • 下载 getFeedDocument 返回的 url 内容需另行 HTTP GET(与 upload 类似,不经 developerProxy)。
  • 详见 references/api.md

Feedback: skillNamelinkfox-amazon-store-feeds


更多跨境 skill:LinkFox Skills

能力标签
requires-sensitive-credentials
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install linkfox-amazon-store-feeds
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /linkfox-amazon-store-feeds 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
Initial release
元数据
Slug linkfox-amazon-store-feeds
版本 0.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Amazon Store Feeds 是什么?

亚马逊店铺 Feeds(与 linkfox-amazon-store-auth / report / listings / pricing / orders 同系列),经 /spApi/developerProxy 调用 SP-API Feeds v2021-06-30:createFeedDocument、ge... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 18 次。

如何安装 Amazon Store Feeds?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install linkfox-amazon-store-feeds」即可一键安装,无需额外配置。

Amazon Store Feeds 是免费的吗?

是的,Amazon Store Feeds 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Amazon Store Feeds 支持哪些平台?

Amazon Store Feeds 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Amazon Store Feeds?

由 linkfox-ai(@linkfox-ai)开发并维护,当前版本 v0.0.1。

💬 留言讨论