Operations related to authentication tokens
Also available as HTTP POST with the same endpoint
Required Group Role: "Inventory" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Inventory \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Category": "Top",
"QuantityFrom": 1,
"Discontinued": false,
"Tags": "Summer",
"PageNumber": 1,
"PageSize": 500
}'
[ { "Category": "Top/Men", "Product": "Captain America T-Shirt", "Variant": "Captain America T-Shirt (Large)", "Code": "1003L", "Inventory": 10, "I": { … } }, { "Category": "Top/Men", "Product": "Captain America T-Shirt", "Variant": "Captain America T-Shirt (Medium)", "Code": "1003M", "Inventory": 5, "I": { … } }, { "Category": "Top/Men", "Product": "Denim Shirt", "Variant": "Denim Shirt (L)", "Code": "1342L", "Inventory": 50, "I": { … } }, { "Category": "Top/Men", "Product": "Denim Shirt", "Variant": "Denim Shirt (M)", "Code": "1342M", "Inventory": 10, "I": { … } }, { "Category": "Top/Men", "Product": "Jacket", "Variant": "Jacket (L)", "Code": "1021L", "Inventory": 11, "I": { … } }, { "Category": "Top/Men", "Product": "Jacket", "Variant": "Jacket (M)", "Code": "1021M", "Inventory": 18, "I": { … } }, { "Category": "Top/Men", "Product": "Jacket", "Variant": "Jacket (S)", "Code": "1021S", "Inventory": 20, "I": { … } } ]
Also available as HTTP POST with the same endpoint
Required Group Role: "Inventory" - "VIEW"
curl -i -X GET \
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": { … } } ]
Also available as HTTP POST with the same endpoint
Required Group Role: "Inventory" - "VIEW"
curl -i -X GET \
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 } ]
Also available as HTTP POST with the same endpoint
Required Group Role: "Inventory" - "VIEW"
curl -i -X GET \
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": [ … ] } ]
Also available as HTTP POST with the same endpoint
Required Group Role: "Inventory" - "VIEW"
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)
curl -i -X GET \
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": [ … ] } ]
Also available as HTTP POST with the same endpoint
Required Group Role: "Inventory" - "VIEW"
curl -i -X GET \
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": { … } } ]
Also available as HTTP POST with the same endpoint
Required Group Role: "Inventory" - "VIEW"
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Inventory/WithTotalCount \
-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
curl -i -X GET \
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 } ]