版本比较

标识

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

...

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

Example:

代码块
POST /api/supplier-service/v1/b2b/inquiry HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: http://cfs-qa.etowertech.com/
X-WallTech-Date: Thu, 06 Aug 2020 06:44:25 GMT
Authorization: WallTech testLvs2jdug2qIoRsJyuxs:F714XG5EBjslUUdx5xJrTCVb9Xs=

...

代码块
 {
  "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
    }
  ]
}


请求字段描述


字段名

是否必填项

类型

描述

clearingTypesList<Integer>结算方式 0-月结  1-周结  2-日结 3-票结supplierTypesList<Integer>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-票结
contactName
String联系人
phone
String电话
contactInformation
String其他联系方式
contactInformation
String其他联系方式
country
String国家
state
String省/州
city
String城市
district
String
addressLine1
String地址
postCode
String邮编
businessEmail
String业务对接人名称
financialEmail
String财务对接人名称
remark
String备注
invoiceInfoList
List开票信息
invoiceInfoList[0].invoice
String开票抬头
invoiceInfoList[0].billingType
Integer账单类型:1-国内 2-国外
invoiceInfoList[0].currency
String币种
invoiceInfoList[0].taxpayerNo
String纳税人识别号
invoiceInfoList[0].phone
String电话
invoiceInfoList[0].accountOpeningBank
String开户行
invoiceInfoList[0].account
String账号
invoiceInfoList[0].swiftCode
StringswiftCode
invoiceInfoList[0].address
String地址
invoiceInfoList[0].status
Integer1-启用 0-禁用
invoiceInfoList[0].useDefault
Integer1-默认 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": ""
}

...