OfferTreatment

Represents the offer content and the communication channel used to present the offer to the target audience. This object is available in API version 66.0 and later.

Supported Calls 

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields 

CallToActionText 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The link text of the redirect URL.

CallToActionUrl 

  • Type: url
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The link of the redirect URL.

CommunicationChannelTypeId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort, Update

  • Description: The ID of the communication channel type associated with the offer.

    This field is a relationship field.

  • Relationship Name: CommunicationChannelType

  • Refers To: CommunicationChannelType

ExternalCmsFolderUrl 

  • Type: url
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The URL of the external content management system folder where the assets of the offer are located.

ImageUrl 

  • Type: url
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The URL of the offer’s image.

Intent 

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The intent of the treatment. Intent can be derived from the heading and body of the offer.

InternalCmsFldrUrl 

  • Type: url
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The URL of the content management system folder where the assets of the offer are located.

Language 

  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Description: The language of the treatment.

  • Possible values:

    • af—Afrikaans
    • am—Amharic
    • ar—Arabic
    • ar_AE—Arabic (United Arab Emirates)
    • ar_BH—Arabic (Bahrain)
    • ar_DZ—Arabic (Algeria)
    • ar_EG—Arabic (Egypt)
    • ar_IQ—Arabic (Iraq)
    • ar_JO—Arabic (Jordan)
    • ar_KW—Arabic (Kuwait)
    • ar_LB—Arabic (Lebanon)
    • ar_LY—Arabic (Libya)
    • ar_MA—Arabic (Morocco)
    • ar_OM—Arabic (Oman)
    • ar_QA—Arabic (Qatar)
    • ar_SA—Arabic (Saudi Arabia)
    • ar_SD—Arabic (Sudan)
    • ar_SY—Arabic (Syria)
    • ar_TN—Arabic (Tunisia)
    • ar_YE—Arabic (Yemen)
    • bg—Bulgarian
    • bn—Bengali
    • bs—Bosnian
    • ca—Catalan
    • cac—Chuj
    • cak—Kaqchikel
    • cs—Czech
    • cy—Welsh
    • da—Danish
    • de—German
    • de_AT—German (Austria)
    • de_BE—German (Belgium)
    • de_CH—German (Switzerland)
    • de_LI—German (Liechtenstein)
    • de_LU—German (Luxembourg)
    • el—Greek
    • el_CY—Greek (Cyprus)
    • en_AD—English (Andorra)
    • en_AE—English (United Arab Emirates)
    • en_AG—English (Antigua and Barbuda)
    • en_AL—English (Albania)
    • en_AT—English (Austria)
    • en_AU—English (Australian)
    • en_BA—English (Bosnia and Herzegovina)
    • en_BB—English (Barbados)
    • en_BE—English (Belgium)
    • en_BG—English (Bulgaria)
    • en_BS—English (Bahamas)
    • en_BZ—English (Belize)
    • en_CA—English (Canadian)
    • en_CH—English (Switzerland)
    • en_CY—English (Cyprus)
    • en_CZ—English (Czechia)
    • en_DE—English (Germany)
    • en_DK—English (Denmark)
    • en_DM—English (Dominica)
    • en_EE—English (Estonia)
    • en_ES—English (Spain)
    • en_FI—English (Finland)
    • en_FR—English (France)
    • en_GB—English (UK)
    • en_GD—English (Grenada)
    • en_GI—English (Gibraltar)
    • en_GR—English (Greece)
    • en_GY—English (Guyana)
    • en_HK—English (Hong Kong)
    • en_HR—English (Croatia)
    • en_HU—English (Hungary)
    • en_IE—English (Ireland)
    • en_IL—English (Israel)
    • en_IN—English (Indian)
    • en_IS—English (Iceland)
    • en_IT—English (Italy)
    • en_JM—English (Jamaica)
    • en_JP—English (Japan)
    • en_KN—English (St. Kitts and Nevis)
    • en_KR—English (South Korea)
    • en_LC—English (St. Lucia)
    • en_LI—English (Liechtenstein)
    • en_LT—English (Lithuania)
    • en_LU—English (Luxembourg)
    • en_LV—English (Latvia)
    • en_MC—English (Monaco)
    • en_ME—English (Montenegro)
    • en_MK—English (North Macedonia)
    • en_MT—English (Malta)
    • en_MY—English (Malaysian)
    • en_NL—English (Netherlands)
    • en_NO—English (Norway)
    • en_NZ—English (New Zealand)
    • en_PH—English (Phillipines)
    • en_PL—English (Poland)
    • en_PT—English (Portugal)
    • en_RO—English (Romania)
    • en_RS—English (Serbia)
    • en_SE—English (Sweden)
    • en_SG—English (Singapore)
    • en_SI—English (Slovenia)
    • en_SK—English (Slovakia)
    • en_TH—English (Thailand)
    • en_TR—English (Turkey)
    • en_TT—English (Trinidad and Tobago)
    • en_TW—English (Taiwan)
    • en_US—English
    • en_VC—English (St. Vincent and the Grenadines)
    • en_ZA—English (South Africa)
    • eo—Esperanto (Pseudo)
    • es—Spanish
    • es_AD—Spanish (Andorra)
    • es_AR—Spanish (Argentina)
    • es_BO—Spanish (Bolivia)
    • es_CL—Spanish (Chile)
    • es_CO—Spanish (Colombia)
    • es_CR—Spanish (Costa Rica)
    • es_DO—Spanish (Dominican Republic)
    • es_EC—Spanish (Ecuador)
    • es_GT—Spanish (Guatemala)
    • es_HN—Spanish (Honduras)
    • es_MX—Spanish (Mexico)
    • es_NI—Spanish (Nicaragua)
    • es_PA—Spanish (Panama)
    • es_PE—Spanish (Peru)
    • es_PR—Spanish (Puerto Rico)
    • es_PY—Spanish (Paraguay)
    • es_SV—Spanish (El Salvador)
    • es_US—Spanish (United States)
    • es_UY—Spanish (Uruguay)
    • es_VE—Spanish (Venezuela)
    • et—Estonian
    • eu—Basque
    • fa—Farsi
    • fi—Finnish
    • fr—French
    • fr_BE—French (Belgium)
    • fr_CA—French (Canadian)
    • fr_CH—French (Switzerland)
    • fr_HT—French (Haiti)
    • fr_LU—French (Luxembourg)
    • fr_MA—French (Morocco)
    • ga—Irish
    • gu—Gujarati
    • haw—Hawaiian
    • hi—Hindi
    • hmn—Hmong
    • hr—Croatian
    • ht—Haitian Creole
    • hu—Hungarian
    • hy—Armenian
    • in—Indonesian
    • is—Icelandic
    • it—Italian
    • it_CH—Italian (Switzerland)
    • iw—Hebrew
    • iw_EO—Esperanto RTL (Pseudo)
    • ja—Japanese
    • ji—Yiddish
    • ka—Georgian
    • kk—Kazakh
    • kl—Greenlandic
    • km—Khmer
    • kn—Kannada
    • ko—Korean
    • lb—Luxembourgish
    • lt—Lithuanian
    • lv—Latvian
    • mi—Te reo
    • mk—Macedonian
    • ml—Malayalam
    • mr—Marathi
    • ms—Malay
    • mt—Maltese
    • my—Burmese
    • nl_BE—Dutch (Belgium)
    • nl_NL—Dutch
    • nl_SR—Dutch (Suriname)
    • no—Norwegian
    • pa—Punjabi
    • pl—Polish
    • pt_BR—Portuguese (Brazil)
    • pt_PT—Portuguese (European)
    • quc—Kiche
    • rm—Romansh
    • ro—Romanian
    • ro_MD—Romanian (Moldova)
    • ru—Russian
    • ru_AM—Russian (Armenia)
    • ru_BY—Russian (Belarus)
    • ru_KG—Russian (Kyrgyzstan)
    • ru_KZ—Russian (Kazakhstan)
    • ru_LT—Russian (Lithuania)
    • ru_MD—Russian (Moldova)
    • ru_PL—Russian (Poland)
    • ru_UA—Russian (Ukraine)
    • sh—Serbian (Latin)
    • sh_ME—Montenegrin
    • sk—Slovak
    • sl—Slovene
    • sm—Samoan
    • sq—Albanian
    • sr—Serbian (Cyrillic)
    • sv—Swedish
    • sv_FI—Swedish (Finland)
    • sw—Swahili
    • ta—Tamil
    • te—Telugu
    • th—Thai
    • tl—Tagalog
    • tr—Turkish
    • uk—Ukrainian
    • ur—Urdu
    • vi—Vietnamese
    • xh—Xhosa
    • zh_CN—Chinese (Simplified)
    • zh_HK—Chinese (Hong Kong)
    • zh_MY—Chinese (Malaysia)
    • zh_SG—Chinese (Singapore)
    • zh_TW—Chinese (Traditional)
    • zu—Zulu

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user referenced this record.

LastViewedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user viewed this record.

Name 

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the offer treatment

OfferBody 

  • Type: textarea
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The body of the offer.

OfferHeading 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The heading of the offer.

OfferId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: The ID of the offer associated with the communication channel type.

    This field is a relationship field.

  • Relationship Name: Offer

  • Relationship Type: Master-detail

  • Refers To: Offer (the master object)

OfferTreatmentCode 

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The unique code for the offer treatment

OutputFormat 

  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Description: The format of the treatment output.

  • Default value: Custom

  • Possible values:

    • Custom
    • HTML
    • Image
    • JSON
    • Text

Status 

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The status of the offer treatment.

Tone 

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The tone of the offer treatment. Tone can be derived from the heading and body of the offer.

TreatmentOutput 

  • Type: textarea
  • Properties: Create, Nillable, Update
  • Description: The output of the treatment is based on the format selected.

Associated Objects 

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

OfferTreatmentHistory

History is available for tracked fields of the object.