← 返回 Skills 市场
linkfox-ai

Amazon Store Pricing

作者 linkfox-ai · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ✓ 安全检测通过
36
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install linkfox-amazon-store-pricing
功能描述
亚马逊店铺商品定价(与 linkfox-amazon-store-auth / linkfox-amazon-store-report / linkfox-amazon-store-listings 同系列),经 /spApi/developerProxy 调用 SP-API Product Pricing:v0...
使用说明 (SKILL.md)

Amazon 店铺 Product Pricing

本 skill 与 linkfox-amazon-store-authlinkfox-amazon-store-reportlinkfox-amazon-store-listings 同属 Amazon Store 系列:先 POST /spApi/storeTokensaccessToken,再 POST /spApi/developerProxy 转发上游 GETPOST(与 listings 的 PUT/PATCH 代理方式一致)。

官方参考索引

能力 文档
getPricing getPricing
getCompetitivePricing getCompetitivePricing
getListingOffers getListingOffers
getItemOffers getItemOffers
getItemOffersBatch getItemOffersBatch
getListingOffersBatch getListingOffersBatch
getFeaturedOfferExpectedPriceBatch getFeaturedOfferExpectedPriceBatch
getCompetitiveSummary getCompetitiveSummary

Prerequisites(必须先读)

本 skill 依赖 linkfox-amazon-store-auth

  1. 运行 python scripts/check_auth_dependency.py;若 exit code 42 且 stderr 含 DEPENDENCY_MISSING:,请先安装 linkfox-amazon-store-auth
  2. 不要在本 skill 内绕过依赖实现授权或令牌逻辑。

Current Capabilities(脚本一览)

能力 developerProxy path(要点) 脚本
getPricing products/pricing/v0/price + Query get_pricing.py
getCompetitivePricing products/pricing/v0/competitivePrice + Query get_competitive_pricing.py
getListingOffers products/pricing/v0/listings/{sku}/offers + Query get_listing_offers.py
getItemOffers products/pricing/v0/items/{asin}/offers + Query get_item_offers.py
getItemOffersBatch batches/products/pricing/v0/itemOffers,POST JSON body post_item_offers_batch.py
getListingOffersBatch batches/products/pricing/v0/listingOffers,POST JSON body post_listing_offers_batch.py
getFeaturedOfferExpectedPriceBatch batches/products/pricing/2022-05-01/offer/featuredOfferExpectedPrice,POST post_featured_offer_expected_price_batch.py
getCompetitiveSummary batches/products/pricing/2022-05-01/items/competitiveSummary,POST post_competitive_summary_batch.py

批量脚本(post_*_batch.py)在默认模式下会按 Amazon 要求组装子请求;高级用法可设 useAmazonRequestShape: true,直接传 requests 为官方原始数组(仍受条数上限约束)。共享逻辑见 scripts/_spapi_pricing_common.py(仅供同目录脚本 import,非独立 CLI)。


Quick Parameters(摘要)

  • getPricing / getCompetitivePricingsellerIdregionmarketplaceId(或 marketplaceIds 取首)、itemTypeasinsskus(≤20);getPricing 另有 itemConditionofferType;getCompetitivePricing 另有 customerType
  • getListingOffers / getItemOfferssku+path 或 asin+path;itemCondition 必填;可选 customerType
  • Item / Listing Offers Batchrequests 数组,默认每项为简化对象(见 references/api.md);1~20 条(FOEP 批量脚本为 最多 40 条)。
  • getCompetitiveSummary 批量:每项需 asinmarketplaceIdincludedData(非空字符串数组);可选 lowestPricedOffersInputs
  • getFeaturedOfferExpectedPriceBatch:每项需 marketplaceIdskusegment(对象,结构以官方为准)。

Scripts

  • get_pricing.py · get_competitive_pricing.py · get_listing_offers.py · get_item_offers.py
  • post_item_offers_batch.py · post_listing_offers_batch.py · post_featured_offer_expected_price_batch.py · post_competitive_summary_batch.py
  • check_auth_dependency.py · _spapi_pricing_common.py(内部模块)
export LINKFOXAGENT_API_KEY="\x3Cyour-key>"

python scripts/get_item_offers.py '{"sellerId":"A1...","region":"NA","asin":"B0...","marketplaceId":"ATVPDKIKX0DER","itemCondition":"New"}'

python scripts/post_item_offers_batch.py '{"sellerId":"A1...","region":"NA","requests":[{"asin":"B0...","marketplaceId":"ATVPDKIKX0DER","itemCondition":"New"}]}'

Display Rules

  1. MarketplaceId(单数)与 Listings 的 marketplaceIds 勿混用。
  2. 先看网关 errcode / httpStatus,再解析各脚本对应的解析字段(如 itemOffersitemOffersBatchcompetitiveSummary 等)。
  3. POST 类接口:stdout 中含 requestBody(脚本组装的 Amazon 请求体),便于排查。
  4. 白名单:除 products/pricing/... 外,批量路径以 batches/products/pricing/... 开头;1005 时需后端放行对应前缀。
  5. 各接口 Usage plan 不同(尤其 2022-05-01 批量约 0.033 req/s),注意 429

Important Limitations

  • 权限:Product Pricing 及相关角色;部分 2022-05-01 能力可能另有应用内配置要求,以 Amazon 为准。
  • FOEP 批量segment 须符合官方模型;条数上限脚本按 40 校验(与文档「up to 40」一致)。
  • 返回结构以 Amazon schema 为准;详见 references/api.md

Feedback:references/api.mdskillNamelinkfox-amazon-store-pricing


更多跨境 skill:LinkFox Skills

安全使用建议
Treat this as an incomplete review, not a safety assurance. Re-run the review where metadata.json and artifact/ can be read directly before installing or publishing.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Unable to inspect metadata.json or artifact contents due a sandbox initialization failure, so purpose-to-capability coherence could not be verified from artifacts.
Instruction Scope
Unable to inspect SKILL.md or runtime instructions; no evidence-backed scope concern can be reported.
Install Mechanism
Unable to inspect install specs or manifests; no evidence-backed install concern can be reported.
Credentials
Unable to inspect declared environment use; no evidence-backed proportionality concern can be reported.
Persistence & Privilege
Unable to inspect persistence, credential, or privilege behavior; no evidence-backed concern can be reported.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install linkfox-amazon-store-pricing
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /linkfox-amazon-store-pricing 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
Initial release
元数据
Slug linkfox-amazon-store-pricing
版本 0.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Amazon Store Pricing 是什么?

亚马逊店铺商品定价(与 linkfox-amazon-store-auth / linkfox-amazon-store-report / linkfox-amazon-store-listings 同系列),经 /spApi/developerProxy 调用 SP-API Product Pricing:v0... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 36 次。

如何安装 Amazon Store Pricing?

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

Amazon Store Pricing 是免费的吗?

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

Amazon Store Pricing 支持哪些平台?

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

谁开发了 Amazon Store Pricing?

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

💬 留言讨论