LoyaltyLion

LoyaltyLion is an e-commerce loyalty and rewards platform for Shopify, BigCommerce, and custom storefronts, letting merchants run points, referrals, VIP tiers, and reward programs. Its v2 REST API (base https://api.loyaltylion.com/v2) is split into an Admin API for moving data in and out of LoyaltyLion - retrieving customers and transactions, tracking orders, and adjusting points - and a Headless API for building custom shopper-facing loyalty experiences in web, mobile, and POS apps. Requests authenticate with a Program API key passed as a Bearer token (with scoped access), or the deprecated token/secret pair over HTTP Basic auth. All endpoints share a 20 requests-per-second rate limit.

5 APIs 0 Features
LoyaltyRewardsE-commercePointsShopifyRetention

APIs

LoyaltyLion Customers API

List and update loyalty customers, read their points balances, tiers, and referral details, and pull the point transactions for an individual customer. Customers are matched by ...

LoyaltyLion Activities API

Record customer activities against built-in or custom loyalty rules - signups, clickthroughs, social actions, reviews, and more - to award points. Create, list, and update activ...

LoyaltyLion Points API

Manually add or remove points from a customer's balance with an optional shopper-visible reason, and list the immutable point transactions that record every addition or removal ...

LoyaltyLion Rewards API

List the rewards a given customer can currently claim - filtered by site and country - and enable or disable rewards in the program catalog to control which incentives shoppers ...

LoyaltyLion Redemptions API

Redeem a reward on behalf of a customer - spending their points to create a claimed reward - and refund a previously claimed reward to return the points, supporting multipliers,...

Collections

Pricing Plans

Rate Limits

Loyaltylion Rate Limits

2 limits

RATE LIMITS

FinOps

Resources

🔗
DomainSecurity
DomainSecurity
🔑
Authentication
Authentication
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: LoyaltyLion API
  version: '2.0'
request:
  auth:
    type: bearer
    token: '{{apiKey}}'
items:
- info:
    name: Customers
    type: folder
  items:
  - info:
      name: List customers.
      type: http
    http:
      method: GET
      url: https://api.loyaltylion.com/v2/customers
      params:
      - name: limit
        value: '100'
        type: query
        description: Maximum results per request (1-500).
      - name: email
        value: ''
        type: query
        description: Filter by email substring match.
      - name: cursor
        value: ''
        type: query
        description: Pagination cursor from a previous response.
    docs: Lists loyalty customers with cursor pagination. Requires the read_customers scope.
  - info:
      name: Update a customer.
      type: http
    http:
      method: PUT
      url: https://api.loyaltylion.com/v2/customers/:merchant_id
      params:
      - name: merchant_id
        value: ''
        type: path
        description: The ID of the customer in your platform.
      body:
        type: json
        data: "{\n  \"date_of_birth\": \"1990-01-01\"\n}"
    docs: Updates a loyalty customer. Verify the exact verb against the live reference.
  - info:
      name: List a customer's transactions.
      type: http
    http:
      method: GET
      url: https://api.loyaltylion.com/v2/customers/:merchant_id/transactions
      params:
      - name: merchant_id
        value: ''
        type: path
        description: The ID of the customer in your platform.
    docs: Lists the immutable point transactions for a single customer.
- info:
    name: Activities
    type: folder
  items:
  - info:
      name: Create an activity.
      type: http
    http:
      method: POST
      url: https://api.loyaltylion.com/v2/activities
      body:
        type: json
        data: "{\n  \"name\": \"signup\",\n  \"customer_id\": \"12345\",\n  \"customer_email\": \"shopper@example.com\",\n\
          \  \"guest\": false\n}"
    docs: Records a customer activity against a built-in or custom loyalty rule to award points.
  - info:
      name: List activities.
      type: http
    http:
      method: GET
      url: https://api.loyaltylion.com/v2/activities
      params:
      - name: limit
        value: '100'
        type: query
        description: Maximum results per request.
    docs: Lists customer activities recorded against loyalty rules.
  - info:
      name: Update an activity.
      type: http
    http:
      method: PUT
      url: https://api.loyaltylion.com/v2/activities/:merchant_id
      params:
      - name: merchant_id
        value: ''
        type: path
        description: Your own identifier for the activity.
      body:
        type: json
        data: "{\n  \"state\": \"void\"\n}"
    docs: Updates an activity previously created with a merchant_id. Verify the exact verb against the live reference.
- info:
    name: Points
    type: folder
  items:
  - info:
      name: Add points to a customer.
      type: http
    http:
      method: POST
      url: https://api.loyaltylion.com/v2/customers/:merchant_id/points
      params:
      - name: merchant_id
        value: ''
        type: path
        description: The ID of the customer in your platform.
      body:
        type: json
        data: "{\n  \"points\": 100,\n  \"reason\": \"Thanks for being a loyal customer\"\n}"
    docs: Manually adds points to a customer's balance with an optional shopper-visible reason.
  - info:
      name: Remove points from a customer.
      type: http
    http:
      method: POST
      url: https://api.loyaltylion.com/v2/customers/:merchant_id/remove_points
      params:
      - name: merchant_id
        value: ''
        type: path
        description: The ID of the customer in your platform.
      body:
        type: json
        data: "{\n  \"points\": 50,\n  \"reason\": \"Adjustment\"\n}"
    docs: Manually removes points from a customer's balance with an optional shopper-visible reason.
  - info:
      name: List transactions.
      type: http
    http:
      method: GET
      url: https://api.loyaltylion.com/v2/transactions
      params:
      - name: limit
        value: '100'
        type: query
        description: Maximum results per request.
      - name: customer_id
        value: ''
        type: query
        description: Filter by LoyaltyLion customer ID.
    docs: Lists point transactions across the program. Each transaction is an immutable add/remove of points.
- info:
    name: Rewards
    type: folder
  items:
  - info:
      name: List available rewards for a customer.
      type: http
    http:
      method: GET
      url: https://api.loyaltylion.com/v2/customers/:merchant_id/available_rewards
      params:
      - name: merchant_id
        value: ''
        type: path
        description: The ID of the customer in your platform.
      - name: site_id
        value: ''
        type: query
        description: Filter rewards by a specific site.
      - name: country
        value: ''
        type: query
        description: ISO 3166-1 alpha-2 country code.
    docs: Lists the rewards a given customer can currently claim, optionally filtered by site and country.
  - info:
      name: Enable a reward.
      type: http
    http:
      method: POST
      url: https://api.loyaltylion.com/v2/rewards/:reward_id/enable
      params:
      - name: reward_id
        value: ''
        type: path
        description: The ID of the reward in the program catalog.
    docs: Enables a reward in the program catalog. Verb and path modeled from the documented resource index; verify against
      the live reference.
  - info:
      name: Disable a reward.
      type: http
    http:
      method: POST
      url: https://api.loyaltylion.com/v2/rewards/:reward_id/disable
      params:
      - name: reward_id
        value: ''
        type: path
        description: The ID of the reward in the program catalog.
    docs: Disables a reward in the program catalog. Verb and path modeled from the documented resource index; verify against
      the live reference.
- info:
    name: Redemptions
    type: folder
  items:
  - info:
      name: Redeem a reward.
      type: http
    http:
      method: POST
      url: https://api.loyaltylion.com/v2/customers/:merchant_id/claimed_rewards
      params:
      - name: merchant_id
        value: ''
        type: path
        description: The ID of the customer in your platform.
      body:
        type: json
        data: "{\n  \"reward_id\": 6789\n}"
    docs: Redeems a reward on behalf of a customer, spending their points to create a claimed reward.
  - info:
      name: Refund a claimed reward.
      type: http
    http:
      method: POST
      url: https://api.loyaltylion.com/v2/customers/:merchant_id/claimed_rewards/:claimed_reward_id/refund
      params:
      - name: merchant_id
        value: ''
        type: path
        description: The ID of the customer in your platform.
      - name: claimed_reward_id
        value: ''
        type: path
        description: The ID of the claimed reward to refund.
    docs: Refunds a previously claimed reward, returning the spent points to the customer.
- info:
    name: Utility
    type: folder
  items:
  - info:
      name: Who am I.
      type: http
    http:
      method: GET
      url: https://api.loyaltylion.com/v2/whoami
    docs: Returns the identity and scopes associated with the authenticated API key.