price policy

This commit is contained in:
Phuoc Nguyen
2025-11-26 14:44:17 +07:00
parent a07f165f0c
commit 88ac2f2f07
14 changed files with 588 additions and 654 deletions

22
docs/price.sh Normal file
View File

@@ -0,0 +1,22 @@
#get price list
curl --location 'https://land.dbiz.com//api/method/building_material.building_material.api.pricing.get_pricing_info' \
--header 'Cookie: sid=a0cbe3ea6f9a7e9cf083bbe3139eada68d2357eac0167bcc66cda17d; full_name=Ha%20Duy%20Lam; sid=a0cbe3ea6f9a7e9cf083bbe3139eada68d2357eac0167bcc66cda17d; system_user=yes; user_id=lamhd%40gmail.com; user_image=/files/avatar_0986788766_1763627962.jpg' \
--header 'X-Frappe-Csrf-Token: 6ff3be4d1f887dbebf86ba4502b05d94b30c0b0569de49b74a7171a9' \
--header 'Content-Type: application/json' \
--data '{
"pricing_type" : "PRICE_LIST",
"limit_page_length" : 0,
"limit_start" : 0
}'
//note: PRICING_RULE = Chính sách giá,PRICE_LIST= bảng giá
#response
{
"message": [
{
"title": "EUROTILE",
"file_url": "https://land.dbiz.com/private/files/City.xlsx",
"updated_at": "2025-11-26 11:36:43"
}
]
}