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

Delete an Invoice

Request

Delete an Invoice based on Number

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

Security
OAuth2_clientCredentials
Bodyapplication/json

Request can be send with payload Outlet+Number / OutletID + Number /InvoiceID only

One of:
Outletstringrequired

Outlet Name.

Example: "Outlet1"
Numberstringrequired

Invoice Number. this is primary key for the object

Example: "LM3002"
curl -i -X DELETE \
  https://subdomain.dealpos.net/api/v3/Invoice \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "Outlet": "Outlet1",
    "Number": "LM3002"
  }'

Responses

Bodyapplication/json
string

Invoice has been deleted

Response
application/json
"Invoice has been delete!{}"

List Invoice Multiple Outlet

Request

Also available as HTTP POST with the same endpoint

Get Invoice List by Multiple Outlet

Security
OAuth2_clientCredentials
Bodyapplication/json
One of:
PageNumbernumberrequired

The number of page data to be displayed

Example: 1
PageSizenumberrequired

The size of one page. Max=500

Example: 20
Fromstring

From date list Invoice list will be shown

Example: "2024-08-27"
Tostring

To date list Invoice list will be shown

Example: "2024-08-28"
OutletArray of strings

Outlet name. When Outlet is not specified, it will return all outlet that the user has access to.

Example: ["Outlet1","Outlet2"]
TagArray of stringsrequired

Channel Tagging system.(ex: Tokopedia, Shopee)

Example: ["Tokopedia","Shopee"]
PaymentStatestring

Payment status / progress of the invoice

Enum"Paid""Partial""Unpaid"
Example: "Paid"
Fulfillmentstring

Delivery status / progres of the invoice

Enum"Sent""Unsent""Partial""Returned"
Example: "Sent"
Emailstringrequired

Email address of customer

Example: "johndoe@email.com"
Mobilestringrequired

Phone or mobile phone number of customer

Example: "08112345"
Statusstring

Filter Orders By their status (Active, Cancelled, Any.)

Default "Active"
Enum"Active""Cancelled""Any"
Example: "Active"
Notestring

Invoice Note

Example: "Invoice Note"
ReferenceNumberTypestring

Filter by invoice reference number. Null means no reference number, Not Null means has reference number, All means all invoices regardless of reference number.

Default "All"
Enum"HasValue""NoValue""All"
Example: "All"
curl -i -X GET \
  https://subdomain.dealpos.net/api/v3/Invoice/MultipleOutlet \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "PageNumber": 1,
    "PageSize": 20,
    "From": "2024-08-27",
    "To": "2024-08-28",
    "Outlet": [
      "Outlet1",
      "Outlet2"
    ],
    "Tag": [
      "Tokopedia",
      "Shopee"
    ],
    "PaymentState": "Paid",
    "Fulfillment": "Sent",
    "Email": "johndoe@email.com",
    "Mobile": "08112345",
    "Status": "Active",
    "Note": "Invoice Note",
    "ReferenceNumberType": "All"
  }'

Responses

Bodyapplication/jsonArray [
IDstring

Invoice ID

Outletstring

Outlet name

Numberstring

Number of Invoice No

Customerstring

customer name

Datestring

sell date

Duestring

invoice due date

Amountnumber

invoice transaction total amount

Paymentstring

delivery state of the invoice

Fulfillmentstring

delivery status of the sales invoice

Enum"Sent""Unsent""Partial"
Createdstring

sell date created by system

Tagstring

Channel Tagging system. (ex:Offline / Whatsapp / Shopee / Tokopedia) used in marketplace.dealpos.app. Backwards Compatibility with property request "SalesOrderType"

ReferenceNumberstring

Number related to this Order ex: logistic tracking number or PurchaseOrder number

]
Response
application/json
[ { "ID": "3c76f9b5-d1b8-4159-85a0-0630ac0caa47", "Outlet": "Outlet1", "Number": "20.08.00009", "Customer": "John", "Date": "2020-08-17T00:00:00", "Due": "0001-01-01T00:00:00", "Amount": 120000, "Payment": "Paid", "Fulfillment": "Sent", "Created": "2020-08-28T11:00:20.34", "Tag": "Tokopedia", "ReferenceNumber": "TKPD-001" }, { "ID": "3076b3af-1773-4bf9-9073-279be7b76327", "Outlet": "Outlet2", "Number": "20.09.00002", "Customer": "John", "Date": "2020-09-16T00:00:00", "Due": "0001-01-01T00:00:00", "Amount": 150000, "Payment": "Paid", "Fulfillment": "Sent", "Created": "2020-09-28T11:00:20.34", "Tag": "Shopee", "ReferenceNumber": "SHPD-002" } ]

