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