API Design
Command
/ecpay-logistics
串接綠界物流(國內超商/宅配、全方位 v2、跨境)
Install
$ npx -y skills add ecpay/ecpay-api-skill --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/ecpay-logistics
Context preview
What this command does when you run it.
串接綠界物流(國內超商/宅配、全方位 v2、跨境)
Command definition
ecpay-logistics.mddescription: 串接綠界物流(國內超商/宅配、全方位 v2、跨境)
> **你需要這個指令嗎?** > - 目標:超商取貨(國內物流 CMV-MD5)→ ✅ 是 > - 目標:全方位物流 v2(AES-JSON,含宅配)→ ✅ 是 > - 目標:跨境物流 → ✅ 是(先告知目的國) > - 目標:串接金流收款 → ❌ 改用 `/ecpay-pay`(金流與物流是獨立服務)
使用者需要串接綠界物流。請依以下步驟引導:
1. 詢問使用者:國內還是跨境?超商取貨還是宅配? 2. 根據類型讀取對應 guide:
- 國內物流(超商/宅配)→ `guides/06-logistics-domestic.md`
- 全方位物流 v2 → `guides/07-logistics-allinone.md`
- 跨境物流 → `guides/08-logistics-crossborder.md`
3. 若需要金流 + 物流整合,讀 `guides/11-cross-service-scenarios.md` 4. 國內物流用 CMV-MD5(`guides/13`),全方位/跨境物流用 AES(`guides/14`) 5. **生成程式碼前**,從 `references/Logistics/` 對應檔案 web_fetch 最新 API 規格
---
完成後下一步
- 金流 + 物流組合(電商標準組合)→ `/ecpay-pay` 確認金流已就緒
- 加入電子發票 → `/ecpay-invoice`
- 上線前確認(含物流測試訂單)→ `/ecpay-go-live`
Stats
230
Stars
24
Forks
Active
Maintenance
PHP
Language
20d ago
Last commit
7mo ago
Created
2h ago
Added
Other commands on ecpay-api-skill.
Command
Command
Command
Command

