订购与授权

商家、供货商须在微信服务市场订购发货猫应用,并完成「去使用」。订购费用在微信侧结算。

一、商家侧 · 厂商代发

  1. 订购
    打开服务市场 · 商家应用 serviceId = 4598923719284244481
  2. 去使用(签发绑店凭证 BT1) https://fahuomao.com/api/shopauth

    成功页会展示一次性绑店凭证(约 15 分钟有效)。复制到业务系统或调云 API wx_sph_bind。

  3. 快递代码参考(微信官方)
    电子面单 delivery_id 说明

二、供货商侧 · 代发

  1. 订购
    打开服务市场 · 供货商应用 serviceId = 4598151485338828805
  2. 去使用(回填供货商信息) https://fahuomao.com/api/supplierauth

    成功页展示并支持复制:

    • 供货商店铺名称(必填到业务站)
    • 供货商 ID / AppID(必填;商家关联供货商用)
    • 取票密钥(必填到业务站「品牌取票密钥」;每供货商一密,用于 /api/supplierauth/token/)
    • 供货商 AccessToken(非必填;仅续期失败时再手工回填)

三、业务调用域名

路径域名说明
路径 A 自取号合作方自己的业务站拉单/取号/扣款在己方
路径 B 云 APIhttps://api.fahuomao.com统一网关,转发到发货猫指定取号站

四、品牌站固定地址(全局)

用途方法URL
授权事件(开放平台已配)微信推送https://fahuomao.com/api/wx_component/event
商家去使用浏览器https://fahuomao.com/api/shopauth
供货商去使用浏览器https://fahuomao.com/api/supplierauth
BT1 校验POSThttps://fahuomao.com/api/bind_ticket/consume
供货商 Token 续期GEThttps://fahuomao.com/api/supplierauth/token/(须尾斜杠;&key= 去使用页取票密钥)
已授权列表(运维)GEThttps://fahuomao.com/api/supplierauth/authorizers?sync=1
Token 定时预热(运维)GEThttps://fahuomao.com/api/supplierauth/refresh_cron/?key=cron_key(勿用站长取票密钥)
Ticket 诊断GEThttps://fahuomao.com/api/wx_component/ticket_status
开放平台「授权事件接收 URL」必须指向发货猫,禁止改到各业务站,否则 ticket 会丢失。
发货猫 · 视频号官方对接文档 · https://fahuomao.com/open/ · 云 API https://api.fahuomao.com