Redeeming programs
Redeeming program get, list and redeem using custome balance.
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
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