Pricing

The API charges a service fee of 247. The price is for reference only.

GetPriceForCustomerAPI

POST /Api/Customer/GetPriceForCustomerAPI

Request Body

NameTypeDescription

ServiceTypeID

string

Service code

ClientHubID

number

ClientHubID

RealWeight

number

Real weight (after packing) (kg)

Height

number

Height (0 if size is unknow) (cm)

Width

number

Width (0 if size is unknow) (cm)

Length

number

Length (0 if size is unknow) (cm)

ToWardName

string

Ward to

ToDistrictName

string

District to

ToProvinceName

string

Province to

{
    "ExtraServices": [
        {
            "ExtraServiceID": 0,
            "ServiceName": "Chuyển phát nhanh",
            "OrderCode": null,
            "ServiceID": "DE",
            "Type": 1,
            "Cost": 1184800.0,
            "InformFee": 0.0,
            "IsDefaultService": false,
            "IsOneDeliveryService": false,
            "IsApplyAllServiceType": null,
            "FromDate": null,
            "ToDate": null,
            "IsActive": null,
            "Detail": null
        },
        {
            "ExtraServiceID": 0,
            "ServiceName": "Phí xăng dầu",
            "OrderCode": null,
            "ServiceID": "Fuel",
            "Type": 3,
            "Cost": 236960.0,
            "InformFee": 0.0,
            "IsDefaultService": false,
            "IsOneDeliveryService": false,
            "IsApplyAllServiceType": null,
            "FromDate": null,
            "ToDate": null,
            "IsActive": null,
            "Detail": null
        },
        {
            "ExtraServiceID": 0,
            "ServiceName": "Phí VAT",
            "OrderCode": null,
            "ServiceID": "VAT",
            "Type": 3,
            "Cost": 142176.0,
            "InformFee": 0.0,
            "IsDefaultService": false,
            "IsOneDeliveryService": false,
            "IsApplyAllServiceType": null,
            "FromDate": null,
            "ToDate": null,
            "IsActive": null,
            "Detail": null
        }
    ],
    "MainPrice": 0.0,
    "TotalServiceCost": 1563936.0,
    "CouponMoneyRemainder": 0.0,
    "CalWeight": 36.0,
    "Weight": 60.0,
    "PriceMatrixID": "DE_2CB_0521",
    "IsError": false,
    "Errors": [],
    "ErrorMessage": "",
    "DepositChangeAmount": 0.0
}

Example

{
    "ToProvinceName": "Hồ Chí Minh",
    "ToDistrictName": "Quận 1",
    "ToWardName": "Phường Bến Nghé",
    "Length": 60,
    "Width": 60,
    "Height": 60,
    "RealWeight": 60,
    "ClientHubID": "5590",
    "ServiceTypeID": "DE"
}

Last updated