# Import Goods

Used to retrieve a list of customers based on specified conditions

<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td>Method</td><td><a data-footnote-ref href="#user-content-fn-1"><mark style="color:green;"><strong>POST</strong></mark></a></td></tr><tr><td>Link</td><td><mark style="color:orange;"><strong>{{host}}/Item/Import</strong></mark></td></tr></tbody></table>

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

## Authorization

<table data-header-hidden><thead><tr><th width="183"></th><th></th></tr></thead><tbody><tr><td>Type</td><td><mark style="color:blue;">Bearer Token</mark></td></tr><tr><td>Token</td><td><mark style="color:orange;">{{access_token}}</mark></td></tr></tbody></table>

## Body

```json
{
    "memvars": {
        "data": [
            {
                "ma_vt": "API-VT0001",
                "ten_vt": "T-shirt 2",
                "dvt": "CAI",
                "nh_vt1": "NTXT",
                "the_tich": 0,
                "khoi_luong": 1,
                "sl_min": 1,
                "sl_max": 100
            }
        ]
    }
}
```

## Parameter description

<table><thead><tr><th width="144">Name</th><th width="59" data-type="checkbox">(*)</th><th width="102">Type</th><th>Description</th></tr></thead><tbody><tr><td>ma_vt</td><td>true</td><td>string</td><td>Product, Supplies Code</td></tr><tr><td>ten_vt</td><td>true</td><td>string</td><td>Product, Supplies Name</td></tr><tr><td>dvt</td><td>true</td><td>string</td><td>Unit code of materials</td></tr><tr><td>nh_vt1</td><td>false</td><td>string</td><td>Goods classification</td></tr><tr><td>the_tich</td><td>false</td><td>numeric</td><td>Volume</td></tr><tr><td>khoi_luong</td><td>false</td><td>numeric</td><td>Mass</td></tr><tr><td>sl_min</td><td>false</td><td>numeric</td><td>Minimum inventory quantity</td></tr><tr><td>sl_max</td><td>false</td><td>numeric</td><td>Maximum inventory quantity</td></tr></tbody></table>
{% endtab %}

{% tab title="Response" %}

```json
{
    "code": 200,
    "msg": "Ok",
    "value": null,
    "data": null
}
```

## Descripsion result

<table><thead><tr><th width="159">Name</th><th>Description</th></tr></thead><tbody><tr><td>code</td><td>When successfully executed, the status code is 200. For other codes, such as 401, 452... it indicates a failed operation, accompanied by a descriptive message explaining the result</td></tr><tr><td>msg</td><td>Description of API execution results</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

[^1]:
