← 返回 Skills 市场
linkfox-ai

Amazon Store Listings

作者 linkfox-ai · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ✓ 安全检测通过
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install linkfox-amazon-store-listings
功能描述
亚马逊店铺 Listing 与刊登相关定义/限制(与 linkfox-amazon-store-auth / linkfox-amazon-store-report 同系列),经 LinkFox /spApi/developerProxy 调用 SP-API:Listings Items(get/search/p...
使用说明 (SKILL.md)

Amazon 店铺 Listings 与相关 API

本 skill 与 linkfox-amazon-store-authlinkfox-amazon-store-report 同属 Amazon Store 系列:使用 POST /spApi/storeTokensaccessToken,再经 POST /spApi/developerProxy 转发上游 GETPATCHPUTDELETE

操作 官方参考
单条刊登 getListingsItem
检索列表 searchListingsItems
部分更新刊登 patchListingsItem
创建 / 全量更新刊登 putListingsItem
删除刊登 deleteListingsItem
刊登限制(ASIN) getListingsRestrictions
搜索 product type searchDefinitionsProductTypes
获取 product type 定义 getDefinitionsProductType

Prerequisites(必须先读)

本 skill 依赖 linkfox-amazon-store-auth。流程与 linkfox-amazon-store-report 相同:

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

Current Capabilities

能力 Path 要点 脚本
获取单条 Listing listings/2021-08-01/items/{sellerId}/{sku} + Query scripts/get_listings_item.py
搜索刊登列表 listings/2021-08-01/items/{sellerId} + Query(路径尾段 SKU) scripts/search_listings_items.py
部分更新 Listing(PATCH) get 路径 + Query + JSON body scripts/patch_listings_item.py
创建 / 全量更新 Listing(PUT) get 路径 + Query + body;marketplaceIds 仅 1 个 scripts/put_listings_item.py
删除 Listing(DELETE) get 路径 + Query(marketplaceIds 仅 1 个 scripts/delete_listings_item.py
刊登限制 listings/2021-08-01/restrictions + Query(asin、sellerId、marketplaceIds 等) scripts/get_listings_restrictions.py
搜索 Product Type definitions/2020-09-01/productTypes + Query scripts/search_definitions_product_types.py
获取 Product Type 定义 definitions/2020-09-01/productTypes/{productType} + Query;marketplaceIds 仅 1 个 scripts/get_definitions_product_type.py

searchListingsItemsidentifiers / variationParentSku / packageHierarchySku 三者互斥(仅该接口;见 references/api.md)。searchDefinitionsProductTypeskeywordsitemName 互斥


Quick Parameters

getListingsItem(单条)

字段 必填 说明
sellerId 已授权 Seller ID
region NA / EU / FE
sku 卖家 SKU(非 ASIN)
marketplaceIds 建议仅 一个 marketplace id
includedData / issueLocale references/api.md

searchListingsItems(列表)

字段 必填 说明
sellerId 已授权 Seller ID
region NA / EU / FE
marketplaceIds 建议仅 一个 marketplace id
identifiers + identifiersType 最多 20 个;与 variationParentSkupackageHierarchySku 不能同用
variationParentSku / packageHierarchySku 与 identifiers 互斥
时间窗 / 状态 / 排序 / 分页 createdAfterlastUpdatedBeforewithStatussortBypageSize(≤20)、pageToken 等,见 references/api.md

patchListingsItem(部分更新)

字段 必填 说明
sellerId 已授权 Seller ID
region NA / EU / FE
sku 卖家 SKU
marketplaceIds 数组或逗号字符串;脚本拼入 Query
productType Amazon product type
patches 至少 1 条 JSON Patch(oppath 等)
includedData / mode / issueLocale references/api.md

putListingsItem(创建 / 全量更新)

字段 必填 说明
sellerId 已授权 Seller ID
region NA / EU / FE
sku 卖家 SKU
marketplaceIds 恰好一个 marketplace id
productType Amazon product type
requirements LISTING | LISTING_PRODUCT_ONLY | LISTING_OFFER_ONLY
attributes 须符合该 product type schema
includedData / mode / issueLocale references/api.md

deleteListingsItem(删除)

字段 必填 说明
sellerId 已授权 Seller ID
region NA / EU / FE
sku 卖家 SKU
marketplaceIds 恰好一个 marketplace id
issueLocale references/api.md

getListingsRestrictions

字段 必填 说明
sellerId 用于 storeTokens 与 Query
region NA / EU / FE
asin 目录 ASIN
marketplaceIds 数组或逗号字符串
conditionType / reasonLocale references/api.md

searchDefinitionsProductTypes

字段 必填 说明
sellerId 用于 storeTokens
region NA / EU / FE
marketplaceIds 数组或逗号字符串
keywords itemName 二者不可同时传(非空时互斥)
locale / searchLocale references/api.md

getDefinitionsProductType

字段 必填 说明
sellerId 用于 storeTokens
region NA / EU / FE
productType LUGGAGE(写入 path)
marketplaceIds 恰好一个 id
querySellerId 若需上游 Query sellerId(卖家专属 schema),传入;常与 sellerId 相同
productTypeVersion / requirements / requirementsEnforced / locale references/api.md

Scripts

  • scripts/get_listings_item.py — 单条 listing。
  • scripts/search_listings_items.py — 搜索列表。
  • scripts/patch_listings_item.py — PATCH 部分更新。
  • scripts/put_listings_item.py — PUT 创建或全量更新。
  • scripts/delete_listings_item.py — DELETE 删除刊登。
  • scripts/get_listings_restrictions.py — GET 刊登限制。
  • scripts/search_definitions_product_types.py — GET 搜索 product type。
  • scripts/get_definitions_product_type.py — GET product type JSON Schema。
  • scripts/check_auth_dependency.py — 依赖检测。

示例:

export LINKFOXAGENT_API_KEY="\x3Cyour-key>"

python scripts/get_listings_item.py '{"sellerId":"A1...","region":"NA","sku":"MY-SKU","marketplaceIds":["ATVPDKIKX0DER"]}'

python scripts/search_listings_items.py '{"sellerId":"A1...","region":"NA","marketplaceIds":["ATVPDKIKX0DER"],"identifiers":["B0XXXXXXXX"],"identifiersType":"ASIN"}'

python scripts/patch_listings_item.py '{"sellerId":"A1...","region":"NA","sku":"MY-SKU","marketplaceIds":["ATVPDKIKX0DER"],"productType":"LUGGAGE","patches":[{"op":"replace","path":"/attributes/item_name","value":[{"value":"New Title","marketplace_id":"ATVPDKIKX0DER"}]}]}'

python scripts/put_listings_item.py '{"sellerId":"A1...","region":"NA","sku":"MY-SKU","marketplaceIds":["ATVPDKIKX0DER"],"productType":"LUGGAGE","requirements":"LISTING","attributes":{"item_name":[{"value":"Title","marketplace_id":"ATVPDKIKX0DER"}]}}'

python scripts/delete_listings_item.py '{"sellerId":"A1...","region":"NA","sku":"MY-SKU","marketplaceIds":["ATVPDKIKX0DER"]}'

python scripts/get_listings_restrictions.py '{"sellerId":"A1...","region":"NA","asin":"B0XXXXXXXX","marketplaceIds":["ATVPDKIKX0DER"]}'

python scripts/search_definitions_product_types.py '{"sellerId":"A1...","region":"NA","marketplaceIds":["ATVPDKIKX0DER"],"keywords":["luggage"]}'

python scripts/get_definitions_product_type.py '{"sellerId":"A1...","region":"NA","productType":"LUGGAGE","marketplaceIds":["ATVPDKIKX0DER"],"querySellerId":"A1..."}'

Display Rules

  1. items 类接口:路径含 卖家 SKU 时强调非 ASIN;searchListingsItems 路径仅到 sellerId
  2. 展示网关结果时说明 errcode / httpStatus;成功后再解析 bodylisting / searchResult / patchResult / putResult / deleteResult / restrictionsResult / productTypesSearchResult / productTypeDefinitionResult)。
  3. searchListingsItems 多页:从 searchResult 取下一页 token(字段名以 Amazon 响应为准),传入 pageToken
  4. restrictions / definitions 路径与 items 不同;1005 时需为 listings/2021-08-01/restrictionsdefinitions/2020-09-01/productTypes 等前缀分别配置白名单(以运维为准)。
  5. patch / put / delete 为写操作;delete 须谨慎;put 为全量 attributespatch 仅顶层属性可 patch(以官方为准)。

Important Limitations

  • marketplaceIdsget / searchListingsItems 脚本对多 id 常仅取第一个;put / delete / getDefinitionsProductType 多于 1 个即报错;patchrestrictionssearchDefinitionsProductTypes 行为见 references/api.md
  • searchListingsItemspageSize ≤ 20identifiers ≤ 20
  • patchpatches 至少 1 条;JSON Patch 的 deletedeleteListingsItem 接口不同;Vendor 对部分 patch 可能 400
  • putLISTING_OFFER_ONLY 对 Vendor 400
  • 白名单listings/.../itemslistings/.../restrictionsdefinitions/2020-09-01/productTypes 均须按需放行。

Feedback:references/api.md 中 Feedback API,skillNamelinkfox-amazon-store-listings


更多跨境 skill:LinkFox Skills

安全使用建议
Retry the review with readable artifact files or a functioning sandbox. This result should not be treated as a completed security review.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Review incomplete: metadata.json and artifact/ could not be inspected, so purpose-to-capability coherence was not verifiable from artifact contents.
Instruction Scope
Review incomplete: runtime instructions were not available for inspection.
Install Mechanism
Review incomplete: install specifications and packaged files were not available for inspection.
Credentials
Review incomplete: environment access requirements could not be compared against the stated purpose.
Persistence & Privilege
Review incomplete: persistence, credential, or privilege behavior could not be assessed from local artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install linkfox-amazon-store-listings
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /linkfox-amazon-store-listings 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
Initial release
元数据
Slug linkfox-amazon-store-listings
版本 0.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Amazon Store Listings 是什么?

亚马逊店铺 Listing 与刊登相关定义/限制(与 linkfox-amazon-store-auth / linkfox-amazon-store-report 同系列),经 LinkFox /spApi/developerProxy 调用 SP-API:Listings Items(get/search/p... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 Amazon Store Listings?

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

Amazon Store Listings 是免费的吗?

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

Amazon Store Listings 支持哪些平台?

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

谁开发了 Amazon Store Listings?

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

💬 留言讨论