updateEventOffer

❗️

Deprecated

This endpoint is deprecated and no longer available.

Use this method and change the existing offer. Read more about all types of offers here. If the property is omitted, it won't be updated.

🚧

Warning

This API is no longer supported for offers with localized versions. If you would like to create or modify an offer with localizations, you can do so directly in the Cleeng dashboard.

Parameters

Name

Type

Description

publisherToken*

string

You can find your publisher token at api-keys page.

offerId*

string

Set identifier of the offer you want to update. You have to be owner.

offerData

object

All data describing new offer.

-price*

float

Offer price, value between 5 and 99.99

-currency*

string

Choose one: USD, EUR, GBP, CAD, AUD, NZD, SEK, DKK, NOK, TRL, ZAR, XOF. Default, publisher currency.

-title

string

Title of the event offer, up to 70 chars.

-url

string

Url to your event.

-description*

string

-playerCode*

string

-playerCodeHead*

string

-backgroundImageUrl*

string

-startTime*

integer

Timestamp, when your event starts

-endTime*

integer

Timestamp, when your event ends

-timeZone*

string

Full list of available timezones

-videoId*

string

Link offer with unique video asset id

-viewerEstimate*

int

To allocate the appropriate support staff for the event, please provide best estimate on the viewership
1 = up to 1000 (default)
2 = 1000 -2000
3 = 2000 -5000
4 = 5000 -10000
5 = more than 10000

_-teaser _

string

Maximum 150 chars.

-applyServiceFeeOnCustomer*

boolean

Be default, service fee is charged from publisher

-tags*

array

Tags attached to offer.

-geoRestrictionEnabled*

bool

Set "true" to enable geo-restriction on this offer

-geoRestrictionType*

string

Choose type of geo-restriction: whitelist / blacklist

-geoRestrictionCountries*

array

Based on geoRestrictionType, set the array of whitelisted/blacklisted countries.

-youtubePreviewVideoId*

string

Youtube video ID for configured preview.