{
"body": {
"code": "CUST-ICT-001",
"name": "华为技术有限公司",
"procurementTaxRate": 13,
"staffCodes": ["SALES-002"],
"contacts": "张伟(采购总监)",
"countryCode": "CN",
"country": "中国",
"province": "广东省",
"city": "深圳市",
"district": "龙华区",
"defaultPayCondition": "NET30",
"zipcode": 518000,
"categoryCode": "ICT",
"fax": "0755-12345678",
"email": "procurement@huawei.com",
"mobilePhone": "13912345678",
"phone": "0755-87654321",
"address": "深圳市龙华区龙华街道华为基地D区",
"comment": "VIP客户|账期额度1000万",
"currency": "CNY",
"bankAccount": "7559-1234-5678-9999",
"bankAccountName": "华为技术有限公司",
"bankName": "中国银行深圳龙华支行",
"invoice": "华为技术有限公司",
"invoiceAddress": "深圳市龙岗区坂田华为基地财务中心",
"invoicePhone": "0755-23456789",
"taxNum": "914403001922038216",
"trade": "信息通信技术",
"attachmentInfo": [
{
"uid": "biz-license",
"url": "https://cust-files.xxx.com/CUST-ICT-001/biz_license.pdf",
"type": "business_license",
"name": "华为营业执照",
"size": 1048576,
"status": "verified"
},
{
"uid": "tax-cert",
"url": "https://cust-files.xxx.com/CUST-ICT-001/tax_registration.pdf",
"type": "tax_certificate",
"name": "税务登记证",
"size": 524288,
"status": "pending"
}
]
}
}
curl --location --request POST '/api/open/v2/customers/create' \
--header 'Cookie;' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"code": "CUST-ICT-001",
"name": "华为技术有限公司",
"procurementTaxRate": 13,
"staffCodes": ["SALES-002"],
"contacts": "张伟(采购总监)",
"countryCode": "CN",
"country": "中国",
"province": "广东省",
"city": "深圳市",
"district": "龙华区",
"defaultPayCondition": "NET30",
"zipcode": 518000,
"categoryCode": "ICT",
"fax": "0755-12345678",
"email": "procurement@huawei.com",
"mobilePhone": "13912345678",
"phone": "0755-87654321",
"address": "深圳市龙华区龙华街道华为基地D区",
"comment": "VIP客户|账期额度1000万",
"currency": "CNY",
"bankAccount": "7559-1234-5678-9999",
"bankAccountName": "华为技术有限公司",
"bankName": "中国银行深圳龙华支行",
"invoice": "华为技术有限公司",
"invoiceAddress": "深圳市龙岗区坂田华为基地财务中心",
"invoicePhone": "0755-23456789",
"taxNum": "914403001922038216",
"trade": "信息通信技术",
"attachmentInfo": [
{
"uid": "biz-license",
"url": "https://cust-files.xxx.com/CUST-ICT-001/biz_license.pdf",
"type": "business_license",
"name": "华为营业执照",
"size": 1048576,
"status": "verified"
},
{
"uid": "tax-cert",
"url": "https://cust-files.xxx.com/CUST-ICT-001/tax_registration.pdf",
"type": "tax_certificate",
"name": "税务登记证",
"size": 524288,
"status": "pending"
}
]
}
}'
{
"code": 0,
"message": ""
}