Programs
Header parameters
X-Joy-Loyalty-App-KeystringRequiredExample:
App ID of your shop which retrieved from the Settings page
{{appKey}}X-Joy-Loyalty-Secret-KeystringRequiredExample:
Secret Key of your shop which retrieved from the Settings page
{{secretKey}}Responses
200
List of earning programs
application/json
403
Plan upgrade required
application/json
500
Internal server error
application/json
get
/rest_api/v2/programs/earningQuery parameters
shopifyCustomerIdstringOptional
Shopify customer ID
customerIdstringOptional
Internal customer ID
Responses
200
Programs for customer with earned status
application/json
404
Customer not found
application/json
get
/rest_api/v2/programs/earning/eligibilityQuery parameters
shopifyCustomerIdstringOptional
Shopify customer ID for program limitations
eventstring · enumOptionalPossible values:
Filter by program event type
Header parameters
X-Joy-Loyalty-App-KeystringRequiredExample:
App ID of your shop which retrieved from the Settings page
{{appKey}}X-Joy-Loyalty-Secret-KeystringRequiredExample:
Secret Key of your shop which retrieved from the Settings page
{{secretKey}}Responses
200
List of spending programs
application/json
get
/rest_api/v2/programs/redemption200
List of spending programs
Path parameters
programIdstringRequired
Program ID
Query parameters
shopifyCustomerIdstringOptional
Shopify customer ID for program limitations
Responses
200
Program details
application/json
404
Program not found
application/json
get
/rest_api/v2/programs/{programId}Last updated