Skip to content

DealPOS API (3.1.0)

Welcome Developer

This page lists the reference documentation for DealPOS APIs. For guides and tutorials.

Download OpenAPI description
Overview
Languages
Servers
Production Server
https://{subdomain}/api/v3/

Token

Operations related to authentication tokens

Operations

Category

Operations related to category, including create, get, etc

Operations

Product

Operations related to product, including create, get, etc

Operations

Variant

Operations related to variant, including create, get, etc

Operations

Serial

Operation related to Serial product type

Operations

Estimate

Operations related to estimate, including create, get, etc

Operations

Sales Order

Operations related to sales order, including create, get, etc

Operations

Invoice

Operations related to invoice, including create, get, etc

Operations

Shift

Operation related to shift, including create, get, etc

Operations

Report

Operations related to report page, including create, get, etc

Operations

Customer

Operations related to customer data, including create, get, etc

Operations

List Customers

Request

Also available as HTTP POST (endpoint: /api/v3/Customer/p)


Get List of customers

Required Group Role: "Contacts" - "VIEW"

Security
OAuth2_clientCredentials
Query
Namestring

Name of the Customer

Example: Name=Ferdiansyah Rahman
Outletstring

Name of the Outlet

Example: Outlet=Outlet1
Fromstring

Contact Join from

Example: From=2021-01-01
Tostring

Contact Join to

Example: To=2021-01-28
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>'

Responses

Bodyapplication/jsonArray [
Namestring

the name of customer has been showed

Codestring

the customer code of the customer to be showed

Mobilestring

the mobile phone number of customer to be showed

Emailstring

the email of the customer to be showed

BirthDatestring

Birthdate Customer

JoinDatestring

Customer's Join Date

IDstring

Unique ID of the customer

]
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" } ]

Update a Customer by Email

Request

Update a Customer based on email

You must have "EDIT" role in "Contacts" Module OR "EDIT" role in "Global" Module

Security
OAuth2_clientCredentials
Bodyapplication/json
IDstringrequired

ID of customer

Namestringrequired

Name of customer

Emailstringrequired

Email Address of customer

Titlestring

Title Name of customer

FirstNamestring

First name of customer

LastNamestring

Last name of customer

Genderstring

Gender of customer

Codestringrequired

Code of customer

Phonestring

Phone number of customer

MobilePhonestringrequired

Mobile number of customer. this is primary key for the object

Faxstring

Fax number of customer

Addressstring

Address of customer

Citystring

City of customer

Nationalitystring

Nationality of customer

ReferredBystring

Customer ID who referred this customer

Identificationstring

identification number of customer

Birthdaystring

Birthday of customer

JoinDatestring

Join date of customer

Groupstring

Group of customer

ExpiredGroupstring

Expired group of customer

SignUpOutletstring

Sign up oulet when created the new customer

ImageURLstring

Image url of customer

LoyaltyPointinteger

Loyalty point of customer

Statusstringrequired

Customer Activation Status

AppLastSignInstring(date-time)

Last sign in from Brand Loyalty app (Null if never sign in)

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"
  }'

Responses

Bodyapplication/json
IDstring
Messagestring
Response
application/json
{ "ID": "c27bfb13-4936-43e5-bd7d-410dc8d041c2", "Message": "Record updated" }

Create a Customer

Request

Create a customer based on the name

You must have "CREATE" role in "Contacts" Module

Security
OAuth2_clientCredentials
Bodyapplication/json
IDstringrequired

ID of customer

Namestringrequired

Name of customer

Emailstringrequired

Email Address of customer

Titlestring

Title Name of customer

FirstNamestring

First name of customer

LastNamestring

Last name of customer

Genderstring

Gender of customer

Codestringrequired

Code of customer

Phonestring

Phone number of customer

MobilePhonestringrequired

Mobile number of customer. this is primary key for the object

Faxstring

Fax number of customer

Addressstring

Address of customer

Citystring

City of customer

Nationalitystring

Nationality of customer

ReferredBystring

Customer ID who referred this customer

Identificationstring

identification number of customer

Birthdaystring

Birthday of customer

JoinDatestring

Join date of customer

Groupstring

Group of customer

ExpiredGroupstring

Expired group of customer

SignUpOutletstring

Sign up oulet when created the new customer

ImageURLstring

Image url of customer

LoyaltyPointinteger

Loyalty point of customer

Statusstringrequired

Customer Activation Status

AppLastSignInstring(date-time)

Last sign in from Brand Loyalty app (Null if never sign in)

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"
  }'

Responses

Bodyapplication/json
IDstring

the ID of customer was created

Response
application/json
{ "ID": "2ce78ff3-a07d-4205-ba93-1a9d22172985" }

Comment

Operations related to comment (Contact Feedback), including create, get, etc

Operations

Supplier

Operations related to supplier data, including create, get, etc

Operations

Invoice Payment

Operations related to invoice payment, including create, get, etc

Operations

Bill Payment

Operations related to bill payment, including create, get, etc

Operations

Invoice Write Off

Operations related to invoice write off, including create, get, etc

Operations

Inventory

Operations related to inventory, including create, get, etc

Operations

Inventory Log

Operations related to inventory log, including create, get, etc

Operations

Inventory Adjustment

Operations related to inventory adjustment, including create, get, etc

Operations

Bill

Operations related to bill, including create, get, etc

Operations

OutboundLogistic

Operations related to outbound logistic, including create, get, etc

Operations

InboundLogistic

Operations related to inbound logistic, including create, get, etc

Operations

TransferOrder

Operations related to transfer order, including create, get, etc

Operations

Fulfillment

Operations related to fulfillment, including create, get, etc

Operations

Prepaid Package

Operations related to prepaid package, including create, get, etc

Operations

Promotion Coupon

Operations related to promotion coupon, including create, get, etc

Operations

Promotion Event

Operations related to promotion event, including create, get, etc

Operations

Pricebook

Operations related to promotion event, including create, get, etc

Operations

Outlet

Operations related to outlet, including create, get, etc

Operations

User

Operations related to user, including create, get, etc

Operations

Outlet Price

Operations related to outlet price, including create, get, etc

Operations

Loyalty Point

Operations related to loyalty point, including create, get, etc

Operations

Notification

Operations related to notification, including create, get, etc

Operations

Payment Method

Operations related to payment method, including create, get, etc

Operations

Invoice Write Off Option

Operations related to invoice write off option, including create, get, etc

Operations

Tax

Operations related to tax, including create, get, etc

Operations

Expense

Operations related to get expense

Operations

Logistics Service

Operations related to logistics service, including create, get, etc

Operations

Park Order Display

Operations related to parked order display, including create, get, etc

Operations

Midtrans Payment Gateway

Operations related to Midtrans Payment Gateway, including create, get, etc

Operations

Apps

Operations related to Apps, including create, get, etc

Operations

Client Secret

Operations related to client secret, including create, get, etc

Operations

Rate Limit

Operations related to rate limit, including create, get, etc

Operations

Deprecated

Operations