247API
English
English
  • Getting Started
  • Change Log
  • Support
  • About 247Express
  • 247Express API NPM Package
  • Customer
    • Header Request
    • Shipment Pick-up and Delivery Workflow
    • Main services
    • Value-added services
    • List of ClientHubs
    • Update Order
    • Cancel order
    • Get delivered pictures
    • Pricing
    • Create an order
    • Create client hub
    • Update client hub
    • Feedback
  • SSO
    • SSO - Login
  • Tracking
    • Order Tracking
  • Webhooks
    • Update status
    • Status update log
Powered by GitBook
On this page
  • CustomerInsertClientHub
  • Example

Was this helpful?

  1. Customer

Create client hub

Create client hub for customer.

CustomerInsertClientHub

POST /Api/Customer/CustomerInsertClientHub

Request Body

Name
Type
Description

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"
    }
}
PreviousCreate an orderNextUpdate client hub

Last updated 5 months ago

Was this helpful?