> For the complete documentation index, see [llms.txt](https://apidoc.247express.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidoc.247express.vn/english-1.0.6/customer/pricing.md).

# Pricing

## GetPriceForCustomerAPI

<mark style="color:green;">`POST`</mark> `/Api/Customer/GetPriceForCustomerAPI`

#### Request Body

| Name             | Type   | Description                                                     |
| ---------------- | ------ | --------------------------------------------------------------- |
| ServiceTypeID    | string | Service code                                                    |
| ClientHubID      | number | ClientHubID (not required when pickup address is flexible)      |
| 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)                               |
| FromProvinceName | string | From province name (required if the pickup address is flexible) |
| ToWardName       | string | To ward name                                                    |
| ToDistrictName   | string | To district name                                                |
| ToProvinceName   | string | To province name                                                |

{% tabs %}
{% tab title="200 " %}

```
{
    "ExtraServices": [
        {
            "ServiceName": "Chuyển phát nhanh",
            "ServiceID": "DE",
            "Cost": 1184800.0
        },
        {
            "ServiceName": "Phí xăng dầu",
            "ServiceID": "Fuel",
            "Cost": 236960.0
        },
        {
            "ServiceName": "Phí VAT",
            "ServiceID": "VAT",
            "Cost": 142176.0
        }
    ],
    "TotalServiceCost": 1563936.0,
    "IsError": false,
    "Errors": [],
    "ErrorMessage": ""
}
```

{% endtab %}
{% endtabs %}

### 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"
}
```
