Skip to main content
PUT
Update SubscriberGroup
Updates an existing SubscriberGroup 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 SubscriberGroup-Edit role.

Request Body

Required Fields

integer
required
The Id of the SubscriberGroup record to update.
integer
required
ID of the location that owns this newsletter subscriber group..
string
required
Required, unique name used to identify this newsletter subscriber group within the location..

Optional Fields

integer[]
List of newsletter subscriber IDs manually assigned to this group; smart-group updates can also add or remove subscribers based on the enabled criteria..
integer[]
IDs added to the NewsLetterSubscribers relationship..
integer[]
IDs removed from the NewsLetterSubscribers relationship..
boolean
Whether the smart group automatically includes current members; enabled member criteria are reconciled on the smart-group update cycle..
boolean
Whether the smart group automatically includes current contacts, meaning customers without an active contract..
boolean
Whether the smart group automatically includes customers who have made a booking..
boolean
Whether the smart group automatically includes event attendees..
boolean
Whether the smart group automatically includes visitors to the location..
boolean
Whether the smart group automatically includes team paying members..
integer[]
List of plan IDs used to restrict automatic member inclusion; an empty list means all member plan types, and the list is cleared unless automatic member inclusion or system-managed membership is enabled..
integer[]
IDs added to the Tariffs relationship..
integer[]
IDs removed from the Tariffs relationship..

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 subscribergroup 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