Offer::updateByRefId Method

Updates specified properties of an existing offer based on a supplied reference ID (Offer.ref_id).

Note: this method fails if the reference ID matches zero offers or matches more than one offer. The reference ID must be unique, including among offers with a deleted status.

NameTypeDescription
NetworkId UrlNetwork ID
NetworkToken StringNetwork token
Target StringThis calls action target
Method StringThis calls action method
ref_id Stringref_id of Offer object
data ObjectOffer model properties to changeShow Supported Parameters
return_objectBooleanReturns created object if true; default true

GET Response Notes

If return_object is true, array: Offer model properties
If return_object is false, boolean: true if update is successful

API Call Builder

Javascript is required to use the API Call Builder.
Have a Question? Please contact support@tune.com for technical support.