Operations related to authentication tokens
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
Bodyapplication/json
One of:
Delivery Status of Transfer Order
- If "State" is filled, the value gets from API push
- When "State" is empty, the value will be following config Transfer Order Workflow
Enum"Approved""Dispatched""Received"
Example: [{"Code":"2012","Quantity":"6","Price":150000,"Note":"Cotton Combet 30's"},{"Code":"2012","Quantity":"6","Price":150000,"Note":"Cotton Combet 30's"}]
- Production Serverhttps://subdomain.dealpos.net/api/v3/TransferOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/TransferOrder \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Destination": "Outlet2",
"Date": "10/10/2018",
"Number": "18.07.02.0000002",
"Courier": "JNE",
"Note": "Yes Kirim",
"Variants": [
{
"Code": "2012",
"Quantity": "6",
"Price": 150000,
"Note": "Cotton Combet 30'\''s"
},
{
"Code": "2012",
"Quantity": "6",
"Price": 150000,
"Note": "Cotton Combet 30'\''s"
}
]
}'Response
application/json
{ "ID": "0b151d3f-e7ab-44dd-a63a-dbc4019d5cad" }
Bodyapplication/json
One of:
Example: [{"Code":"2012","Quantity":"6","Price":150000,"Note":"Cotton Combet 30's"},{"Code":"2012","Quantity":"6","Price":150000,"Note":"Cotton Combet 30's"}]
- Production Serverhttps://subdomain.dealpos.net/api/v3/TransferOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/TransferOrder \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Destination": "Outlet2",
"Date": "10/10/2018",
"Number": "18.07.02.0000002",
"Courier": "JNE",
"Note": "Yes Kirim",
"Variants": [
{
"Code": "2012",
"Quantity": "6",
"Price": 150000,
"Note": "Cotton Combet 30'\''s"
},
{
"Code": "2012",
"Quantity": "6",
"Price": 150000,
"Note": "Cotton Combet 30'\''s"
}
]
}'Response
application/json
{ "ID": "0b151d3f-e7ab-44dd-a63a-dbc4019d5cad" }
Request
Previous Endpoint: /api/v3/OutletDelivery. As for now, both the new & the old ones can be use.
Also available as HTTP POST (endpoint: /api/v3/OutletDelivery/p)
Get List of Outlet Delivery
Required Group Role: "Logistic" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/TransferOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/TransferOrder?From=2019-01-01&To=2019-01-30&PageNumber=1&PageSize=20&Status=Request+%2F+Approved+%2F+Dispatched+%2F+Received' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "Number": "19.01.18.000000002", "Date": "2019-01-18T00:00:00", "Courier": "JsonSerializerOptions", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-18T15:14:48.64", "Quantity": 2 }, { "Number": "19.01.18.000000001", "Date": "2019-01-18T00:00:00", "Courier": "JsonSerializerOptions", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Dispatched", "Created": "2019-01-18T15:13:27.377", "Quantity": 2 }, { "Number": "19.01.17.000000005", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-17T16:48:30.813", "Quantity": 8 }, { "Number": "19.01.17.000000004", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Dispatched", "Created": "2019-01-17T16:47:09.893", "Quantity": 5 }, { "Number": "19.01.17.000000003", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-17T13:59:16.77", "Quantity": 1 }, { "Number": "19.01.17.000000001", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-17T10:08:34.61", "Quantity": 1 }, { "Number": "19.01.17.000000002", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 2", "OutletCode": "OT2", "Destination": "Outlet 3", "DestinationCode": "OT3", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-17T15:57:50.71", "Quantity": 7 }, { "Number": "19.01.17.000000001", "Date": "2019-01-17T00:00:00", "Courier": "JNI", "Outlet": "Outlet 2", "OutletCode": "OT2", "Destination": "Outlet 3", "DestinationCode": "OT3", "TypeName": "Restock", "Status": "Dispatched", "Created": "2019-01-17T15:49:20.533", "Quantity": 7 }, { "Number": "19.01.15.000000004", "Date": "2019-01-15T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-15T11:15:57.027", "Quantity": 3 }, { "Number": "19.01.15.000000003", "Date": "2019-01-15T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-15T11:14:21.953", "Quantity": 7 }, { "Number": "19.01.15.000000002", "Date": "2019-01-15T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-15T11:07:44.59", "Quantity": 3 }, { "Number": "19.01.15.000000001", "Date": "2019-01-15T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-15T10:43:41.89", "Quantity": 2 }, { "Number": "19.01.14.000000001", "Date": "2019-01-14T00:00:00", "Courier": "JNI", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "TypeName": "Restock", "Status": "Received", "Created": "2019-01-14T16:08:48.027", "Quantity": 10 } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/TransferOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/TransferOrder \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"OutletSource": "Outlet1",
"Number": "18.07.02.0000002"
}'Response
application/json
"Number 18.07.02.0000002 from source Test2 succesfully deleted."
- Production Serverhttps://subdomain.dealpos.net/api/v3/TransferOrder/Void
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/TransferOrder/Void \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"OutletSource": "Outlet1",
"OutletDestination": "Outlet2",
"Number": "TO.0001"
}'Response
application/json
{ "ID": "0b151d3f-e7ab-44dd-a63a-dbc4019d5cad", "Message": "Transfer Order TO.0001 has been voided" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/TransferOrder/Workflow
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/TransferOrder/Workflow \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "Workflow": 1 }
Request
Previous Endpoint: /api/v3/OutletDelivery/Detail. As for now, both the new & the old ones can be use.
Also available as HTTP POST with the same endpoint
Get Outlet Delivery detail
Required Group Role: "Logistic" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/TransferOrder/Detail
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/TransferOrder/Detail?Number=18.07.02.0000002&Outlet=Outlet1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'ParentComponent: true'Response
application/json
{ "Number": "19.01.18.000000002", "Date": "2019-01-18T00:00:00", "Outlet": "Outlet 1", "OutletCode": "OT1", "Destination": "Outlet 2", "DestinationCode": "OT2", "Courier": "JNE", "TypeName": "Restock", "StateLabel": "Received", "CreatedName": "Sys DealPOS", "Note": "Paid", "CountMethod": "barcode", "Variants": [ { … } ], "ReceivedNote": "Good quality", "ReceivedDate": "2019-01-24T15:04:29.01", "Created": "2019-01-18T00:00:00", "CreatedID": "Sys DealPOS" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/TransferOrder/UpdateStatus
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/TransferOrder/UpdateStatus \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "DO.0001",
"State": "Dispatched",
"Note": "In Delivery",
"CountMethod": "barcode"
}'Response
application/json
{ "Message": "Outlet Delivery status has been updated" }
Request
Previous Endpoint: /api/v3/OutletDelivery/WithTotalCount. As for now, both the new & the old ones can be use.
Also available as HTTP POST with the same endpoint
Get list of Outlet Delivery with Total Count
Required Group Role: "Logistic" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/TransferOrder/WithTotalCount
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/TransferOrder/WithTotalCount?PageNumber=1&PageSize=20&From=2019-01-01&To=2019-01-30' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "Data": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ], "TotalCount": 100 }