Announcements

Update an announcement

Only the fields you send are changed. settings are merged over stored settings; targeting replaces wholesale. Live announcements can be edited, but an update that would leave one unpublishable (no title, no targeting, or missing content for popup/toast) returns 400; set active: false first to take it down.

patch/announcements/{id}

Request

  • Base URL: https://api.produktly.com/api/v1
  • URL: https://api.produktly.com/api/v1/announcements/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

Request body

namestring
titlestring
contentstring
themeIdinteger nullable
folderIdinteger nullable
activeboolean

Response

Updated

idinteger required
namestring required
activeboolean required
createdAtstring date-time required
updatedAtstring date-time required
folderIdinteger nullable required
themeIdinteger nullable required
titlestring nullable required
contentstring nullable required
settingsobject required
rulesobject[] required
ruleLogicalOperatorstring nullable required
dashboardUrlstring required
notestring

Changes

No recorded changes to this operation across all 1 revision of this API.