← Back to Skills Marketplace
linkfox-ai

Amazon Store Listings

by linkfox-ai · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ✓ Security Clean
37
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install linkfox-amazon-store-listings
Description
亚马逊店铺 Listing 与刊登相关定义/限制(与 linkfox-amazon-store-auth / linkfox-amazon-store-report 同系列),经 LinkFox /spApi/developerProxy 调用 SP-API:Listings Items(get/search/p...
README (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

Usage Guidance
Retry the review with readable artifact files or a functioning sandbox. This result should not be treated as a completed security review.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install linkfox-amazon-store-listings
  3. After installation, invoke the skill by name or use /linkfox-amazon-store-listings
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.0.1
Initial release
Metadata
Slug linkfox-amazon-store-listings
Version 0.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Amazon Store Listings?

亚马逊店铺 Listing 与刊登相关定义/限制(与 linkfox-amazon-store-auth / linkfox-amazon-store-report 同系列),经 LinkFox /spApi/developerProxy 调用 SP-API:Listings Items(get/search/p... It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.

How do I install Amazon Store Listings?

Run "/install linkfox-amazon-store-listings" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Amazon Store Listings free?

Yes, Amazon Store Listings is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Amazon Store Listings support?

Amazon Store Listings is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Amazon Store Listings?

It is built and maintained by linkfox-ai (@linkfox-ai); the current version is v0.0.1.

💬 Comments