Create client hub

Create client hub for customer.

CustomerInsertClientHub

POST /Api/Customer/CustomerInsertClientHub

Request Body

NameTypeDescription

Address*

string

Customer's Addresss following Apartment number/Street name, Ward name, District name, Province name.

ContactName*

string

Contact name

ContactPhone*

string

Contact phone

ProvinceName*

string

Province name

DistrictName*

string

District name

WardName

string

Ward name

CusWarehouseID

string

ID of Shop/WareHouse

CusWarehouseName

String

Name of Shop/WareHouse

{
    "HubInfo": {
        "Address": "HH1, Yên Hòa, Cầu Giấy, Hà Nội",
        "WardID": "CYGYHO",
        "ClientHubID": "248",
        "ContactName": "Nguyễn Thành Trung",
        "ContactPhone": "0986226622",
        "DistrictID": "CGY",
        "IsMain": "true",
        "ProvinceID": "HNI",
        "CustomerID": "15",
        "Status": "Init",
        "StatusName": "Chờ duyệt",
        "CusWarehouseName: "Chi nhánh HN1"
    },
    "Errors": [],
    "ErrorMessage": ""
}

Example

{
    "HubInfo": 
	{
        "Address": "326 Võ Văn Kiệt, Phường Cô Giang, Quận 1, HCM",
        "ContactName": "Nguyễn Văn A",
        "ContactPhone": "0909123456",
        "DistrictName": "Quận 1",
        "ProvinceName": "Thành phố Hồ Chí Minh",
        "WardName": "Cô Giang",
        "CusWarehouseID": "30984",
        "CusWarehouseName": "Chi nhánh số 3"
    }
}

Last updated