Skip to main content
PUT
Update BusinessAnnouncement
Updates an existing BusinessAnnouncement record. You must include the Id of the record to update along with all required fields.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the BusinessAnnouncement-Edit role.

Request Body

Required Fields

integer
required
The Id of the BusinessAnnouncement record to update.
integer
required
ID of the location where this announcement is published; a network location makes it available to locations in that network..
string
required
Required title displayed with the announcement..

Optional Fields

boolean
Whether this announcement is marked active; the current active-announcement query uses ActiveFrom and ActiveTo rather than this flag..
string
URL of a new image to upload (ideal size 600x350 pixels, 12:7 aspect ratio).
boolean
Set to true to remove the current image file.
string
Plain-text announcement body; HTML formatting is not supported..
boolean
Whether to display the optional call-to-action button with this announcement..
string
Text displayed on the call-to-action button when ShowButton is enabled..
string
Destination URL for the call-to-action button when ShowButton is enabled..
boolean
Whether this announcement is configured to send a push notification; scheduling is currently driven by ActiveFrom on create or update..
string
Text configured for the announcement’s push notification..
string
UTC publish-from date and time; the active query requires this value to be strictly earlier than the current UTC time, and create or update schedules its push job at this time..
string
Optional UTC publish-until date and time; an announcement remains active only while this value is strictly later than the current UTC time..
boolean
Whether the announcement is marked for contacts, meaning customers without an active contract; the current active-announcement query does not apply this audience flag..
boolean
Whether the announcement is marked for members, meaning customers with an active contract; the current active-announcement query does not apply this audience flag..

Code Examples

Response

200

integer
HTTP status code. 200 on success.
string
A human-readable message confirming the update.
object
Contains the Id of the updated record.
boolean
true if the businessannouncement was updated successfully.
array
null on success.
Example Response

400

string
A summary of the validation error(s), in the format PropertyName: error message.
any
null on validation failure.
object[]
Array of validation errors.
boolean
false when the request fails validation.
Example Response