LoyaltyReward

Reward within a loyalty program that can be added to a member for points.

When updating, already existing fields omitted from the payload will generally not be deleted unless otherwise specified.

Changing the reward type (or Offer ID for Sparkfly Offer Rewards) is not supported, at least with an Update request.

  • An identifier for a Reward.

  • An identifier for a Reward.

  • How many points are required to purchase this reward. This should be 0 for Variable Point Offer Rewards.

  • What type of Reward this is. Used to distinguish a Reward that is a Sparkfly Offer from Rewards external to Sparkfly Offers (such as a T-Shirt).

    The reward type determines which Sparkfly Offers may back it:

    • fixed_point_offer: any approved offer, including a depleting value offer (redeem_until_depleted: true) with a static initial value mode.
    • variable_point_offer: only a depleting value offer with a dynamic initial value mode.

    When a fixed_point_offer reward backed by a static depleting value offer is issued, the resulting offer state starts with a remaining value equal to the offer's initial_remaining_value.

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • More details about a Reward.

  • If this is an Offer Reward type, the ID of the Sparkfly Campaign.

  • Integer numbers.

  • If this is an Offer Reward type, the ID of the Sparkfly Offer.

  • Required for “variable_point_offer” rewards. The transaction discount (cents for USD) per point spent on the reward. For a discount of 1 dollar off per 5 points spent, this would be set to 20.

  • Integer numbers.

  • values
    pendingactivesuspendedarchived
  • More details about a Reward.

  • the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

Examples
{
  "id": 0,
  "loyalty_reward_catalog_id": 0,
  "name": "string",
  "display_name": "string",
  "description": "string",
  "terms_and_conditions": "string",
  "point_value": 0,
  "type": "fixed_point_offer",
  "offer_id": 0,
  "eligible_channel_id": 0,
  "web_image_url": "string",
  "web_image_thumb_url": "string",
  "mobile_image_url": "string",
  "mobile_image_thumb_url": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}