Operations related to authentication tokens
- Check Out for Prepaid Package
Check In for Prepaid Package
Get Prepaid Package History
Get Prepaid Package History Detail
Get Prepaid Package List
Check Out for Prepaid Pac...
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
- Production Serverhttps://subdomain.dealpos.net/api/v3/PrepaidPackage/CheckIn
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/PrepaidPackage/CheckIn \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"MemberCode": "12345",
"Package": "Gym Package",
"Doctor": "Dr. Smith"
}'Response
application/json
{ "Message": "Success register with number 20.03.00024 And Use Package Amd Gym(1x) With Customer Achmad raizaldi" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/PrepaidPackage/CheckOut
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/PrepaidPackage/CheckOut \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"MemberCode": "123456"
}'Response
application/json
{ "Message": " Check Out : 16:35 - Mr Achmad raizaldi - 65478 - P:1029348 - ID:4455221445 - Point(s) remaining :4,781.8 Expired on :16 Mar 2020 (4 Days)," }
- Production Serverhttps://subdomain.dealpos.net/api/v3/PrepaidPackage/History
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://subdomain.dealpos.net/api/v3/PrepaidPackage/History?Outlet=Outlet1&PageNumber=1&PageSize=20&CustomerCode=CUST-001&Email=teguhwarsini%40gmail.com&Doctor=Dr.+Panji+Gumilang&From=2018-09-07&To=2018-10-17' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
[ { "Outlet": "Outlet1", "Number": "Prepaid-001", "Date": "2018-09-07", "Customer": "Teguh Warsini", "Doctor": "Dr. Panji Gumilang", "Incentive": 30000, "Package": "Cutting Package", "Type": "Hair Cutting with Style", "State": "Waiting" }, { "Outlet": "Outlet1", "Number": "Prepaid-002", "Date": "2018-09-08", "Customer": "Stephen Wijaya", "Doctor": "Dr. Prabowo Widodo", "Incentive": 60000, "Package": "Laser Package", "Type": "Laser Treatment by Lion King", "State": "Finish" } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/PrepaidPackage/History/Detail
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://subdomain.dealpos.net/api/v3/PrepaidPackage/History/Detail?Outlet=Outlet1&Number=Prepaid-001' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "Outlet": "Outlet1", "Number": "Prepaid-001", "Date": "2018-09-07", "Start": "12:10", "Finish": "14:30", "Duration": "2 hr 20 min", "Customer": "Teguh Warsini", "Doctor": "Dr. Panji Gumilang", "Assistant": "Dr. Gayus Tabunan", "RecommendedBy": "Hendry Wijaya", "Incentive": 30000, "Package": "Cutting Package", "Type": "Hair Cutting with Style", "State": "Waiting", "DoctorNote": "Keep the hair dry", "AssistantNote": "Do not use too much shampoo" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/PrepaidPackage/List
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://subdomain.dealpos.net/api/v3/PrepaidPackage/List?Outlet=Outlet1&Customer=Achmad+Taftazani&From=2023-12-05&To=2024-12-31' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "Outlet": "Outlet1", "Package": "GYM", "Customer": "Achmad Taftazani", "Point": "118", "Start": "120", "Activated": "2023-12-05", "Expired": "2024-12-31", "Price": "100000", "Invoice": "23.11.00021", "SalesnTax": "12000000" }