Skip to main content
WEBHOOK
EVENTS.CAMPAIGN.PROMOTION_TIER.CREATED
{
  "campaign": {
    "id": "camp_RY00xpbAEXXGQszBDFve6hAP",
    "name": "Promo tier",
    "type": "STATIC",
    "active": true,
    "object": "campaign",
    "category": null,
    "metadata": {},
    "auto_join": false,
    "join_once": false,
    "created_at": "2024-05-22T11:53:41.984Z",
    "start_date": null,
    "category_id": null,
    "description": null,
    "campaign_type": "PROMOTION",
    "expiration_date": null,
    "is_referral_code": false
  },
  "promotion_tier": {
    "id": "promo_ngk5uklWrv3rEzatxoJmE36d",
    "name": "Webhook tier",
    "action": {
      "discount": {
        "type": "AMOUNT",
        "effect": "APPLY_TO_ORDER",
        "amount_off": 2000
      }
    },
    "active": true,
    "banner": null,
    "object": "promotion_tier",
    "summary": {
      "orders": {
        "total_amount": 0,
        "total_discount_amount": 0
      },
      "redemptions": {
        "total_redeemed": 0
      }
    },
    "campaign": {
      "id": "camp_RY00xpbAEXXGQszBDFve6hAP",
      "active": true,
      "object": "campaign",
      "start_date": null,
      "expiration_date": null
    },
    "metadata": {},
    "hierarchy": 1,
    "categories": [],
    "created_at": "2024-05-22T11:53:42.153Z",
    "campaign_id": "camp_RY00xpbAEXXGQszBDFve6hAP",
    "category_id": null,
    "validation_rule_assignments": null
  }
}
The EVENTS.CAMPAIGN.PROMOTION_TIER.CREATED event indicates that the promotion tier was created. This event is used in a webhook configured in Project settings in Voucherify dashboard.
This page documents only the event. If you need more details about the webhook payload data that includes this event, go to Introduction to webhooks page.

Body

application/json

Event data object schema for campaign.promotion_tier.created. Event data object schema for activities related to campaign promotion tiers.

campaign
object

Simplified campaign data.

promotion_tier
object

Object representing a promotion tier. Promotion tiers are always assigned to a campaign and cannot be used standalone.

Response

Webhook accepted

I