Create coupon

GET {{integrationBaseUrl}}/iterable/coupon?deployment={{talonDeployment_3rdParty}}&applicationId={{applicationId}}&campaignId={{campaignId}}&startDate=2022-09-30T15:35:02Z&expiryDate=2022-10-30T15:35:02Z&discountLimit=155&iterableCampaignId=iterableCampaign&recipientIntegrationId=URN-GV8294NV&usageLimit=1&.firstName=john&.country=DE

Create a coupon code in Talon.One. To use it in your Iterable deployment and generate the request, see the tutorial.

Request Params

KeyDatatypeRequiredDescription
deploymentstring(Required) The base URL of your deployment.
applicationIdstring(Required) The ID of the Application in Talon.One.
campaignIdstring(Required) The ID of the campaign in Talon.One.
startDatestringThe date when the code becomes usable.
expiryDatestringThe date when the code becomes unusable.
discountLimitnumberThe discount amount the coupon is worth. Can be blank if for example the coupon provides a 10% discount or something other than a set value of discounts.
iterableCampaignIdstring(Required) The ID of the campaign in Iterable.
recipientIntegrationIdstringThe integration ID of the only customer that can use the generated coupon code. Leave blank to allow any user to use the coupon.
usageLimitnumberThe number of times the coupon code can be redeemed. 0 means unlimited redemptions but any campaign usage limits will still apply. The default value is 1.
.firstNamestringOptional parameter to set the value of custom attributes. They are defined in the Campaign Manager,
see Managing attributes.

Prefix each attribute name with ..

Certain attributes can also be set to mandatory in your Application settings. If your Application uses mandatory attributes, you must use this parameter to set their value.

Full URI example: https://<url>?applicationId=5&.myAttribute1=1234&.myAttribute2=abc. | | .country | string | | Optional parameter to set the value of custom attributes. They are defined in the Campaign Manager, see Managing attributes.

Prefix each attribute name with ..

Certain attributes can also be set to mandatory in your Application settings. If your Application uses mandatory attributes, you must use this parameter to set their value.

Full URI example: https://<url>?applicationId=5&.myAttribute1=1234&.myAttribute2=abc. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring