Operations related to authentication tokens
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/InboundLogistic \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"From": "2024-02-01",
"To": "2024-02-28",
"PageNumber": 1,
"PageSize": 20,
"Outlet": "Outlet1"
}'
[ { "Outlet": "Outlet1", "Number": "20.04.00082", "Supplier": "Stephen", "PONumber": "20.04.00082", "Date": "2024-02-20T15:01:00" }, { "Outlet": "Outlet1", "Number": "20.04.00081", "Supplier": "Stephen", "PONumber": "20.04.00081", "Date": "2024-02-18T14:30:00" } ]
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/InboundLogistic \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "21.05.00007",
"FulfillmentOutlet": "Outlet1"
}'
{ "ID": "712098c6-0703-4e36-9679-c14dbeb4e3fe", "OrderFulfillmentState": "Received" }
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/InboundLogistic \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "21.12.00123"
}'
{ "Message": "Inbound Logistic number 21.12.00123 has been deleted!" }
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/InboundLogistic/Number \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "24.02.00018"
}'
{ "Outlet": "Outlet1", "Number": "24.04.00018", "Date": "2024-04-29T00:00:00", "Supplier": {}, "CreatorID": "ff7848c9-21f1-4c05-ac9e-1e71d829cc9c", "Created": "2024-04-29T12:02:26.903", "Variants": [ { … } ] }
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/InboundLogistic/byOrderNumber \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "24.02.00012"
}'
[ { "Outlet": "Outlet3", "Number": "SB.TNG.24.01.0012", "Date": "2024-01-21T00:00:00", "Created": "2024-01-21T09:37:53.937" }, { "Outlet": "Outlet2", "Number": "SB.TNG.24.01.0012_2", "Date": "2024-01-21T00:00:00", "Created": "2024-01-21T09:38:05.857" } ]
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/InboundLogistic/WithTotalCount \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"From": "2024-01-17",
"To": "2024-01-30",
"PageNumber": 1,
"PageSize": 20,
"Outlet": "Outlet1"
}'
{ "Data": [ { … }, { … } ], "TotalCount": 100 }