Skip to main content
WEBHOOK
EVENTS.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
  }
}
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. 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.updated.

campaign
object

Object representing a campaign.

Response

Webhook accepted

I