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

add

Adds a coupon code to a coupon block in Optimizely Campaign.

This method is only valid for static coupon blocks. Existing codes will not be deleted.

Type: boolean

Parameters

NameTypeValue
sessionIdStringID of the current session
blockIdlongID of the coupon block
codeStringThe coupon code you want to add (e.g., 4LFSRKT-4LFSV67-SRTHMR)

Return values

  • true: Coupon code was successfully added
  • false: Coupon code could not be added

Code structure

boolean add(String sessionId, long blockId, String code)

Next
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