Loyalty

Number of APIs: 12

  1. List loyalty programs GET {{baseUrl}}/v1/loyalty_programs

  2. Import loyalty points POST {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/import_points

  3. Get customer's full loyalty ledger GET {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/profile/:integrationId

  4. Add points to customer profile PUT {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/profile/:integrationId/add_points

  5. Deduct points from customer profile PUT {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/profile/:integrationId/deduct_points

  6. Export customer's transaction logs GET {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/profile/:integrationId/export_log?rangeStart=2022-11-08T00:11:22.082Z&rangeEnd=2022-11-08T00:11:22.082Z&dateFormat=excel

  7. Export customers' tier data GET {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/export_customers_tiers?subledgerIds=[10,20]&tierNames=[Silver,Gold]

  8. Export customer loyalty balances GET {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/export_customer_balances?endDate=2022-11-08T00:11:22.082Z

  9. List loyalty program transactions GET {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/transactions?loyaltyTransactionType=manual&subledgerId=value&startDate=2022-11-08T00:11:22.082Z&endDate=2022-11-08T00:11:22.082Z&pageSize=50&skip=10

  10. Import customers into loyalty tiers POST {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/import_customers_tiers