Operations related to authentication tokens
- Get Inventory By Code
DealPOS API (3.1.0)
Guid outlet ID array. if not send the request, it will get from OutletName list
List of outlet name array. if not send the request, it will get from OutletID list
The minimum quantity of the product that users want to view
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Inventory?PageNumber=1&PageSize=500&ListOutletID=3558dc76-3e32-49c4-84dd-0b3f76f02570%2Ca5f5b2e1-2d3c-4e8f-9f4d-1c2b3a4d5e6f&ListOutlet=Outlet1%2COutlet2&Category=Top&QuantityFrom=1&Discontinued=true&Tags=Summer' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'[ { "Category": "Top/Men", "Product": "Captain America T-Shirt", "Variant": "Captain America T-Shirt (Large)", "Code": "1003L", "I": { … } }, { "Category": "Top/Men", "Product": "Captain America T-Shirt", "Variant": "Captain America T-Shirt (Medium)", "Code": "1003M", "I": { … } }, { "Category": "Top/Men", "Product": "Denim Shirt", "Variant": "Denim Shirt (L)", "Code": "1342L", "I": { … } }, { "Category": "Top/Men", "Product": "Denim Shirt", "Variant": "Denim Shirt (M)", "Code": "1342M", "I": { … } }, { "Category": "Top/Men", "Product": "Jacket", "Variant": "Jacket (L)", "Code": "1021L", "I": { … } }, { "Category": "Top/Men", "Product": "Jacket", "Variant": "Jacket (M)", "Code": "1021M", "I": { … } }, { "Category": "Top/Men", "Product": "Jacket", "Variant": "Jacket (S)", "Code": "1021S", "I": { … } } ]
Inventory count request body
Guid outlet ID array. if not send the request, it will get from OutletName list
List of outlet name array. if not send the request, it will get from OutletID list
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/Count
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Inventory/Count \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ListOutletID": [
"3558dc76-3e32-49c4-84dd-0b3f76f02570",
"a5f5b2e1-2d3c-4e8f-9f4d-1c2b3a4d5e6f"
],
"ListOutlet": [
"Outlet1",
"Outlet2"
],
"Category": "Top",
"QuantityFrom": 1,
"Discontinued": false,
"Tags": "Summer"
}'{ "Count": 1500 }
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/Code
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Inventory/Code \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": [
"Outlet1",
"Outlet2",
"Outlet3"
],
"Code": "2001"
}'[ { "Outlet": "Outlet1", "Inventory": 140, "I": { … } }, { "Outlet": "Outlet2", "Inventory": 10, "I": { … } } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/Modified
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Inventory/Modified?PageNumber=1&PageSize=20&Since=2025-01-08T07%3A01%3A21&Outlet=PIK&Code=001' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'[ { "Outlet": "PIK", "Code": "001", "Allocated": 5, "OnHand": 35, "Modified": "2025-01-08T07:01:21" }, { "Outlet": "PIK", "Code": "002", "Allocated": 5, "OnHand": 35, "Modified": "2025-01-08T07:01:21" } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/Modified/Count
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Inventory/Modified/Count?PageNumber=1&PageSize=20&Since=2025-01-08T07%3A01%3A21' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "Count": 800 }
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/CodeArray
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Inventory/CodeArray \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": [
"Jakarta",
"Surabaya"
],
"Code": [
"907",
"908",
"909"
]
}'[ { "Code": "907", "Inventory": 140 }, { "Code": "908", "Inventory": 20 }, { "Code": "909", "Inventory": 7 } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/CodeArrayGroupByOutlet
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Inventory/CodeArrayGroupByOutlet \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": [
"Jakarta",
"Surabaya"
],
"Code": [
"907",
"908"
]
}'[ { "Code": "907", "Inventories": [ … ] }, { "Code": "908", "Inventories": [ … ] } ]
Variants ID. Max=50
Outlets Name. (if empty it will be show inventory of all outlet)
Only effect product type Composite (if true OnHand will be show, if false OnHand always 0)
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/ListID
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Inventory/ListID \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ListOutlet": [
"Outlet1",
"Outlet2"
],
"ListID": [
"69b2a2cd-406a-44ac-b1e2-8df079f50304",
"d94579c0-eeb5-4b03-893e-d24cc624786c"
],
"CalculateCompositeInventory": true,
"IncludeParentInventory": true,
"IncludeChildrenInventory": true
}'[ { "ID": "9c82ec2f-2646-4327-8ec7-640fa01522c4", "Code": "sausage", "I": { … }, "Parent": [ … ] } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/ListCode
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Inventory/ListCode \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ListOutlet": [
"Outlet1",
"Outlet2"
],
"ListCode": [
"T001",
"T002"
]
}'[ { "ID": "9c82ec2f-2646-4327-8ec7-640fa01522c4", "Code": "T001", "I": { … } }, { "ID": "9c82ec2f-2646-4327-8ec7-640fa01522c4", "Code": "T002", "I": { … } } ]
The minimum quantity of the product that users want to view
Name of the outlet that have the stock. if Outlet provided, OutletID will be ignored
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/WithTotalCount
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Inventory/WithTotalCount?PageNumber=1&PageSize=500&Category=Top&QuantityFrom=1&Discontinued=true&Outlet=Outlet1&OutletID=0d46700d-35a3-4fb5-9b3a-644c370b5af1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Category": "Top",
"QuantityFrom": 1,
"Discontinued": false,
"PageNumber": 1,
"PageSize": 500
}'{ "Data": [ { … }, { … }, { … }, { … }, { … }, { … }, { … } ], "TotalCount": 100 }
List Outlet Destination Name. If send with empty value will be show data from all outlet
- Production Serverhttps://subdomain.dealpos.net/api/v3/Inventory/InTransit
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Inventory/InTransit \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ListOutlet": [
"Outlet1",
"Outlet2"
],
"Category": "Top"
}'[ { "Name": "Shirt (L)", "Code": "S001", "Category": "Top/Men", "Transit": 3 }, { "Name": "Shirt (M)", "Code": "S002", "Category": "Top/Men", "Transit": 4 } ]