Update a contact
PATCH
/contacts/{id}Autorisation
AuthorizationJeton Bearer · headerrequisA BillionSend API key (bs_…).
Paramètres de chemin
idstringrequislongueur min 1
Corps de la requête
application/jsonfirst_namestring | nullFirst name; null clears it
last_namestring | nullLast name; null clears it
unsubscribedbooleanGlobal opt-out from all marketing sends
propertiesobjectCustom properties to set (merged); null removes a key
Réponses
200
Contact updated
objectstringrequisValeurs autorisées :
contactidstring<uuid>requis401
Missing, malformed, unknown or revoked API key
statusCodenumberrequisnamestringrequismessagestringrequis403
An agent acting for a role below owner and admin tried to lift the recipient's own whole-team opt-out
statusCodenumberrequisnamestringrequismessagestringrequis404
Not found
statusCodenumberrequisnamestringrequismessagestringrequis422
Validation error
statusCodenumberrequisnamestringrequismessagestringrequis429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberrequisnamestringrequismessagestringrequis