post https://example.com/EVENTS.CAMPAIGN.PROMOTION_TIER.CREATED
EVENT: "EVENTS.CAMPAIGN.PROMOTION_TIER.CREATED"
HTTP method: POST
HTTP method: POST
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.
Webhook documentation
This page documents only the event. If you need more details about the webhook payload data that includes this event, go to Webhook v2024-01-01 page.
Example: 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
}
}