Skip to main content
POST
/
EVENTS.CUSTOMER.LOYALTY.TIER.PROLONGED
{
  "customer": {
    "id": "cust_ufwK2qUNGDYxa1aji7XKzuHm",
    "name": "Jean Genie",
    "email": null,
    "source_id": "jn-gn",
    "metadata": {},
    "object": "customer"
  },
  "campaign": {
    "id": "camp_mvZmZkLz3Dq2llncChsCr00g",
    "name": "Loyalty for tier prolonged",
    "campaign_type": "LOYALTY_PROGRAM",
    "type": "AUTO_UPDATE",
    "is_referral_code": false,
    "voucher": {
      "type": "LOYALTY_CARD",
      "loyalty_card": {
        "points": 0,
        "expiration_rules": {
          "period_type": "MONTH",
          "period_value": 1
        }
      },
      "redemption": {
        "quantity": null,
        "redeemed_quantity": 0
      },
      "code_config": {
        "length": 3,
        "prefix": "Prolong-",
        "charset": "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
        "pattern": "###",
        "postfix": ""
      }
    },
    "auto_join": false,
    "join_once": true,
    "active": true,
    "category_id": null,
    "category": null,
    "metadata": {},
    "start_date": null,
    "expiration_date": null,
    "description": null,
    "created_at": "2024-03-14T10:31:23.170Z",
    "updated_at": "2024-03-15T08:48:07.080Z",
    "object": "campaign"
  },
  "loyalty_tier": {
    "id": "ltr_0e70dcf4bc23747d1a",
    "name": "Tier-01",
    "campaign_id": "camp_mvZmZkLz3Dq2llncChsCr00g",
    "metadata": {},
    "created_at": "2024-03-14T10:31:23.632Z",
    "updated_at": null,
    "earning_rules": {},
    "rewards": {},
    "config": {
      "points": {
        "from": 50,
        "to": 99
      }
    },
    "points": {
      "from": 50,
      "to": 99
    },
    "object": "loyalty_tier"
  },
  "created_at": "2024-03-19T00:02:13.529Z"
}

Response

200 - application/json

Indicates that a customer loyalty tier has been prolonged.

Event data object schema for customer.loyalty.tier.prolonged.

customer
object
required

Simplified customer data.

campaign
object
required

Simplified campaign data.

loyalty_tier
object
required

Loyalty tier data.

created_at
string<date-time>
required

Timestamp representing the date and time when the customer left the loyalty tier structure.

Example:

"2022-02-25T13:32:08.734Z"

I