Loyalty program

Events

Action Event name
creating a loyalty program loyalty.program.created
updating a loyalty program loyalty.program.updated

Payload example

{
  "id": "string",
  "attemptId": "string",
  "livemode": "boolean",
  "created": "int",
  "event": "string",
  "data": {
    "id": "string",
    "name": "string",
    "terms": "string",
    "expiration_days": "number",
    "accumulate_on": "string",
    "disabled": "boolean",
    "provider_id": "string",
    "lexicon_keys": {
      "name": "string",
      "terms": "string",
      "enrollCustomerMsg": "string",
      "emailPointsInformationMsg": "string"
    },
    "enroll_customer_by_default": "boolean",
    "created_by": "string",
    "updated_by": "string",
    "created_at": "string",
    "updated_at": "string"
  }
}