# Danh sách báo giá

URL API: [https://new.abitstore.vn](https://new.abitstore.vn/quotes/getlistQuotesbyPartner)

<mark style="color:green;">`POST /`</mark>`quotes/getlistQuotesbyPartner`

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**Body**

<table><thead><tr><th width="149">Name</th><th width="95">Type</th><th>Description</th></tr></thead><tbody><tr><td>access_token</td><td>string</td><td>Mã Access token được khởi tạo và cấp quyền bởi chủ tài khoản Abit, Xem hướng dẫn tạo <a href="/pages/t1tDBWKqV56vJX2nCGS3#khoi-tao-access-token"><mark style="color:red;"><strong>Access Token</strong></mark> </a></td></tr><tr><td>partner_name</td><td>string</td><td>Mã shop khi đăng ký Abit</td></tr><tr><td>quotestage</td><td>arrray</td><td><p>Mặc định là [] , nếu bạn muốn lọc theo nhiều trạng thái báo giá trên Abit thì truyền theo mã quote code</p><p><br>Một số trạng thái mặc định ( Created, Delivered, Reviewed, Accepted, Rejected, Success) </p><pre class="language-postman_json"><code class="lang-postman_json">
[
  "Created",
  "Delivered",
  "Reviewed",
  "Accepted",
  "Rejected",
  "Success"
]
</code></pre><p></p></td></tr><tr><td>productstoreid</td><td>int</td><td>ID Kho hàng, lấy danh sách này ở API <a href="/pages/Llc7YhwmKpTojfkw72zw"><strong>Danh sách kho - Chi nhán</strong>h</a></td></tr><tr><td>filter_by</td><td>string</td><td>filter_by có 2 giá trị <strong>UPDATE</strong> và <strong>CREATE</strong></td></tr><tr><td>order_by</td><td>string</td><td>order_by có 2 giá trị <strong>DESC</strong> và <strong>ASC</strong></td></tr><tr><td>date_time_start</td><td>datetime</td><td>Thời gian bắt đầu lọc , định dạng Y-m-d H:i:s <br>Ví dụ : <strong>2025-03-13 08:00:00</strong></td></tr><tr><td>date_time_end</td><td>datetime</td><td>Thời gian kết thúc lọc , định dạng Y-m-d H:i:s <br>Ví dụ : <strong>2025-03-13 23:59:59</strong></td></tr><tr><td>page</td><td>int</td><td>Phân trang, lấy kết quả ở trang thứ mấy, mặc định giá trị là <strong>0</strong></td></tr><tr><td>limit</td><td>int</td><td>Giới hạn kết quả trả ra, mặc định là <strong>10</strong></td></tr></tbody></table>

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

```json
{
    "access_token": "ZjZjNjFlNGM3MjkzNTUxYzE1NmI4NGQ0MmY3NzU5OGQ=",
    "partner_name": "Abit",
    "quotestage": [
        "Created"
    ],
    "productstoreid": "",
    "filter_by": "UPDATE",
    "order_by": "DESC",
    "date_time_start": "2025-11-01 00:00:00",
    "date_time_end": "2025-11-28 23:59:59",
    "page": 0,
    "limit": 10
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "total": 3,
    "data": [
        {
            "quoteid": 87297241,
            "subject": "Báo giá 3 sản phẩm 4",
            "dienthoai": "0983730200",
            "idcongty": 1,
            "quotestage": "Created",
            "validtill": "2025-12-27",
            "ngaybaogia": "2025-11-27 13:19:11",
            "contactid": 0,
            "total": "12539000.000",
            "subtotal": "12539000.000",
            "s_h_amount": "0.000",
            "quote_no": "BG15500-21",
            "carrier": null,
            "shipping": null,
            "type": null,
            "adjustment": "0.000",
            "taxtype": "group",
            "discount_percent": "0.000",
            "discount_amount": "0.000",
            "accountid": 7027446,
            "tenkhachhang": "nguyenthanhtung",
            "terms_conditions": "",
            "currency_id": 1,
            "ship_street": "TEst",
            "bill_street": "",
            "ghichu": "",
            "lydohuy": "",
            "giamgia": "0.000",
            "phuthu": "0.000",
            "phivanchuyen": "0.000",
            "taxtotal_quote": "0.000",
            "productstoreid": 1,
            "alias": "",
            "tennv": "Họ teenNhân Viên dê mô",
            "reminder_datetime": null,
            "ngaylayhangdukien": "2025-11-08",
            "tylethanhcong": 0,
            "listProduct": [
                {
                    "productid": 60025106,
                    "price": "10625000.000",
                    "amount": "1.000",
                    "storeId": 1,
                    "productName": "Bơm  SB30- 3Hp - 28,5-->30,5m3/h\r\n- Động cơ motor 1 pha \r\n- Thiết bị bảo vệ quá dòng \r\n- Công suất : 3",
                    "productcode": "SB30",
                    "ma_ke_toan": "",
                    "barcode": null,
                    "ma_goc": null,
                    "usageunit": "Cái",
                    "weight": "0",
                    "time_baohanh": 0,
                    "imagename": "[{\"id\":1,\"isDefault\":true,\"imgSrc\":\"https://seapoolvn.com/wp-content/uploads/2019/09/luu-y-khi-lap-dat-may-bom-nuoc-be-boi-emaux.jpg\"}]",
                    "url_key": null,
                    "link_drive": null,
                    "brandname": "Emaux",
                    "vendorname": null,
                    "origin": null,
                    "pricebook_id": 0,
                    "pricebook_name": "",
                    "discount_percent": "0.000",
                    "discount_amount": "0.000",
                    "tax1": "0.000",
                    "qtyinstock": null
                },
                {
                    "productid": 71680298,
                    "price": "935000.000",
                    "amount": "1.000",
                    "storeId": 1,
                    "productName": "Thùng rác nhựa 240L - HDPE giá rẻ - Xanh biển - 204L-XANHBIEN",
                    "productcode": "204L-XANHBIEN",
                    "ma_ke_toan": "52030637297",
                    "barcode": "",
                    "ma_goc": "204L-XANHBIEN",
                    "usageunit": "Cái",
                    "weight": "11000",
                    "time_baohanh": 0,
                    "imagename": "[{\"isDefault\":true,\"imgSrc\":\"https://cf.shopee.vn/file/2a6f0dbe4f95a93607341287277e1ddb\"}]",
                    "url_key": "",
                    "link_drive": null,
                    "brandname": "",
                    "vendorname": "",
                    "origin": "",
                    "pricebook_id": 0,
                    "pricebook_name": "",
                    "discount_percent": "0.000",
                    "discount_amount": "0.000",
                    "tax1": "0.000",
                    "qtyinstock": null
                },
                {
                    "productid": 86184674,
                    "price": "979000.000",
                    "amount": "1.000",
                    "storeId": 1,
                    "productName": "Thùng rác nhựa 240L - HDPE giá rẻ - Vàng - 240L-VANG",
                    "productcode": "240L-VANG",
                    "ma_ke_toan": "52030637295",
                    "barcode": "",
                    "ma_goc": null,
                    "usageunit": "Cái",
                    "weight": "11000",
                    "time_baohanh": 0,
                    "imagename": "[{\"isDefault\":true,\"imgSrc\":\"https://cf.shopee.vn/file/773548b499f1ac822ad6baab61ae3884\"}]",
                    "url_key": "",
                    "link_drive": null,
                    "brandname": "",
                    "vendorname": null,
                    "origin": "",
                    "pricebook_id": 0,
                    "pricebook_name": "",
                    "discount_percent": "0.000",
                    "discount_amount": "0.000",
                    "tax1": "0.000",
                    "qtyinstock": null
                }
            ]
        },
        {
            "quoteid": 87290328,
            "subject": "Báo giá 3 sản phẩm",
            "dienthoai": "0983730200",
            "idcongty": 1,
            "quotestage": "Created",
            "validtill": "2025-12-27",
            "ngaybaogia": "2025-11-27 11:45:09",
            "contactid": 0,
            "total": "12539000.000",
            "subtotal": "12539000.000",
            "s_h_amount": "0.000",
            "quote_no": "BG15499-86",
            "carrier": null,
            "shipping": null,
            "type": null,
            "adjustment": "0.000",
            "taxtype": "group",
            "discount_percent": "0.000",
            "discount_amount": "0.000",
            "accountid": 7027446,
            "tenkhachhang": "nguyenthanhtung",
            "terms_conditions": "",
            "currency_id": 1,
            "ship_street": "TEst",
            "bill_street": "",
            "ghichu": "",
            "lydohuy": "",
            "giamgia": "0.000",
            "phuthu": "0.000",
            "phivanchuyen": "0.000",
            "taxtotal_quote": "0.000",
            "productstoreid": 1,
            "alias": "",
            "tennv": "Họ teenNhân Viên dê mô",
            "reminder_datetime": null,
            "ngaylayhangdukien": "2025-11-08",
            "tylethanhcong": 0,
            "listProduct": [
                {
                    "productid": 60025106,
                    "price": "10625000.000",
                    "amount": "1.000",
                    "storeId": 1,
                    "productName": "Bơm  SB30- 3Hp - 28,5-->30,5m3/h\r\n- Động cơ motor 1 pha \r\n- Thiết bị bảo vệ quá dòng \r\n- Công suất : 3",
                    "productcode": "SB30",
                    "ma_ke_toan": "",
                    "barcode": null,
                    "ma_goc": null,
                    "usageunit": "Cái",
                    "weight": "0",
                    "time_baohanh": 0,
                    "imagename": "[{\"id\":1,\"isDefault\":true,\"imgSrc\":\"https://seapoolvn.com/wp-content/uploads/2019/09/luu-y-khi-lap-dat-may-bom-nuoc-be-boi-emaux.jpg\"}]",
                    "url_key": null,
                    "link_drive": null,
                    "brandname": "Emaux",
                    "vendorname": null,
                    "origin": null,
                    "pricebook_id": 0,
                    "pricebook_name": "",
                    "discount_percent": "0.000",
                    "discount_amount": "0.000",
                    "tax1": "0.000",
                    "qtyinstock": null
                },
                {
                    "productid": 71680298,
                    "price": "935000.000",
                    "amount": "1.000",
                    "storeId": 1,
                    "productName": "Thùng rác nhựa 240L - HDPE giá rẻ - Xanh biển - 204L-XANHBIEN",
                    "productcode": "204L-XANHBIEN",
                    "ma_ke_toan": "52030637297",
                    "barcode": "",
                    "ma_goc": "204L-XANHBIEN",
                    "usageunit": "Cái",
                    "weight": "11000",
                    "time_baohanh": 0,
                    "imagename": "[{\"isDefault\":true,\"imgSrc\":\"https://cf.shopee.vn/file/2a6f0dbe4f95a93607341287277e1ddb\"}]",
                    "url_key": "",
                    "link_drive": null,
                    "brandname": "",
                    "vendorname": "",
                    "origin": "",
                    "pricebook_id": 0,
                    "pricebook_name": "",
                    "discount_percent": "0.000",
                    "discount_amount": "0.000",
                    "tax1": "0.000",
                    "qtyinstock": null
                },
                {
                    "productid": 86184674,
                    "price": "979000.000",
                    "amount": "1.000",
                    "storeId": 1,
                    "productName": "Thùng rác nhựa 240L - HDPE giá rẻ - Vàng - 240L-VANG",
                    "productcode": "240L-VANG",
                    "ma_ke_toan": "52030637295",
                    "barcode": "",
                    "ma_goc": null,
                    "usageunit": "Cái",
                    "weight": "11000",
                    "time_baohanh": 0,
                    "imagename": "[{\"isDefault\":true,\"imgSrc\":\"https://cf.shopee.vn/file/773548b499f1ac822ad6baab61ae3884\"}]",
                    "url_key": "",
                    "link_drive": null,
                    "brandname": "",
                    "vendorname": null,
                    "origin": "",
                    "pricebook_id": 0,
                    "pricebook_name": "",
                    "discount_percent": "0.000",
                    "discount_amount": "0.000",
                    "tax1": "0.000",
                    "qtyinstock": null
                }
            ]
        }
    ]
}
```

{% endtab %}
{% endtabs %}


---

# 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://apidocs.abit.vn/bao-gia/danh-sach-don-hang.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.
