版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

接口描述

提供给cw的询价接口inquiry


HTTP VerbURL
POST/api/supplier-service/v1/aggregator/supplierUpdateInfo

...

代码块
 {
  "name": "嘉兴1",
  "nameEn": "XD-JXSY1",
  "supplierType": 100,
  "clearingType": 3,
  "contactName": "王1",
  "phone": "111",
  "contactInformation": "王11",
  "country": "CN",
  "state": "aa1",
  "city": "bb1",
  "district": "cc1",
  "postCode": "aaa1",
  "addressLine1": "dd1",
  "business": 63142,
  "financial": 63134,
  "remark": "beizhu1",
  "id": "2508181559231000007",
  "attachment": [],
  "invoiceInfoList": [
    {
      "account": "账号1",
      "accountOpeningBank": "开户行1",
      "address": "地址1",
      "billingType": 1,
      "currency": "USD",
      "id": "2512241832381000001",
      "invoice": "开票信息抬头1",
      "phone": "电话1",
      "status": 1,
      "supplierId": "2508181559231000007",
      "swiftCode": "swiftcode1",
      "taxpayerNo": "纳税人识别号1",
      "type": 1,
      "useDefault": 1
    }
  ]
}


请求字段描述


字段名

是否必填项

类型

描述

idMLongid
nameMString中文名
nameEnMString英文名
supplierTypeMInteger类型:⏺ 10-订舱
20-海外代理
30-船运公司
40-航空公司
45-快递公司
50-报关
55-保险
60-仓储
65-包装和标记
67-结算代理
70-车辆运输
75-铁路公司
80-其他
85-物流集成商
90-货代
95-船代
100-打单代
clearingTypeMInteger结算方式 0-月结  1-周结  2-日结 3-票结
contactNameOString联系人
phoneOString电话
contactInformationOString其他联系方式
contactInformationOString其他联系方式
countryOString国家
stateOString省/州
cityOString城市
districtOString
addressLine1OString地址
postCodeOString邮编
businessOInteger业务对接人userId (17.获取用户列表) 返回的userId 
financialOInteger财务对接人userId((17.获取用户列表) 返回的userId 
remarkOString备注
invoiceInfoListOList开票信息
invoiceInfoList[0].invoiceCString开票抬头
invoiceInfoList[0].billingTypeCInteger账单类型:1-国内 2-国外
invoiceInfoList[0].currencyCString币种
invoiceInfoList[0].taxpayerNoOString纳税人识别号
invoiceInfoList[0].phoneOString电话
invoiceInfoList[0].accountOpeningBankOString开户行
invoiceInfoList[0].accountOString账号
invoiceInfoList[0].swiftCodeOStringswiftCode
invoiceInfoList[0].addressOString地址
invoiceInfoList[0].statusCInteger1-启用 0-禁用
invoiceInfoList[0].useDefaultCInteger1-默认 0-非默认

...

代码块
{
    "code": "0",
    "data": {
        "name": "嘉兴1",
        "nameEn": "XD-JXSY1",
        "supplierType": 100,
        "clearingType": 3,
        "contactName": "王1",
        "phone": "111",
        "contactInformation": "王11",
        "country": "CN",
        "state": "aa1",
        "city": "bb1",
        "district": "cc1",
        "postCode": "aaa1",
        "addressLine1": "dd1",
        "business": 63142,
        "financial": 63134,
        "remark": "beizhu1",
        "id": "2508181559231000007",
        "attachment": [],
        "invoiceInfoList": [
            {
                "account": "账号1",
                "accountOpeningBank": "开户行1",
                "address": "地址1",
                "billingType": 1,
                "currency": "USD",
                "id": "2512241832381000001",
                "invoice": "开票信息抬头1",
                "phone": "电话1",
                "status": 1,
                "supplierId": "2508181559231000007",
                "swiftCode": "swiftcode1",
                "taxpayerNo": "纳税人识别号1",
                "type": 1,
                "useDefault": 1
            }
        ]
    },
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}

返回字段描述:

data.list[0].list[0]..list[0].list[0].list[0].list[0]list[0]..list[0]list.list[0].list[0].list[0]
字段名类型描述
data.hasNextPagebooleannameIntegerString是否还有下一页中文名
data.isLastPagebooleanidIntegerLong是否是最后一页id
data.totalIntegerInteger总数
data.list[0].nameString中文名
nameEnString英文名
data.supplierTypeInteger类型 (参考请求类型的supplierTypes)
data.list[0].supplierTypeMsgString类型中文
data.list[0].clearingTypeInteger结算方式(参考请求类型的clearingTypes)
data.list[0].contactNameString联系人
data.phoneString电话
data.contactInformationString其他联系方式
data.countryString国家
data.list[0].stateString省/州
data.cityString城市
data.districtString
data.addressLine1String地址
data.list[0].postCodeString邮编
data.list[0].businessEmailString业务对接人名称
data.list[0].financialEmailString财务对接人名称
data.list[0].remarkString备注
data.list[0].invoiceInfoListList开票信息
data.invoiceInfoList[0].idLongid
data.invoiceInfoList[0].invoiceString开票抬头
data.list[0].invoiceInfoList[0].billingTypeInteger账单类型:1账单类型:1-国内 2-国外
data.invoiceInfoList[0].currencyString币种
data.invoiceInfoList[0].taxpayerNoString纳税人识别号
data.invoiceInfoList[0].phoneString电话
data.list[0].invoiceInfoList[0].accountOpeningBankString开户行
data.list[0].invoiceInfoList[0].accountString账号
data.list[0].invoiceInfoList[0].swiftCodeStringswiftCode
data.list[0].invoiceInfoList[0].addressString地址
data.list[0].invoiceInfoList[0].statusInteger1-启用 0-禁用
data.list[0].invoiceInfoList[0].useDefaultInteger1-默认 0-非默认









...