路径 B · 云 API 对接

无自有取号系统时,用任意语言 HTTP 调用即可,不要求与发货猫同源代码。

Base URL

https://api.fahuomao.com

业务前缀:/api/lipin/。网关透明转发到发货猫指定取号站;合作方无需知道上游真实域名。

开户准备(对接前向发货猫运营确认)

必须按顺序

  1. POST /api/lipin/list → 筛 is_wxspinhao=1,保存 kuaidi_id、wx_supplier_id
  2. 商家在微信侧用该供货商 ID 发起关联
  3. POST /api/lipin/wx_sph_accept(merchant_appid)
  4. 商家将订单「分配代发」给该供货商
  5. (可选)商家去使用拿 BT1 → wx_sph_bind
  6. POST /api/lipin/buy(platform=6,必填 shop_order)
  7. POST /api/lipin/status 轮询,或配置 notify_url 回调
未关联、未审核、未分配代发时,即使 buy 返回成功,也可能一直无官方面单号。
发货猫 · 视频号官方对接文档 · https://fahuomao.com/open/ · 云 API https://api.fahuomao.com