文档中心 > API类目 > 新零售供应链API

qimen.alibaba.ascp.dchain.industry.waybill.sync.mailquota (三方快运服务商取号额度同步)

三方快运服务商取号额度同步

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
request Request 必须 请求体
  • └ requestTime
  • String
  • 必须
  • 1659080423659
  • 时间戳
  • └ feature
  • String
  • 可选
  • {"a": "b"}
  • 扩展字段
  • └ quotaType
  • String
  • 必须
  • INIT
  • 额度类型:INIT: 初始化 ADD: 增量
  • └ settleAccount
  • String
  • 必须
  • 11111
  • 网点编码
  • quotaList
  • ShopQuotaDTO []
  • 必须
  • 店铺额度list
  • └ settleAccount
  • String
  • 必须
  • 11111
  • 网点编码
  • └ quota
  • String
  • 必须
  • 50
  • 店铺取号额度
  • └ sellerShopName
  • String
  • 必须
  • 中通店A
  • 服务商侧店铺名
  • └ totalQuota
  • String
  • 必须
  • 100
  • 取号总额度
  • └ shopName
  • String
  • 必须
  • 好太太店
  • 店铺名
  • └ idempotenceKey
  • String
  • 必须
  • 12121adfaea
  • 幂等键

响应参数

名称 类型 示例值 描述
response Response 响应
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ responseMsg
  • String
  • 异常
  • 错误内容
  • └ responseCode
  • String
  • 1001
  • 错误码

请求示例

{"request":{"requestTime":"1659080423659","quotaType":"INIT","feature":"{\"a\": \"b\"}","quotaList":[{"sellerShopName":"中通店A","quota":"50","settleAccount":"11111"}],"shopName":"好太太店","totalQuota":"100","idempotenceKey":"12121adfaea","settleAccount":"11111"}}

响应示例

{
    "response":{
        "success":false,
        "responseMsg":"异常",
        "responseCode":"1001"
    }
}

验签示例

{"success":"false","responseCode":"sign-check-failure","responseMsg":"Illegal request"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部