Operations related to authentication tokens
- Unsuspend a Customer
List Customers
Update a Customer by Email
Create a Customer
Delete a Customer by Email
Update AppLastSignIn Customer by ID
Get Customer By
Update Customer By Code
Update Customer By ID
Get Customer By List ID
Update Customer By MobilePhone
Verify Customer's Mobile
Verify Customer's Email
Delete Customer By Code
List Customer With Total Count
Suspend a Customer
Get New Customer Code
Merge Customer
Check Customer PIN Authenticate
Set Customer PIN
Unsuspend a Customer
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/
- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer/Suspend
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Customer/Suspend \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ID": "c27bfb13-4936-43e5-bd7d-410dc8d041c2",
"Code": "HWCISAP",
"Email": "hendryw@gmail.com",
"Phone": "0216892235"
}'Response
{
"Message": "The contact has been successfully suspended."
}- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer/Unsuspend
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/Customer/Unsuspend \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ID": "c27bfb13-4936-43e5-bd7d-410dc8d041c2",
"Code": "HWCISAP",
"Email": "hendryw@gmail.com",
"Phone": "0216892235"
}'Response
{
"Message": "The contact has been successfully unsuspended."
}Request
This API is only working if you use Customer Code Generator (auto increment customer code Learn more Here).
With this API, you can get the Next Customer code that the generator could assign. For example, the last customer code existed is MM-003, the API will return "MM-004" as the response.
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer/NewCode
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Customer/NewCode \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "Message": "The contact has been successfully suspended." }