post https://example.com/EVENTS.CUSTOMER.CONSENTS.GIVEN
EVENT: "EVENTS.CUSTOMER.CONSENTS.GIVEN"
The EVENT.CUSTOMER.CONSENTS.GIVEN
event indicates that a customer gave their consent in Voucherify, such as such as consent to receive marketing communication.
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: customer.consents.given
{
"consents": [
{
"id": "cnst_Qp0z8MtbwSzBYmYbJ45LFZkJ",
"name": "Promos",
"object": "consent"
}
],
"customer": {
"id": "cust_1g637SqVZnkdPNdAIZ7Ra879",
"name": "Jane Doe",
"email": "[email protected]",
"object": "customer",
"metadata": {
"lang": "en",
"region": "EMEA"
},
"source_id": "test_customer_id_2"
}
}