Operations related to authentication tokens
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Pricebook?Name=School&PageNumber=1&PageSize=20' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'[ { "ID": "123e4567-e89b-12d3-a456-426614174001", "Name": "Back to School" }, { "ID": "123e4567-e89b-12d3-a456-426614174002", "Name": "School Holiday" } ]
Array List of multiple outlet ID
List of variants and price in this pricebook
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Pricebook \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Name": "Pricebook November",
"MinimumQuantity": 1,
"ListOutlets": [
"8b13ba50-14b1-486c-9ad2-207ade23c0d6",
"8b13ba50-14b1-486c-9ad2-207ade23c0d7"
],
"StartDate": "2019-11-01",
"Expiration": "2019-11-30",
"Description": "Pricebook for November",
"Variants": [
{
"Code": "S0001",
"OriginalPrice": 100000,
"PricebookPrice": 90000,
"Discount": 10
},
{
"Code": "TS001",
"OriginalPrice": 150000,
"PricebookPrice": 120000,
"Discount": 20
}
]
}'{ "Message": "Pricebook November created successfully", "ID": "123e4567-e89b-12d3-a456-426614174001" }
Array List of multiple outlet ID
List of variants and price in this pricebook
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Pricebook \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Name": "Pricebook November",
"MinimumQuantity": 1,
"ListOutlets": [
"8b13ba50-14b1-486c-9ad2-207ade23c0d6",
"8b13ba50-14b1-486c-9ad2-207ade23c0d7"
],
"StartDate": "2019-11-01",
"Expiration": "2019-11-30",
"Description": "Pricebook for November",
"Variants": [
{
"Code": "S0001",
"OriginalPrice": 100000,
"PricebookPrice": 90000,
"Discount": 10
},
{
"Code": "TS001",
"OriginalPrice": 150000,
"PricebookPrice": 120000,
"Discount": 20
}
]
}'{ "Message": "Pricebook November created successfully", "ID": "123e4567-e89b-12d3-a456-426614174001" }
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Pricebook/ID/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "ID": "123e4567-e89b-12d3-a456-426614174001", "Name": "Back to School", "MinimumQuantity": 1, "Outlet": [ "Outlet1", "Outlet2" ], "StartDate": "2025-07-15", "Expiration": "2025-07-30", "Description": "Limited", "Variants": [ { … } ] }