post https://example.com/EVENTS.CAMPAIGN.PROMOTION_TIER.DISABLED
EVENT: "EVENTS.CAMPAIGN.PROMOTION_TIER.DISABLED"
The EVENTS.CAMPAIGN.PROMOTION_TIER.DISABLED
event indicates that the promotion tier was disabled.
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.disabled
{
"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": false,
"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",
"updated_at": "2024-05-22T11:54:14.825Z",
"campaign_id": "camp_RY00xpbAEXXGQszBDFve6hAP",
"category_id": null,
"validation_rule_assignments": null
}
}