For the complete documentation index, see llms.txt. This page is also available as Markdown.

Point manupulation

Manually manupulate customer points balance via API

Earn point via Rest API

post

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
Responseobject
post/rest_api/v1/shopify/earn-point
200

OK

Spend point via Rest API

post

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
Responseobject
post/rest_api/v1/shopify/spend-point
200

OK

Reset point via Rest API

post

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
Responseobject
post/rest_api/v1/shopify/reset-point
200

OK

Adjust point via Rest API

post

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
Responseobject
post/rest_api/v1/shopify/adjust-point
200

OK

Last updated