Skip to main content

Update a Contact Group

This web service allows you to update contact groups by adding contacts to the group or adding custom fields.

Query String Parameters

NameTypeDescriptionRequired
ActionStringContactGroupUpdateRequired
ContactIdIntThe unique identifier of the contact which can be retrieved using Contact List.Required
ContactRefStringThe internal reference of the contact.Required
ContactGroupStringContact group must already exist.Required
CopyCustomFieldsBool0=false or 1=trueOptional

Response Codes

CodeMessageInformation
0Response DataSee 'Response' example tab
2contactId or contactRef parameters requiredMandatory parameter was not supplied
2Missing parameter - contactGroupMandatory parameter was not supplied
2No matching contact group existsNo data returned or set-up in BigChange
2Invalid parameter - contactIdInteger value is invalid or was not specified (when required)
2No matching contactNo data returned or set-up in BigChange
2Error Multiple Contacts with Reference {contactRef}The service could not determine which contact to remove due to duplicates. Please use the ContactId
2Contact already a member of target group {contactGroup.ContactGroupId}Contact is already in the target group and therefore has not been moved
2Contact Group Update Failed {error}Please contact Support providing the parameters used and the error message returned

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=ContactGroupUpdate&ContactId=30966833&ContactGroup=Customers