[#1246] Personalized gift cards not emailed to client

Migrated from Redmine #1246 | Author: Ruapehu Colab
Status: Feedback | Priority: Normal | Created: 2024-06-22


I wish to send personalized gift cards using the method:
POST https://user-api-v2.simplybook.me/admin/promotions/issue-gift-card

My request body is as follows:
{
“promotion_id”: 2,
“start_date”: “2024-06-16”,
“personalized”: true,
“clients”: [9],
“send_email”: true,
“email_body”: “Your gift card code: [code]”,
“email_subject”: “Your gift card!”
}

Requests are successful, gift cards are appearing in the Coupons & Gift cards report, but the emails are not being sent to the client email address. Is there some other configuration I need?

I have checked spam folders.

Dmytro Bondarev wrote:

Hi, please make sure that client gave consent to send marketing emails.

Ruapehu Colab wrote:

I’m just testing at the moment so not in production yet. I am using a test client.

How do I enable client consent for marketing emails? I don’t see any configuration for this.

Redmine Admin wrote:

there is a checkbox for this during a booking