Campaigns

Update campaign goal

Replaces the editable configuration for an existing email-campaign goal. SMS campaigns are not supported.

patch/campaigns/{campaignId}/goals/{goalId}

Path parameters

campaignIdstring required
goalIdstring required

Request body

namestring
descriptionstring nullable
triggerType'event' | 'attribute_change' | 'tag_added'
triggerEventNamestring nullable
triggerTagNamestring nullable
attributePathstring nullable
attributeCondition'changed' | 'changed_to' | 'changed_from_to' nullable
attributeValuestring nullable
attributePreviousValuestring nullable
eventPropertyNamestring nullable
eventPropertyLabelstring nullable
attributionWindowHoursinteger
isActiveboolean

Response

Campaign goal updated successfully

successboolean

Changes

Changed in 1 of the 121 revisions of this API.1