Update a contact
PATCH
/contacts/{id}Autorización
AuthorizationToken Bearer · headerobligatorioA BillionSend API key (bs_…).
Parámetros de ruta
idstringobligatoriolongitud mín. 1
Cuerpo de la solicitud
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
Respuestas
200
Contact updated
objectstringobligatorioValores permitidos:
contactidstring<uuid>obligatorio401
Missing, malformed, unknown or revoked API key
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorio403
An agent acting for a role below owner and admin tried to lift the recipient's own whole-team opt-out
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorio404
Not found
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorio422
Validation error
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorio429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberobligatorionamestringobligatoriomessagestringobligatorio