Operations related to authentication tokens
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
Request
Also available as HTTP POST (endpoint: /api/v3/Customer/p)
Get List of customers
Required Group Role: "Contacts" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Customer?Name=Ferdiansyah+Rahman&Outlet=Outlet1&From=2021-01-01&To=2021-01-28' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "Name": "A WI", "Code": "TIA20887", "Mobile": "089621973221", "Email": "secyliac@gmail.com", "BirthDate": "1995-03-01T00:00:00", "JoinDate": "2021-01-31T00:00:00", "ID": "298bb6ce-d337-43ab-9c9f-5b289f0f5c95" }, { "Name": "a. asyura alikha", "Code": "TIA9981", "Mobile": "0896219732212", "Email": "asyuraalikha@gmail.com", "BirthDate": "1994-12-17T00:00:00", "JoinDate": "2021-02-28T00:00:00", "ID": "4d055ee5-6c92-4862-8c8d-d62cef19dce5" }, { "Name": "A. Dalaisa A. Beso", "Code": "TIA21264", "Mobile": "089621973223", "Email": "ndisabeni@yahoo.com", "BirthDate": "1996-06-22T00:00:00", "JoinDate": "2021-03-25T00:00:00", "ID": "620bf557-14ff-48ff-aeea-2ab769435830" } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Customer \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Email": "thomy@dealpos.com",
"Name": "Thomy Kurniawan",
"FirstName": "Thomy",
"LastName": "Kurniawan",
"Birthdate": "1989-04-20",
"Phone": "085710977713",
"Mobile": "085710977713",
"Address": "Jl. Muara Karang P3T No.30",
"Gender": false,
"Code": "Tk1010",
"Group": "Gold",
"ExpiredGroup": "2018-12-31",
"LoyaltyPoint": 88,
"Status": "Active"
}'Response
application/json
{ "ID": "c27bfb13-4936-43e5-bd7d-410dc8d041c2", "Message": "Record updated" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Customer \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Email": "Hendry@dealpos.com",
"Name": "Hendry",
"FirstName": "Hendry",
"LastName": "Wijaya",
"Birthdate": "1994-03-21",
"Phone": "0215865894",
"Mobile": "08569314515",
"Address": "Jl. Muara Karang P3T No.30",
"Gender": false,
"Status": "Active",
"ReferredBy": "3cab0335-14de-4b9e-8db7-6ba3f5bd773e",
"Code": "HW001",
"Group": "Gold",
"ExpiredGroup": "2019-12-31",
"LoyaltyPoint": 88,
"ImageURL": "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcR5MITQo_ngwwEGEZqlw7PQLiaO21AoYmLRSkSF5Q2UwJuPgYZx",
"SignUpOutlet": "Outlet1"
}'Response
application/json
{ "ID": "2ce78ff3-a07d-4205-ba93-1a9d22172985" }