Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

create

Creates a new coupon block in Optimizely Campaign.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the current session
couponSourceStringType of the coupon block:
- static – Contains static coupon codes. These must be added manually (see add or addAll).
- generated – Coupon codes are automatically generated when sending the mailing and are unique.
- ean13barcode – Bar code blocks convert a 13-digit code number into a machine-readable bar code and insert it as a graphic into a mailing.
NameStringName of the coupon block

Return values

The ID of the newly created coupon block

Code structure

long create(String sessionId, String couponSource, String name)

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy