Operations related to authentication tokens
- Get OutboundLogistic By Order Number
DealPOS API (3.1.0)
Request
Previous Endpoint: https://brand.dealpos.net/api/v3/CustomerDelivery. As for now, both the new & the old ones can be use.
Also available as HTTP POST (endpoint: /api/v3/CustomerDelivery/p)
Get list of Customer Delivery
Required Group Role: "Logistic" - "VIEW"
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutboundLogistic
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/OutboundLogistic \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"From": "2020-04-01",
"To": "2020-04-30",
"PageNumber": 1,
"PageSize": 20,
"Outlet": "Outlet1"
}'[ { "Outlet": "Outlet1", "Number": "20.04.00082", "OrderOutlet": "Outlet1", "OrderNumber": "JX20.04.00082", "Customer": "Ferdi", "Date": "2020-04-17T00:00:00", "Delivery": "Sent", "Time": "2020-04-17T15:01:00" }, { "Outlet": "Outlet1", "Number": "20.04.00081", "OrderOutlet": "Outlet1", "OrderNumber": "JX20.04.00081", "Customer": "Ferdi", "Date": "2020-04-17T00:00:00", "Delivery": "Sent", "Time": "2020-04-17T14:30:00" } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutboundLogistic
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/OutboundLogistic \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "21.12.00123"
}'{ "Message": "Customer Delivery 925a9ce8-96a0-4c38-92d5-f8b5a9599bc2 has been deleted!" }
Name of the outlet that the Outbound Logistic is being sent from
Number for the Outbound Logistic, such as a tracking number
When true we will first check whether PickList is created for the Order.It will then use the Outlet that is specified in the PickList not the Outlet that is specified in the json payload
When multiple picklist detected and MultipleEnabled set to false, OutboundLogistic is not processed
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutboundLogistic/New
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/OutboundLogistic/New \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "JX5015988509",
"Date": "2024-06-20",
"OrderOutlet": "Outlet1",
"OrderNumber": "578768195128690624",
"DispatchFromPickListOutlet": false,
"MultipleEnabledFromPickListOutlet": true,
"Variants": [
{
"Code": "2012",
"Quantity": 6
}
]
}'{ "ID": "712098c6-0703-4e36-9679-c14dbeb4e3fe" }
Request
Previous Endpoint: https://brand.dealpos.net/api/v3/CustomerDelivery/Number. As for now, both the new & the old ones can be use.
Also available as HTTP POST with the same endpoint
Get Customer Delivery By Number
Required Group Role: "Logistic" - "VIEW"
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutboundLogistic/Number
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/OutboundLogistic/Number \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "20.04.00018"
}'{ "Outlet": "Outlet1", "Number": "20.04.00018", "Date": "2020-04-29T00:00:00", "Customer": {}, "CreatorID": "ff7848c9-21f1-4c05-ac9e-1e71d829cc9c", "Created": "2020-04-29T12:02:26.903", "Variants": [ { … } ] }
Request
Also available as HTTP POST with the same endpoint
Get Customer Delivery By Order / Invoice Number
Required Group Role: "Logistic" - "VIEW"
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutboundLogistic/byOrderNumber
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/OutboundLogistic/byOrderNumber \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "20.04.00018"
}'[ { "Outlet": "Outlet1", "Number": "1-OLT1/22/07/0021", "Date": "2022-07-06T00:00:00", "Created": "2022-07-06T09:37:53.937" }, { "Outlet": "Outlet1", "Number": "1-OLT1/22/07/0021_2", "Date": "2022-07-06T00:00:00", "Created": "2022-07-06T09:38:05.857" } ]
Request
Previous Endpoint: https://brand.dealpos.net/api/v3/CustomerDelivery/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 Customer Delivery with Total Count
Required Group Role: "Logistic" - "VIEW"
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutboundLogistic/WithTotalCount
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/OutboundLogistic/WithTotalCount \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"From": "2020-04-01",
"To": "2020-04-30",
"PageNumber": 1,
"PageSize": 10,
"Outlet": "Outlet1"
}'{ "Data": [ { … }, { … } ], "TotalCount": 100 }