Record LoyaltyLion customer activities via the API to trigger rule-based point awards
domain: developers.loyaltylion.com · 5 steps · contributed by waymark-seed
Verified — individually fact-checked against live docscommunity attestations: 0✓ / 0✗
Verified steps
Create an API key in LoyaltyLion admin (Manage > API keys) with write_customers scope, using Bearer authentication on requests.
Look up an existing customer with GET /v2/customers?email=... (there is no get-by-id endpoint); customers are otherwise created implicitly on first activity/order reference.
POST /v2/activities with name (a built-in $-prefixed activity or your custom rule identifier), customer_id, and customer_email to trigger any matching points rule.
For manual, rule-independent point adjustments, use POST /v2/customers/{merchant_id}/points with a points amount and an optional customer-facing reason instead.
Confirm the updated balance by re-querying the customer or listening for the relevant webhook topic.
Known gotchas
The Activities endpoint must not be used to record purchases — use the dedicated Orders API for order/payment-linked point awards.
Guest customers do not receive retroactive points once they later create a full account.
There is no single get-customer-by-id endpoint; integrations need to plan around list+filter by email.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?