PUT /accounts/:rtp_aid
Updates the custom fields of an existing account identified by its Recotap account ID (rtp_aid). Returns 404 if no account matches the rtp_aid. Returns 400 if the rtp_aid is not a valid format.
curl -X PUT "https://eapi.recotap.com/api/v1/accounts/663abc..." \
-H "X-Api-Key: your-api-key-here" \
-H "Content-Type: application/json" \
-d '{
"customFields": { "CONTRACT_VALUE_C": 95000 }
}'
Request body
| Field | Type | Required | Description |
|---|
customFields | object | No | Key-value pairs using Recotap custom field keys e.g. { "CONTRACT_VALUE_C": 95000 }. Per-key merge — only the keys you include are updated. Existing keys not present in the request are preserved. Keys must exist as active custom fields. Returns 400 if any key is unknown. |
Response data
{ "message": "Account updated successfully" }
Only customFields is accepted. Sending domain or any other field returns 400.