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/
- Production Serverhttps://subdomain.dealpos.net/api/v3/WriteOff/Option
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/WriteOff/Option \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "Name": "Write Off" }, { "Name": "Bad Debt" } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/WriteOff/Option
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/WriteOff/Option \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Name": "Bad Debt"
}'Response
application/json
{ "Message": "Bad Debt added successfully" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/WriteOff/Option
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/WriteOff/Option \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Name": "Bad Debt"
}'Response
application/json
{ "Message": "Bad Debt deleted successfully" }