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?Access=string&Name=string&SuspendedStatus=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'[ { "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" }
curl -i -X GET \
  'https://subdomain.dealpos.net/api/v3/Outlet/ID/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "ID": "227427f5-fb25-4f47-9e39-2370fa70d156", "Name": "Outlet1", "Code": "001", "Suspended": false }
curl -i -X GET \
  'https://subdomain.dealpos.net/api/v3/Outlet/ListID?ListID=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'[ { "ID": "227427f5-fb25-4f47-9e39-2370fa70d156", "Name": "Outlet1", "Code": "001", "Suspended": false }, { "ID": "212347f5-gt52-4127-8148-7780fabcd123", "Name": "Outlet1", "Code": "001", "Suspended": false } ]
Also available as HTTP POST with the same endpoint
Get Outlet Detail
Required Group Role: "Outlet" - "VIEW"
curl -i -X GET \
  https://subdomain.dealpos.net/api/v3/Outlet/Detail \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "Name": "Shopee",
    "Code": "Outlet2"
  }'{ "ID": "410ba2b7-8eff-4759-b5f1-cf47b33ef1cc", "Code": "OTL1", "Name": "Outlet1", "Email": "hendry@gmail.com", "SalesTarget": 50000, "Suspended": false, "MinimumInventory": 0, "EnabledKitchenDisplay": false, "ReceiptTemplate": { "Code": "B1", "OutletName": "Outlet1", "Address": "Muara Karang P 3 Timur No 30\r\nJakarta Utara, Indonesia", "ContactInfo": "Phone: 021-66600886" } }
curl -i -X GET \
  https://subdomain.dealpos.net/api/v3/Outlet/Register \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "Outlet": "Outlet1"
  }'[ { "Outlet": "Outlet1", "Register": [ … ] } ]
curl -i -X GET \
  'https://subdomain.dealpos.net/api/v3/Outlet/Register/ID?ListID=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'[ { "Outlet": "Outlet1", "Register": [ … ] }, { "Outlet": "Outlet2", "Register": [ … ] } ]