price policy
This commit is contained in:
22
docs/price.sh
Normal file
22
docs/price.sh
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user