fix product search/filter

This commit is contained in:
Phuoc Nguyen
2025-11-19 15:48:51 +07:00
parent 03a7b7940a
commit 841d77d886
19 changed files with 638 additions and 142 deletions

View File

@@ -8,6 +8,25 @@ curl --location 'https://land.dbiz.com//api/method/building_material.building_ma
"limit_page_length": 0
}'
get product final version
curl --location 'https://land.dbiz.com//api/method/building_material.building_material.api.item.get_list' \
--header 'X-Frappe-Csrf-Token: a22fa53eeaa923f71f2fd879d2863a0985a6f2107f5f7f66d34cd62d' \
--header 'Cookie: sid=a0c9a51c8d1fbbec824283115094bdca939bb829345e0005334aa99f; full_name=phuoc; sid=a0c9a51c8d1fbbec824283115094bdca939bb829345e0005334aa99f; system_user=no; user_id=vodanh.2901%40gmail.com; user_image=https%3A//secure.gravatar.com/avatar/753a0e2601b9bd87aed417e2ad123bf8%3Fd%3D404%26s%3D200' \
--header 'Content-Type: application/json' \
--data '{
"limit_start" : 0,
"limit_page_length": 0,
"item_group" : ["CẨM THẠCH [ Marble ]"],
"brand" : ["TEST 1"],
"item_attribute" : [
{
"attribute": "Màu sắc",
"attribute_value" : "Nhạt"
}
],
"search_keyword" : "chề lính"
}'
get product attribute list
curl --location 'https://land.dbiz.com//api/method/building_material.building_material.api.item_attribute.get_list' \
--header 'X-Frappe-Csrf-Token: 13c271e0e58dcad9bcc0053cad0057540eb0675bb7052c2cc1a815b2' \