linkfox-amazon-store-fulfillment-outbound
Original:🇺🇸 English
Translated
16 scriptsChecked / no sensitive code detected
亚马逊 Multi-Channel Fulfillment(MCF)出仓履约 Skill,经 LinkFox /spApi/developerProxy 调用 Fulfillment Outbound API v2026-07-04,并提供该文档角色列表关联的 Invoices v2026-06-25 getInvoiceHeaders;支持配送报价与预览、创建/查询/列出/更新/取消履约订单、动态沙箱订单/包裹状态更新及发票头分页查询。用户提到 Fulfillment Outbound、MCF、多渠道配送、getOffers、getOrderPreview、createOrder、getInvoiceHeaders、Amazon 库存配送到站外客户、订单包裹与跟踪、签收证明或投递照片、receivedBy、locker/drop-off location、商品序列号/unitIdentifiers、v2026-07-04 时触发。与 External Fulfillment、普通 Orders API 和旧版 v2020-07-01 不同。
12installs
Added on
NPX Install
npx skill4agent add linkfox-ai/linkfox-skills linkfox-amazon-store-fulfillment-outboundTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Amazon 店铺 Fulfillment Outbound
Use this Skill for Amazon Multi-Channel Fulfillment workflows on Fulfillment Outbound . It exposes all nine operations in Amazon's current Outbound model plus the overview page's associated operation from Invoices , while keeping the existing production and implementations untouched.
v2026-07-04getInvoiceHeadersv2026-06-25linkfox-amazon-store-fbalinkfox-amazon-store-external-fulfillmentPrerequisites
- Require . Run
linkfox-amazon-store-auth; exit codepython scripts/check_auth_dependency.pymeans the dependency must be installed or loaded first.42 - Select one authorized store and obtain its and
sellerId. Accept onlyregion,NA, orEU.FE - Never accept or forward ,
amzAccessToken, oraccessToken; the server resolves authorization fromrefreshToken.sellerId + region - Read references/api.md for operation contracts and references/workflows.md before a create, update, or cancel action.
- After explicit user confirmation, pass boolean to
confirmWrite: true,createOrder,updateOrder,cancelOrder, orupdateOrderStatus; the wrappers reject writes without it.updatePackage - When Amazon assigned a multi-tenant service identifier, pass it only as top-level (1–40 characters). The proxy maps it to
fulfillmentServiceId; never put the raw header name in query or body.x-amzn-fulfillment-service-id
调用方式
- API 端点:(完整参数/响应/错误码见
POST /spApi/developerProxy)references/api.md - Python 脚本:
python scripts/<operation_script>.py '<JSON 参数>' [--inline] [--no-cache] - 调用约束:本工具沿用 Amazon Store Skill 的统一免费配置;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换参数、翻页或连续试探;需要继续调用时先征得用户同意。
输出策略(脚本默认行为):
- 始终将完整响应写入 (
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-amazon-store-fulfillment-outbound-<timestamp>.json取自<session>;禁止写入SESSION_ID,当前目录不可写则报错)/tmp - 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数、最大列表字段长度及前 3 条样本)
- 加 强制全量打印到 stdout(同样落盘)
--inline - 加 强制本次读/预览操作访问网关;只在用户要求刷新或已确认外部状态变化时使用
--no-cache
读数据建议:先看摘要;需要具体字段时用 或 从保存文件按需抽取。
jqConvertFrom-JsonOperation Guide
| Stage | Operation | Script | Availability |
|---|---|---|---|
| Quote | | | Production |
| Preview | | | Production |
| Create | | | Production |
| Read | | | Production |
| List | | | Production |
| Release hold / update | | | Production |
| Cancel | | | Production |
| Simulate order status | | | Amazon dynamic sandbox only |
| Simulate package status | | | Amazon dynamic sandbox only |
| List invoice headers | | | Production, Invoices v2026-06-25 |
Workflow Rules
- Use for multi-SKU delivery options and expiration times; use
getOffersfor planned shipments, fees, constraints, and fulfillability.getOrderPreview - Show the chosen store, destination, line items, service tier, fees, hold/ship action, and before
orderId.createOrder - Treat and every
orderIdas seller-controlled idempotency identifiers. Never invent a replacement ID after an uncertain timeout.lineItemId - A response can be HTTP 200 or 202. On 202, use the returned/requested
createOrderwithorderId; do not automatically poll.getOrder - Use only to update the supported fulfillment configuration, currently the HOLD/SHIP action. Confirm before releasing a held order.
updateOrder - Confirm before . Amazon only stops fulfillment where cancellation is still possible; do not present 202 as completed cancellation.
cancelOrder - Add to
shipments: "INCLUDE"orgetOrderwhen package and tracking details are needed.listOrders - Never automatically replay POST/PUT after 429, 500, 503, or a timeout. Recover with where possible.
getOrder - Use only for header-level invoice discovery. Require
getInvoiceHeaders; provide both issue-date bounds or neither, keep the range within 90 days, and page withmarketplaceIdonly after user approval.nextToken
Important Limitations
- and
updateOrderStatusare markedupdatePackageby Amazon. Consistent with the existing FBA skill, their wrappers use the samex-amzn-api-sandbox-only: truerequest shape as every other operation and do not accept or send a separate/spApi/developerProxycontrol field. Use them only with sandbox test data; availability depends on the unified gateway/upstream route.sandbox - The optional multi-tenant header is exposed only through the typed top-level
x-amzn-fulfillment-service-idparameter. Raw header names, nested aliases, blank values, values over 40 characters, and newline characters are rejected before calling the gateway.fulfillmentServiceId - Amazon's Outbound overview role list mentions , but its Reference path is
getInvoiceHeaders. This Skill exposes it as an explicitly labeled related Invoices operation; it is not counted among the nine Outbound OpenAPI operations and does not accept/finances/invoices/2026-06-25/invoices.fulfillmentServiceId - Legacy v2020-07-01 returns, features, and package-tracking operations remain in the production FBA Skill and are not copied into this current-version Skill. Read references/migration.md when migrating.
Display Rules
- Present Amazon data and identifiers without exposing internal tool names or access tokens.
- Separate operation success from business completion: show gateway , Amazon
errcode, orderhttpStatus, constraints, and next action.status - For offers and previews, show expiration, service tier, delivery interval, currency, price, and item constraints together.
- For orders, show , status, line items, shipments, packages, tracking, proof of delivery, drop-off/locker details, unit identifiers, and pagination token only when present.
orderId
User Expression
Ask: “Check MCF delivery options for these Amazon SKUs to this postal code.”
Do: use ; do not create an order.
getOffersAsk: “Preview and then create this MCF order.”
Do: run , present constraints and fees, obtain confirmation, then run once.
getOrderPreviewcreateOrderAsk: “Track my MCF order.”
Do: run with ; do not call the legacy tracking operation.
getOrdershipments: "INCLUDE"Feedback
Report issues with , operation, masked IDs, resolved path, gateway status, and Amazon response summary. Never include credentials.
skillName: linkfox-amazon-store-fulfillment-outbound积分消耗规则
不消耗积分(以网关实际计费为准)。
更多跨境 Skill:LinkFox Skills