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/
Request
Also available as HTTP POST (endpoint: /api/v3/OutletPrice/p)
Get Outlet Price By Variant Code
Required Group Role: "Products" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutletPrice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/OutletPrice?Code=2005' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "Code": "2005", "Outlets": [ { … } ] }
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutletPrice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://subdomain.dealpos.net/api/v3/OutletPrice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Code": "2005",
"Outlets": [
{
"Outlet": "Outlet1",
"ExtraCost": 100000,
"UnitPrice": 112000
},
{
"Outlet": "Outlet2",
"ExtraCost": 100000,
"UnitPrice": 112000
}
]
}'Response
application/json
{ "ID": "3b3201cd-81b9-46f8-80f6-8c905af70025" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutletPrice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/OutletPrice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Code": "2005",
"Outlets": [
{
"Outlet": "Outlet1",
"ExtraCost": 100000,
"UnitPrice": 112000
},
{
"Outlet": "Outlet2",
"ExtraCost": 100000,
"UnitPrice": 112000
}
]
}'Response
application/json
{ "ID": "3b3201cd-81b9-46f8-80f6-8c905af70025" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/OutletPrice
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/OutletPrice \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Code": "2005",
"Outlets": [
{
"Outlet": "Outlet1",
"Cost": 100000,
"Price": 112000
},
{
"Outlet": "Outlet2",
"Cost": 100000,
"Price": 112000
}
]
}'Response
application/json
{ "ID": "b3201cd-81b9-46f8-80f6-8c905af70025" }