查询包裹
1.接口描述
查询包裹
2.返回
JSON
3.地址
https://gemexdata.rmpsglobal.com/api/pkg_view
4.请求
4.1 请求参数
参数 类型 说明 必填 备注
token string 会员TOKEN Y
sn string 来源包裹单号(唯一识别) Y
4.2 请求示例
[
  "token"=>'d9d1d2408b6d1f7a4ce89c1b1de636a5'
  "sn"=>'SN20240520ABC123456'
]
5.方式
接口支持的消息接收方式为POST;格式:数组。
6.返回
6.1 返回参数
参数 说明 备注
sts 成功代码 1:成功,0:失败
sn 包裹单号 SN20240520ABC123456
track_number 物流单号 00794210392668958445
total_price 价格 11.81
track_number_pdf 物流PDF https://ship.zappy.nz/Consignment/DownloadPDF?ConsignmentSel=__FzNGxLTqEg=
member_sn 会员编码 FS99
batch_sn 批次号 OPP17477908
batch_name 批次名称 BATCH007
batch_self_sn 柜号/提单号 SN009
items_price 订单包裹内件总价值 4999.00
status 状态 待处理
qhfs 取货方式:门店自取/送货上门 门店自取
qhfs_remark 门店/物流公司 总仓店
receiver_name 收件人的真实姓名,用于快递派送身份核对 user
receiver_mobile 收件人的手机号码,用于派送联系沟通 0412345678
receiver_city 收件人所在城市名称 Auckland
receiver_state 收件人所在区域 Henderson
receiver_addr 收件人的详细收货地址,包含街道门牌号 20 Heremai Street
receiver_code 收件人邮编 0612
create_time 创建时间 2026-1-16 13:39:24
batch_time 创建批次时间 --
qg_time 清关扫描时间 --
remark 订单备注 请送货上门,收件人不在时放丰巢柜
6.1.1 成功返回示例
{
  "sts": 1,
  "msg": "success",
  "code": "200",
  "data": {
          "sn": "SN20240520ABC123456",
          "track_num": "00794210392668958445",
          "total_price": "11.81"
          "track_num_pdf": "https://ship.zappy.nz/Consignment/DownloadPDF?ConsignmentSel=__FzNGxLTqEg=",
          "member_sn": "FS99"
          "batch_sn": "OPP17477908",
          "batch_name": "BATCH007"
          "batch_self_sn": "SN009"
          "items_price": "4999.00"
          "status": "待处理"
          "qhfs": "门店自取"
          "qhfs_remark": "总仓店"
          "receiver_name": "user"
          "receiver_mobile": "0412345678"
          "receiver_city": "Auckland"
          "receiver_state": "Henderson"
          "receiver_addr": "20 Heremai Street"
          "receiver_code": "0612"
          "create_time": "2026-1-16 13:39:24"
          "batch_time": "--"
          "qg_time": "--"
          "remark": "请送货上门,收件人不在时放丰巢柜"
}
6.1.2 失败返回示例
{
  "sts": 0,
  "msg": "[400] The request is missing the mandatory field with the name state. Please resubmit the request including the required fields and values.",
  "code": "200",
}