- Insert client
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
Get eft billing amounts
Get eft unfreeze amounts
Get eft freeze amounts
Search clients
Search for client accross all markets
Get client transaction history
Get affilicated package clients
Get shared packages
Update client demographics
Update billing info
Insert client comment
Insert client membership
Insert client package
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
Insert client
Inserts a client and returns client number
- storecode is the storecode of the store location
- empNo is the employee number of the employee inserting the client
Security
BasicAuthCredentials
- Sandbox serverhttp://sandbox.sunlync.net:9000/slapi/clients/insert
curl -i -X POST \
-u '<username>:<password>' \
http://sandbox.sunlync.net:9000/slapi/clients/insert \
-H 'Content-Type: application/json' \
-d '{
"firstName": "John",
"lastName": "Doe",
"middleInit": "D",
"address1": "1 Main st",
"address2": "Suite 10",
"city": "Buffalo",
"state": "NY",
"zip": "14220",
"homePhone": "7165551234",
"workPhone": "7165555678",
"cellPhone": "7165550987",
"email": "test@test.com",
"dob": "1980-12-25",
"storecode": "0000000001",
"empNo": "0000000001",
"gender": "female",
"doNotSolicit": 0,
"emailCommPref": 1,
"cellVoiceCommPref": 1,
"cellTextCommPref": 1,
"homePhoneCommPref": 1,
"mailCommPref": 1,
"workPhoneCommPref": 1,
"skinType": "0000000001",
"howHear": "Online"
}'