Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
linkfox-ai avatar

Linkfox Amazon Store Listings

  • 182 installs
  • 64 repo stars
  • Updated August 3, 2026
  • linkfox-ai/linkfox-skills

Helps with ai & agent building tasks.

About

linkfox-amazon-store-listings is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • linkfox-amazon-store-listings
  • AI & Agent Building
  • AI-coding skill

Linkfox Amazon Store Listings by the numbers

  • 182 all-time installs (skills.sh)
  • +35 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #3,035 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/linkfox-ai/linkfox-skills --skill linkfox-amazon-store-listings

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs182
repo stars64
Last updatedAugust 3, 2026
Repositorylinkfox-ai/linkfox-skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Amazon 店铺 Listings 与相关 API

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

操作官方参考
单条刊登getListingsItem
检索列表searchListingsItems
部分更新刊登patchListingsItem
创建 / 全量更新刊登putListingsItem
删除刊登deleteListingsItem
刊登限制(ASIN)getListingsRestrictions
搜索 product typesearchDefinitionsProductTypes
获取 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 要点脚本
获取单条 Listinglistings/2021-08-01/items/{sellerId}/{sku} + Queryscripts/get_listings_item.py
搜索刊登列表listings/2021-08-01/items/{sellerId} + Query(路径尾段 SKU)scripts/search_listings_items.py
部分更新 Listing(PATCH)get 路径 + Query + JSON bodyscripts/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 Typedefinitions/2020-09-01/productTypes + Queryscripts/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`)。searchDefinitionsProductTypes`keywords``itemName` 互斥

---

Quick Parameters

getListingsItem(单条)

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

searchListingsItems(列表)

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

patchListingsItem(部分更新)

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

putListingsItem(创建 / 全量更新)

字段必填说明
sellerId已授权 Seller ID
regionNA / EU / FE
sku卖家 SKU
marketplaceIds恰好一个 marketplace id
productTypeAmazon product type
requirementsLISTING \
attributes须符合该 product type schema
includedData / mode / issueLocale`references/api.md`

deleteListingsItem(删除)

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

getListingsRestrictions

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

searchDefinitionsProductTypes

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

getDefinitionsProductType

字段必填说明
sellerId用于 storeTokens
regionNA / EU / FE
productTypeLUGGAGE(写入 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="<your-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/restrictions``definitions/2020-09-01/productTypes` 等前缀分别配置白名单(以运维为准)。 5. patch / put / delete 为写操作;delete 须谨慎;put 为全量 `attributes`patch 仅顶层属性可 patch(以官方为准)。

---

Important Limitations

  • marketplaceIdsget / searchListingsItems 脚本对多 id 常仅取第一个;put / delete / getDefinitionsProductType 多于 1 个即报错;patchrestrictionssearchDefinitionsProductTypes 行为见 `references/api.md`
  • searchListingsItemspageSize ≤ 20identifiers ≤ 20
  • patchpatches 至少 1 条;JSON Patch 的 `delete`deleteListingsItem 接口不同;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](https://skill.linkfox.com/)

<!-- LF_LARGE_RESPONSE_BLOCK -->

Handling Large Responses

To avoid overflowing the agent context, persist the response to disk and extract only the fields you need:

python scripts/response_io.py run --script scripts/check_auth_dependency.py --out-dir <DIR> '<params>'
python scripts/response_io.py read <file> --fields "<paths>"   # or --path "<JMESPath>"
Pick --out-dir outside any git working tree (e.g. /tmp/... on Unix, %TEMP%/... on Windows). Persisted responses may contain PII, pricing, or auth-sensitive data — do not commit them. Files are not auto-deleted; clean up when the task is done.
This skill exposes multiple entry scripts: check_auth_dependency.py, delete_listings_item.py, get_definitions_product_type.py, get_listings_item.py, get_listings_restrictions.py, patch_listings_item.py, put_listings_item.py, search_definitions_product_types.py, search_listings_items.py. Pass --script scripts/<name>.py to choose the one you need.

run writes the full response to a file and emits only a schema preview + file path. read projects specific fields, with --limit/--offset for slicing and --format json|jsonl|csv|table for output.

When to prefer this pattern — apply your judgment based on the response characteristics, e.g.:

  • High field count per record, or fields you don't need
  • Batch/paginated results (multiple items per call)
  • Long-text fields (descriptions, reviews, HTML, time series)
  • Output reused across later steps rather than consumed immediately

For small, single-use responses, calling the main script directly is fine.

⚠️ The preview is a truncated schema + sample, not the full data. Any field-level decision must read from the persisted file via read. <!-- /LF_LARGE_RESPONSE_BLOCK -->

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.