Open API Specificaitons for SunLync API V2
- Generate webdoc URL
Get client details
Get ledger balances
Get communication preferences
Get client memberships
Get client packages
Get points balance
Get client points transactions
Get billing info
Search clients
Get client transaction history
Get affilicated package clients
Insert client
Update client demographics
Update billing info
Insert client comment
Insert client membership
Insert gift certificate
Freeze membership
Unfreeze membership
Activate membership
Upgrade membership
Downgrade membership
Post account ledger payment
Insert points
Update client communication preferences
Insert payment
Insert transaction
Shares an affiliated package
Unshares an affiliated package
Cancel membership
Insert spa profile answers
Add a referral
Generate webdoc URL
SunLync API (V2) API Definition (0.0.1)
Download OpenAPI description
Overview
API Support
License
Languages
Servers
Sandbox server
https://sandbox.sunlync.net:9000/
- Sandbox serverhttps://sandbox.sunlync.net:9000/slapi/clients/addreferral
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://sandbox.sunlync.net:9000/slapi/clients/addreferral \
-H 'Content-Type: application/json' \
-d '{
"clientNumber": "0000000001",
"email": "johndoe@testemail.com",
"allowMultiple": 1
}'Response
applicaiton/json
{ "message": "" }
- Sandbox serverhttps://sandbox.sunlync.net:9000/slapi/clients/generatewebdocument
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://sandbox.sunlync.net:9000/slapi/clients/generatewebdocument \
-H 'Content-Type: application/json' \
-d '{
"clientNumber": "0000000001",
"storecode": "0000000001",
"docType": "Customer",
"webDocId": 1,
"membershipId": "0000000001"
}'Response
applicaiton/json
{ "message": "", "url": "http://127.0.0.1:5002/show_web_doc/eftdoc.html/0/18/0000000070/?sig=67a4024c95b90d869f110ac2bbc6de34" }