# Dimensions & Weight

## Get the Dimensions and Weight from any product.

<mark style="color:green;">`POST`</mark> `https://api.transiteo.io/v3/taxsrv/aiclassify`

### JSON Request Format

```
{
  "product": {
    "identification": {
      "value": string,
      "type": string
    }
  },
  "to_country": string
}
```

### Request fields

#### "products" / "identification" / "value"

You need to fill this field with a product's title, description, sku or barcode. We manage 5 languages (English, French, Spanish, Italian & Deutsch)\
\&#xNAN;***Examples :*** \
\&#xNAN;*TEXT : **"**&#x42;allon de football"  **or** "*&#x30;71171940757&#x37;*" **or** SKU : "JHYU8\_^ù/76YH"* \
\&#xNAN;***Type :** string*\
\&#xNAN;***Required :** yes*

#### "products" / "identification" / "type"

You need to fill with "TEXT", "BARCODE" or "SKU"\
\&#xNAN;***Type :** string*\
\&#xNAN;***Required :** yes*

#### "to\_country"

You need to fill this field with the ISO Alpha 2 or 3 Code of the country.\
Download the [list of countries](https://f.hubspotusercontent20.net/hubfs/3856821/Dico%20-%20countries.csv).\
\&#xNAN;***Examples :** "FRA"*\
\&#xNAN;***Type :** string*\
\&#xNAN;***Required :** yes*

### JSON Response Format

```
{
    “result”: {
        “weight”: {
            “min”: number,
            “max”: number,
            “median”: number,
            “unit”: string
        },
        “width”: {
            “min”: number,
            “max”: number,
            “median”: number,
            “unit”: string
        },
        “height”: {
            “min”: number,
            “max”: number,
            “median”: number,
            “unit”: string
        },
        “length”: {
            “min”: number,
            “max”: number,
            “median”: number,
            “unit”: string
        }
    },
    “timestamp”: 1646674995727
}
```

### Response fields & values

#### "weight" / "min"

We provide the minimum weight of the product. \
\&#xNAN;***Example :**  3.56*\
\&#xNAN;***Type :** string*

#### "weight" / "*max*"

We provide the maximum weight of the product. \
\&#xNAN;***Example :**  9.22*\
\&#xNAN;***Type :** string*

#### "weight" / "median"

We provide the median weight of the product. \
\&#xNAN;***Example :**  4.77*\
\&#xNAN;***Type :** string*

#### "weight" / "unit"

We provide the unit of product weight. \
\&#xNAN;***Example :**  kg*\
\&#xNAN;***Type :** string*

#### "width" / "min"

We provide the minimum width of the product. \
\&#xNAN;***Example :**  3.56*\
\&#xNAN;***Type :** string*

#### "width" / "*max*"

We provide the maximum width of the product. \
\&#xNAN;***Example :**  9.22*\
\&#xNAN;***Type :** string*

#### "width" / "median"

We provide the median width of the product. \
\&#xNAN;***Example :**  4.77*\
\&#xNAN;***Type :** string*

#### "width" / "unit"

We provide the unit of product width. \
\&#xNAN;***Example :**  kg*\
\&#xNAN;***Type :** string*

#### "height" / "min"

We provide the minimum height of the product. \
\&#xNAN;***Example :**  3.56*\
\&#xNAN;***Type :** string*

#### "height" / "*max*"

We provide the maximum height of the product. \
\&#xNAN;***Example :**  9.22*\
\&#xNAN;***Type :** string*

#### "height" / "median"

We provide the median height of the product. \
\&#xNAN;***Example :**  4.77*\
\&#xNAN;***Type :** string*

#### "height" / "unit"

We provide the unit of height weight. \
\&#xNAN;***Example :**  kg*\
\&#xNAN;***Type :** string*

#### "length" / "min"

We provide the minimum length of the product. \
\&#xNAN;***Example :**  3.56*\
\&#xNAN;***Type :** string*

#### "length" / "*max*"

We provide the maximum length of the product. \
\&#xNAN;***Example :**  9.22*\
\&#xNAN;***Type :** string*

#### "length" / "median"

We provide the median length of the product. \
\&#xNAN;***Example :**  4.77*\
\&#xNAN;***Type :** string*

#### "length" / "unit"

We provide the unit of product length. \
\&#xNAN;***Example :**  kg*\
\&#xNAN;***Type :** string*

#### "timestamp"

We provide the result timestamp. \
\&#xNAN;***Example :**  "*&#x31;63844060227&#x31;*"*\
\&#xNAN;***Type :** string* &#x20;


---

# 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://transiteo.gitbook.io/transiteo/duties-and-taxes-services/product-infos-generator-a.i/dimensions-and-weight.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.
