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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidoc.247express.vn/english-1.0.6/customer/pricing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
