Overview / Customers & loyalty / Loyalty rules

Loyalty rules

get https://api.flactrum.com/v1/loyalty

One brand-wide set of rules. meta.active says whether points are actually being awarded — that needs both the plan capability and the brand switch.

Required scope loyalty.read
Panel screenCustomers & loyalty → Loyalty & points
Success status200

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/loyalty' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": {
        "enabled": false,
        "earn_mode": "percent",
        "earn_value": 10,
        "point_value": 1,
        "min_spend_points": 100,
        "max_spend_percent": 100
    },
    "meta": {
        "active": false
    }
}