updateEventOffer()


Use this method and change existing offer. Read more about offers in Tutorial 2 - Creating Offers. If property is omitted, it won't be updated.

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 No description
-price floatOffer price, value between 5 and 99.99
-currency stringChoose one: USD, EUR, GBP, CAD, AUD, NZD, SEK, DKK, NOK, TRL, ZAR, XOF. Default, publisher currency.
-title stringTitle of the event offer, up to 70 chars.
-url stringUrl to your event.
-description string
-playerCode string
-playerCodeHead string
-backgroundImageUrl string
-startTime intTimestamp, when your event starts
-endTime intTimestamp, when your event ends
-timeZone stringFull list of available timezones
-associateEmail stringOnly for distributor accounts.
-videoId stringLink offer with unique video asset id
-viewerEstimate intTo 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 stringMaximum 150 chars.
-applyServiceFeeOnCustomer booleanBe default, service fee is charged from publisher
-tags arrayTags attached to offer. Read more.
-geoRestrictionEnabled boolSet "true" to enable geo-restriction on this Event Offer
-geoRestrictionType stringChoose type of geo-restriction: whitelist / blacklist
-geoRestrictionCountries arrayBased on geoRestrictionType, set the array of whitelisted/blacklisted countries.
-youtubePreviewVideoId stringYoutube video ID for configured preview.

- required parameter


Remember! you can always check it by yourself using API Console - updateEventOffer()

Back to Event Offers