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
200
OK
application/json
post
/rest_api/v1/shopify/earn-point200
OK
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
200
OK
application/json
post
/rest_api/v1/shopify/spend-point200
OK
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
200
OK
application/json
post
/rest_api/v1/shopify/reset-point200
OK
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
200
OK
application/json
post
/rest_api/v1/shopify/adjust-point200
OK
Last updated