post https://example.com/EVENTS.CAMPAIGN.UPDATED
EVENT: "EVENTS.CAMPAIGN.UPDATED"
HTTP method: POST
HTTP method: POST
The EVENTS.CAMPAIGN.UPDATED
event indicates that an existing campaign was modified within Voucherify. This event provides the campaign definition after the update, ensuring that relevant systems are informed in real-time.
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.updated
{
"campaign": {
"id": "camp_s2tD4F3yQhGTKuXjKasSNeP6",
"name": "Promotion Spring 2024",
"type": "STATIC",
"active": true,
"object": "campaign",
"metadata": {
"region": "EMEA"
},
"auto_join": false,
"join_once": false,
"protected": false,
"categories": [],
"created_at": "2024-02-21T12:34:04.667Z",
"updated_at": "2024-02-21T13:10:09.727Z",
"category_id": "cat_0e156dab8f2e43873a",
"campaign_type": "PROMOTION",
"creation_status": "DONE",
"expiration_date": "2024-02-29T00:00:00.000Z",
"vouchers_generation_status": "DONE",
"use_voucher_metadata_schema": false
}
}