Thanx · Example Payload

Loyalty Api Account Example

RestaurantLoyaltyGuest EngagementMarketingCRMOnline OrderingWebhooksPointsRewardsCampaigns

Loyalty Api Account Example is an example object payload from Thanx, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idemailrewardspoints_productspoints_balances

Example Payload

Raw ↑
{
  "id": "92b7b0dac4",
  "email": "jane.smith@example.com",
  "rewards": [
    {
      "id": "92b7b0dac4",
      "value": 1.0,
      "label": "A free hamburger",
      "state": "redeemable",
      "type": "amount"
    }
  ],
  "points_products": [
    {
      "id": "92b7b0dac4",
      "label": "A free hamburger",
      "cost": 1.0
    }
  ],
  "points_balances": [
    {
      "points_experience_id": "92b7b0dac4",
      "balance": 10.0
    }
  ]
}