...
| HTTP Verb | URL |
|---|---|
| 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
}
]
} |
请求字段描述
字段名 | 是否必填项 | 类型 | 描述 | ||||
| clearingTypes | List<Integer> | 结算方式 0-月结 1-周结 2-日结 3-票结 | supplierTypes | List<Integer>name | M | String | 中文名 |
| nameEn | M | String | 英文名 | ||||
| supplierType | M | Integer | 类型:⏺ 10-订舱 20-海外代理 30-船运公司 40-航空公司 45-快递公司 50-报关 55-保险 60-仓储 65-包装和标记 67-结算代理 70-车辆运输 75-铁路公司 80-其他 85-物流集成商 90-货代 95-船代 100-打单代 | ||||
| clearingType | M | Integer | 结算方式 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 | String | swiftCode | |||||
| invoiceInfoList[0].address | String | 地址 | |||||
| invoiceInfoList[0].status | Integer | 1-启用 0-禁用 | |||||
| invoiceInfoList[0].useDefault | Integer | 1-默认 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": ""
}
|
...