DealPOS API (3.1.0)

Welcome Developer

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

Download OpenAPI description
Overview
URL https://www.dealpos.com
Customer Support info@dealpos.com
License
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

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

Picklist

Operations related to picklist, 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

Outlet

Operations related to outlet, including create, get, etc

Operations

List Outlets

Request

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


Get List of Outlets

Required Group Role: "Outlets" - "VIEW"

Bodyapplication/json
Namestring

Outlet Name (Can be searched keyword contain of outlet name)

Accessstring

Access Restriction

Default "All"
Example: "Peek / Read / Write / All"
SuspendedStatusstring

Outlet status

Default "No"
Example: "No / Yes / All"
curl -i -X GET \
  https://subdomain.dealpos.net/api/v3/Outlet \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "Name": "Outlet",
    "Access": "All",
    "SuspendedStatus": "No"
  }'

Responses

Bodyapplication/jsonArray [
IDstring

Outlet ID

Namestring

Outlet's name

Codestring

Outlet's code

Suspendedboolean

Outlet's status

]
Response
application/json
[ { "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 } ]

Update an Outlet

Request

Update an Outlet

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

Bodyapplication/json
Outletstringrequired

Outlet name that will be updated

Codestringrequired

Code of outlet

Receiptstring

Code Of receipt

NegativeInventorystring

Negative inventory configuration

Enum"Yes""No"
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"
  }'

Responses

Bodyapplication/json
Messagestring

Outlet has been updated

Response
application/json
{ "Message": "Outlet has been updated" }

Create an Outlet

Request

Create an Outlet

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

Bodyapplication/json
Namestringrequired

Outlet's name that will be created

Codestring

Code of new outlet

Receiptstring

Code Of receipt

NegativeInventorystring

Negative inventory configuration

Enum"Yes""No"
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"
  }'

Responses

Bodyapplication/json
Messagestring

Outlet has been created

Response
application/json
{ "Message": "Outlet has been created" }

Delete an Outlet

Request

Delete an Outlet

You must have "DELETE" role in "Outlets" Module

Bodyapplication/json
Codestringrequired

Code of outlet that will be deleted

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

Responses

Bodyapplication/json
Messagestring
Response
application/json
{ "Message": "Outlet Emporium Pluit has been deleted" }

Get Outlet Detail

Request

Also available as HTTP POST with the same endpoint

Get Outlet Detail

Required Group Role: "Outlet" - "VIEW"

Bodyapplication/json
Namestringnon-emptyrequired

Outlet Name

Codestringnon-emptyrequired

Outlet Code