Operations related to authentication tokens
/
Update Sales Order Refere...
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
Request
Also available as HTTP POST with the same endpoint
Get a customer based on customer email
Required Group Role: "Contacts" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer/Email
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Customer/Email \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Email": "tafta@dealpos.com"
}'Response
application/json
{ "Name": "Tafta tata", "Email": "Tafta@dealpos.com", "FirstName": "Tafta", "LastName": "tata", "Gender": true, "Code": "HW008", "Phone": "021-66698155", "Mobile": "081588818888", "Address": "Jl. Lenteng Agung", "ReferredBy": "449e35af-190d-4137-aa13-9cf2cf6af57a", "Group": "Gold", "ExpiredGroup": "31 Jul 2019", "SignUpOutlet": "Outlet1", "ImageURL": "//res.cloudinary.com/dealposdev/image/upload//Contact/ff63d5ad-b42b-4a84-a77f-eb40f0bd6dd8/0.jpg", "LoyaltyPoint": 88, "Status": "Active" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/Variant/GetIDByListCode
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Variant/GetIDByListCode \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '[
"1000",
"1001",
"1002"
]'Response
application/json
[ { "ID": "e156a0a9-1552-49d4-b597-d4ca09c3ed54", "ProductID": "418c0cde-1e5f-4c77-a9f4-312bc96939cb", "Code": "1000" }, { "ID": "d2dfbf1a-da61-48e4-9d4d-a921ebfcb8f5", "ProductID": "6126764d-57aa-425d-ade6-bc3a847da98a", "Code": "1001" }, { "ID": "1587b105-b8a9-404f-907a-f63326003558", "ProductID": "7d27dc9f-06f7-4765-bfd3-437903b020fa", "Code": "1002" } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Variant/GetIDByListCodeDiscontinued
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Variant/GetIDByListCodeDiscontinued \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ListCode": [
"1342L",
"1342M"
],
"Discontinued": "All"
}'Response
application/json
[ { "ID": "e156a0a9-1552-49d4-b597-d4ca09c3ed54", "ProductID": "418c0cde-1e5f-4c77-a9f4-312bc96939cb", "Code": "1342L", "Discontinued": false }, { "ID": "d2dfbf1a-da61-48e4-9d4d-a921ebfcb8f5", "ProductID": "6126764d-57aa-425d-ade6-bc3a847da98a", "Code": "1342M", "Discontinued": true } ]
Request
Also available as HTTP POST with the same endpoint
Get customer based on customer code
Required Group Role: "Contacts" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer/Code
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Customer/Code \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Code": "HW008"
}'Response
application/json
{ "ID": "5acffe34-346f-4888-afd8-0a551e556681", "Name": "Tafta tata", "Email": "Tafta@dealpos.com", "Title": "Mr.", "FirstName": "Tafta", "LastName": "tata", "Gender": "Male", "Code": "HW008", "Phone": "021-66698155", "MobilePhone": "081588818888", "Fax": "6325894", "Address": "Jl. Lenteng Agung", "City": "Jakarta", "Nationality": "Indonesian", "ReferredBy": "449e35af-190d-4137-aa13-9cf2cf6af57a", "Identification": "3173656111", "Birthday": "18 Mar 1994", "JoinDate": "22 Jul 2019", "Group": "Gold", "ExpiredGroup": "31 Jul 2019", "SignUpOutlet": "Outlet1", "ImageURL": "//res.cloudinary.com/dealposdev/image/upload//Contact/ff63d5ad-b42b-4a84-a77f-eb40f0bd6dd8/0.jpg", "LoyaltyPoint": 88, "Status": "Active" }
Request
Also available as HTTP POST with the same endpoint
Get a customer based on customer mobile phone number
Required Group Role: "Contacts" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer/MobilePhone
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Customer/MobilePhone \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"MobilePhone": "081588818888"
}'Response
application/json
{ "ID": "5acffe34-346f-4888-afd8-0a551e556681", "Name": "Tafta tata", "Email": "Tafta@dealpos.com", "Title": "Mr.", "FirstName": "Tafta", "LastName": "tata", "Gender": "Male", "Code": "HW008", "Phone": "021-66698155", "MobilePhone": "081588818888", "Fax": "6325894", "Address": "Jl. Lenteng Agung", "City": "Jakarta", "Nationality": "Indonesian", "ReferredBy": "449e35af-190d-4137-aa13-9cf2cf6af57a", "Identification": "3173656111", "Birthday": "18 Mar 1994", "JoinDate": "22 Jul 2019", "Group": "Gold", "ExpiredGroup": "31 Jul 2019", "SignUpOutlet": "Outlet1", "ImageURL": "//res.cloudinary.com/dealposdev/image/upload//Contact/ff63d5ad-b42b-4a84-a77f-eb40f0bd6dd8/0.jpg", "LoyaltyPoint": 88, "Status": "Active" }
Bodyapplication/json
Number related to this Order ex: logistic tracking_number or purchase_order number (If this property is null or empty, it will not update the Reference Number)
Example: "TKPD-001"
Code of the logistic service (if this property is null or empty, it will not update the Logistic Service Code)
Example: "JNE123"
- Production Serverhttps://subdomain.dealpos.net/api/v3/SalesOrder/ReferenceNumber
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/SalesOrder/ReferenceNumber \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Number": "20.06.00001",
"ReferenceNumber": "TKPD-001",
"LogisticServiceCode": "JNE123",
"Note": "This is a note for Sales Order"
}'Response
application/json
{ "Message": "reference number for sales order 20.06.00001 has been updated" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/Barcode/ByBillNumber
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Barcode/ByBillNumber \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Pluit",
"Number": "2023.09.00001"
}'Response
application/json
[ { "VariantID": "6f96d108-1af5-45de-a593-74719a0ee8e2", "Name": "Cardigan (L)", "Code": "1315L", "Quantity": 10, "UnitPrice": 280000 }, { "VariantID": "bb5fd4fc-e7fb-4e99-92f4-b3caac23c183", "Name": "Boots (36)", "Code": "200536", "Quantity": 15, "UnitPrice": 540000 }, { "VariantID": "f4adff17-6e0c-499d-af3f-db8c16e62375", "Name": "Cardigan (XL)", "Code": "1315XL", "Quantity": 20, "UnitPrice": 280000 } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Barcode/ByOutletDeliveryNumber
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Barcode/ByOutletDeliveryNumber \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Pluit",
"Number": "2023.09.00001"
}'Response
application/json
[ { "VariantID": "6f96d108-1af5-45de-a593-74719a0ee8e2", "Name": "Cardigan (L)", "Code": "1315L", "Quantity": 10, "UnitPrice": 280000 }, { "VariantID": "bb5fd4fc-e7fb-4e99-92f4-b3caac23c183", "Name": "Boots (36)", "Code": "200536", "Quantity": 15, "UnitPrice": 540000 } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Customer/PIN
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Customer/PIN?ID=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "PIN": "123654" }