Redeeming programs
Redeeming program get, list and redeem using custome balance.
The list of redeeming program
Header parameters
X-Joy-Loyalty-App-KeystringOptionalExample:
App ID of your shop which retrieved from the Settings page
{{appKey}}X-Joy-Loyalty-Secret-KeystringOptionalExample:
Secret Key of your shop which retrieved from the Settings page
{{secretKey}}Responses
200
OK
application/json
get
/rest_api/v1/spending200
OK
Get a specific redeeming program by its ID.
Path parameters
spendingProgramIdstringRequired
Header parameters
X-Joy-Loyalty-App-KeystringOptionalExample:
{{appKey}}X-Joy-Loyalty-Secret-KeystringOptionalExample:
{{secretKey}}Responses
200
OK
application/json
get
/rest_api/v1/spending/{spendingProgramId}200
OK
Redeem customer loyalty points for discounts or rewards.
Header parameters
X-Joy-Loyalty-App-KeystringOptionalExample:
App ID of your shop which is retrieved from the Settings page
{{appKey}}X-Joy-Loyalty-Secret-KeystringOptionalExample:
Secret Key of your shop which is retrieved from the Settings page
{{secretKey}}Body
customerIdstringOptional
The unique ID of the customer
programIdstringOptional
The ID of the loyalty program
localestringOptional
The locale of the customer
redeemPointnumberOptional
Number of points the customer wants to redeem
shopifyCustomerIdnumberOptional
The Shopify customer ID
sourcestringOptional
The source of the redemption request
Responses
200
OK
application/json
post
/rest_api/v1/redeem200
OK
Last updated