Update a contact in an audience
PATCH
/audiences/{audienceId}/contacts/{id}授权
AuthorizationBearer 令牌 · header必填A BillionSend API key (bs_…).
路径参数
audienceIdstring<uuid>必填idstring必填最小长度 1
请求体
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
响应
200
Contact updated
objectstring必填允许值:
contactidstring<uuid>必填401
Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填403
An agent acting for a role below owner and admin tried to lift the recipient's own whole-team opt-out
statusCodenumber必填namestring必填messagestring必填404
Not found
statusCodenumber必填namestring必填messagestring必填422
Validation error
statusCodenumber必填namestring必填messagestring必填429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumber必填namestring必填messagestring必填