Point manupulation
Manually manupulate customer points balance via API
Earn point via Rest API
This api allows you to increase point for a specific shopify customer via Rest API
Header parameters
X-Joy-Loyalty-App-KeystringoptionalExample:
{{appKey}}
X-Joy-Loyalty-Secret-KeystringoptionalExample:
{{secretKey}}
Body
objectoptionalExample:
{"shopifyCustomerId":7278822981918,"point":10000,"adminNote":"Note that is only visible in admin side","userNote":"Note that is visible in both admin and customer side"}
Responses
application/json
cURL
JavaScript
Python
HTTP
200
Success example
Fail example
Spend point via Rest API
This api allows you to decrease point for a specific shopify customer via Rest API
Header parameters
X-Joy-Loyalty-App-KeystringoptionalExample:
{{appKey}}
X-Joy-Loyalty-Secret-KeystringoptionalExample:
{{secretKey}}
Body
objectoptionalExample:
{"shopifyCustomerId":7278822981918,"point":10000,"adminNote":"Note that is only visible in admin side","userNote":"Note that is visible in both admin and customer side"}
Responses
application/json
cURL
JavaScript
Python
HTTP
200
Success example
Fail example
Adjust point via Rest API
This api allows you to reset point for a specific shopify customer via Rest API
Header parameters
X-Joy-Loyalty-App-KeystringoptionalExample:
{{appKey}}
X-Joy-Loyalty-Secret-KeystringoptionalExample:
{{secretKey}}
Body
objectoptionalExample:
{"shopifyCustomerId":7278822981918,"point":10000,"adminNote":"Note that is only visible in admin side","userNote":"Note that is visible in both admin and customer side"}
Responses
application/json
cURL
JavaScript
Python
HTTP
200
Success example
Fail example
Adjust point via Rest API
This api allows you to adjust (increase or decrease) point for a specific shopify customer via Rest API
Header parameters
X-Joy-Loyalty-App-KeystringoptionalExample:
{{appKey}}
X-Joy-Loyalty-Secret-KeystringoptionalExample:
{{secretKey}}
Body
objectoptionalExample:
{"shopifyCustomerId":7278822981918,"point":10000,"adminNote":"Note that is only visible in admin side","userNote":"Note that is visible in both admin and customer side"}
Responses
application/json
cURL
JavaScript
Python
HTTP
200
Success example
Fail example
Last updated