Operations related to authentication tokens
- Get Promotion Event by Variant ID
List Promotion Event
Get Promotion Event by Variant Code
Get Promotion Event by Va...
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 List Promotion Event
Required Group Role: "Promotion" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/PromotionEvent
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/PromotionEvent?PageNumber=1&PageSize=10&Type=Amount&Status=Active' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "Name": "New Year Sale", "StartDate": "2022-12-25 00:00:00", "ExpirationDate": "2022-01-01 23:59:59", "Outlet": [ … ], "Type": "Amount", "MinimumQty": 1 } ]
Request
Also available as HTTP POST with the same endpoint
Get Promotion Event by Variant ID
Required Group Role: "Promotion" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/PromotionEvent/GetByVariantID
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/PromotionEvent/GetByVariantID?VariantID=6f96d108-1af5-45de-a593-74719a0ee8e2' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "Name": "DealPOS Book Fair 2022", "UnitPrice": 100000, "ExtraCost": 0, "Discount": 0, "StartDate": "2022-04-13T00:00:00", "ExpirationDate": "2022-04-21T00:00:00", "StartTime": "00:00:00", "ExpirationTime": "23:59:59", "PromotionID": "06777bca-ad15-4806-a625-009fce7bc54a" } ]
Request
Also available as HTTP POST with the same endpoint
Get Promotion Event by Variant ID
Required Group Role: "Promotion" - "VIEW"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/PromotionEvent/GetByVariantCode
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/PromotionEvent/GetByVariantCode?VariantCode=1315L' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "Name": "DealPOS Book Fair 2022", "UnitPrice": 100000, "ExtraCost": 0, "Discount": 0, "StartDate": "2022-04-13T00:00:00", "ExpirationDate": "2022-04-21T00:00:00", "StartTime": "00:00:00", "ExpirationTime": "23:59:59", "PromotionID": "06777bca-ad15-4806-a625-009fce7bc54a" } ]