List Invoice Multiple Outlet With Variant

Request

Get Invoice List by Multiple Outlet With Variant

Security
OAuth2_clientCredentials
Bodyapplication/json
One of:
PageNumbernumberrequired

The number of page data to be displayed

Example: 1
PageSizenumberrequired

The size of one page. Max=500

Example: 20
OutletArray of strings

Outlet name. When Outlet is not specified, it will return all outlet that the user has access to.

Example: ["Outlet1","Outlet2"]
TagArray of stringsrequired

Channel Tagging system.(ex: Tokopedia, Shopee)

Example: ["Tokopedia","Shopee"]
PaymentStatestring

Payment status / progress of the invoice

Enum"Paid""Partial""Unpaid"
Example: "Paid"
Fulfillmentstring

Delivery status / progres of the invoice

Enum"Sent""Unsent"
Example: "Sent"
Emailstringrequired

Email address of customer

Example: "johndoe@email.com"
Mobilestringrequired

Phone or mobile phone number of customer

Example: "08112345"
Statusstring

Filter Orders By their status (Active, Cancelled, Any.)

Default "Active"
Enum"Active""Cancelled""Any"
Example: "Active"
Notestring

Invoice Note

Example: "Invoice Note"
ReferenceNumberTypestring

Filter by invoice reference number. Null means no reference number, Not Null means has reference number, All means all invoices regardless of reference number.

Default "All"
Enum"HasValue""NoValue""All"
Example: "All"
curl -i -X GET \
  https://subdomain.dealpos.net/api/v3/Invoice/MultipleOutlet/WithVariant \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "PageNumber": 1,
    "PageSize": 20,
    "Outlet": [
      "Outlet1",
      "Outlet2"
    ],
    "Tag": [
      "Tokopedia",
      "Shopee"
    ],
    "PaymentState": "Paid",
    "Fulfillment": "Sent",
    "Email": "johndoe@email.com",
    "Mobile": "08112345",
    "Status": "Active",
    "Note": "Invoice Note",
    "ReferenceNumberType": "All"
  }'

Responses

Bodyapplication/jsonArray [
IDstring

Invoice ID

Outletstring

Outlet name

Numberstring

Number of Invoice No

Customerstring

customer name

Datestring

sell date

Duestring

invoice due date

Amountnumber

invoice transaction total amount

Paymentstring

delivery state of the invoice

Fulfillmentstring

delivery status of the sales invoice

Enum"Sent""Unsent""Partial""Returned"
Createdstring

sell date created by system

Tagstring

Channel Tagging system. (ex:Offline / Whatsapp / Shopee / Tokopedia) used in marketplace.dealpos.app. Backwards Compatibility with property request "SalesOrderType"

VariantsArray of objects
LogisticServiceArray of objects
ReferenceNumberstring

Number related to this Order ex: logistic tracking number or PurchaseOrder number

]
Response
application/json
[ { "ID": "3c76f9b5-d1b8-4159-85a0-0630ac0caa47", "Outlet": "Outlet1", "Number": "20.08.00009", "Customer": "John", "Date": "2020-08-17T00:00:00", "Due": "0001-01-01T00:00:00", "Amount": 120000, "Payment": "Paid", "Fulfillment": "Sent", "Created": "2020-08-28T11:00:20.34", "Tag": "Tokopedia", "Variants": [ … ], "LogisticService": [ … ], "ReferenceNumber": "TRK123456789" }, { "ID": "3076b3af-1773-4bf9-9073-279be7b76327", "Outlet": "Outlet2", "Number": "20.09.00002", "Customer": "John", "Date": "2020-09-16T00:00:00", "Due": "0001-01-01T00:00:00", "Amount": 150000, "Payment": "Paid", "Fulfillment": "Sent", "Created": "2020-09-28T11:00:20.34", "Tag": "Shopee", "Variants": [ … ], "LogisticService": [ … ], "ReferenceNumber": "TRK987654321" } ]

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

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

Barcode

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