Operations related to authentication tokens
Also available as HTTP POST (endpoint: /api/v3/OutletPrice/p)
Required Group Role: "Products" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/OutletPrice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Code": "2005"
}'
{ "Code": "2005", "Outlets": [ { … } ] }
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/OutletPrice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Code": "2005",
"Outlets": [
{
"Outlet": "Outlet1",
"ExtraCost": 100000,
"UnitPrice": 112000
},
{
"Outlet": "Outlet2",
"ExtraCost": 100000,
"UnitPrice": 112000
}
]
}'
{ "ID": "3b3201cd-81b9-46f8-80f6-8c905af70025" }
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/OutletPrice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Code": "2005",
"Outlets": [
{
"Outlet": "Outlet1",
"ExtraCost": 100000,
"UnitPrice": 112000
},
{
"Outlet": "Outlet2",
"ExtraCost": 100000,
"UnitPrice": 112000
}
]
}'
{ "ID": "3b3201cd-81b9-46f8-80f6-8c905af70025" }
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/OutletPrice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Code": "2005",
"Outlets": [
{
"Outlet": "Outlet1",
"Cost": 100000,
"Price": 112000
},
{
"Outlet": "Outlet2",
"Cost": 100000,
"Price": 112000
}
]
}'
{ "ID": "b3201cd-81b9-46f8-80f6-8c905af70025" }