func UpdateRecipients(recipients []*Recipient, apiKey string) (*RecipientResponse, error) {
	payload, err := json.Marshal(recipients)
	if err != nil {
		return nil, err
	}

	response, err := SendPATCHRequest(apiKey, "/contactdb/recipients", string(payload))
	if err != nil {
		return nil, err
	}

	res := &RecipientResponse{}
	err = json.Unmarshal(response, res)

	return res, err
}
// UpdateRecipients will update multiple recipients. (PATCH)
// Will use the email as the recipient identifier.
UpdateRecipients will update multiple recipients. (PATCH)
Will use the email as the recipient identifier.
// UpdateRecipients will update multiple recipients . ( PATCH ) // Will use the email as the recipient identifier .
func UpdateRecipients(recipients []*Recipient, apiKey string) (*RecipientResponse, error) {
	payload, err := json.Marshal(recipients)
	if err != nil {
		return nil, err
	}
	response, err := SendPATCHRequest(apiKey, "/contactdb/recipients", string(payload))
	if err != nil {
		return nil, err
	}
	res := &RecipientResponse{}
	err = json.Unmarshal(response, res)
	return res, err
}
func UpdateRecipients ( recipients [ ] * Recipient , apiKey string ) ( * RecipientResponse , error ) { payload , err := json . Marshal ( recipients ) if err != nil { return nil , err } response , err := SendPATCHRequest ( apiKey , " " , string ( payload ) ) if err != nil { return nil , err } res := & RecipientResponse { } err = json . Unmarshal ( response , res ) return res , err }
UpdateRecipients will update multiple recipients.
UpdateRecipients will update multiple recipients .