Setting reward copy without campaigns

Tremendous offers the ability to customize copy associated with EMAIL delivery rewards without the use of a campaign_id.

The following copy-based attributes can be set by passing them into the reward object payload.

PropertyBehaviorKey
Email sender nameWhen you set this field, the email sender name will be the value, with "via Tremendous" appended to it. Please note that you cannot customize the sender email.reward.delivery.meta.sender_name
Email subject lineThis will be the subject line used in the delivery of the reward.reward.delivery.meta.subject_line
MessageThe content of the message of the reward, shown both in the email and on the landing page.reward.delivery.meta.message

Example API call

Take note of the meta key within delivery:

curl --url 'https://testflight.tremendous.com/api/v2/orders' \
     --header 'Authorization: Bearer YOUR-API-KEY' \
     --header 'Content-Type: application/json' \
     --data '
{
    "payment": {
        "funding_source_id": "BALANCE"
    },
    "reward": {
        "value": {
            "denomination": 50,
            "currency_code": "USD"
        },
        "delivery": {
            "method": "EMAIL",
            "meta": {
                "subject_line": "A custom subject line",
                "message": "My very special reward message",
                "from_name": "Acme Co."
            }
        },
        "recipient": {
            "name": "Jane Doe",
            "email": "[email protected]"
        },
        "products": [
            "OKMHM2X2OHYV",
            "KV934TZ93NQM",
            "ET0ZVETV5ILN",
            "Q24BD9EZ332JT",
            "TBAJH7YLFVS5"
        ]
    }
}
'

This API call will result in the following email being delivered: