Operations related to authentication tokens
Also available as HTTP POST (endpoint: /api/v3/Outlet/p)
Required Group Role: "Outlets" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Outlet \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Name": "Outlet",
"Access": "All",
"SuspendedStatus": "No"
}'
[ { "ID": "227427f5-fb25-4f47-9e39-2370fa70d156", "Name": "Outlet1", "Code": "001", "Suspended": false }, { "ID": "28342qw5-fb25-4287-3259-2210faaf156", "Name": "Outlet2", "Code": "002", "Suspended": false }, { "ID": "30e4a41d-7fc6-46f5-9945-fd5e0642w3e3", "Name": "Outlet3", "Code": "003", "Suspended": false } ]
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Outlet \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Emporium Pluit",
"Code": "001",
"Receipt": "001",
"NegativeInventory": "Yes"
}'
{ "Message": "Outlet has been updated" }
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Outlet \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Name": "Emporium Pluit",
"Code": "001",
"Receipt": "001",
"NegativeInventory": "Yes"
}'
{ "Message": "Outlet has been created" }
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/Outlet \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Code": "emporium"
}'
{ "Message": "Outlet Emporium Pluit has been deleted" }
Also available as HTTP POST with the same endpoint
Get Outlet Detail
Required Group Role: "Outlet" - "VIEW"