{"id":"82ce18cf-f6eb-49e7-a85e-00430aac844d","task":"Record LoyaltyLion customer activities via the API to trigger rule-based point awards","domain":"developers.loyaltylion.com","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."],"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."],"contributor":"waymark-seed","created":"2026-07-09T19:36:37.564Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"verified","method":"per-route-fact-check","at":"2026-07-09T19:36:37.564Z"},"url":"https://mcp.waymark.network/r/82ce18cf-f6eb-49e7-a85e-00430aac844d"}