Buyer Records¶
Buyer Records store pre-contract buyer information. Starting October 12, 2026, create buyer transactions from a Buyer Record instead of posting directly to transaction-builder. Direct listing creation remains supported. Dual-sided transactions require both Buyer Record and listing associations.
The contract below follows Real's migration guidance and the public Arrakis Swagger, verified October 2, 2026.
Create and convert¶
Use the actual buyer brokerage agreement dates and the agent's authorized office. Do not infer agreement dates from a purchase contract. The creation fields officeId, geographicInterest, bbaDates, and initialParticipants are required. External participant email uses emailAddress; participant creation uses role.
from rezen import RezenClient
client = RezenClient() # Reads REZEN_API_KEY.
buyer_record = client.buyer_records.create_buyer_record({
"officeId": "00000000-0000-0000-0000-000000000001",
"geographicInterest": "Salt Lake County",
"bbaDates": {"start": "2026-10-01", "end": "2026-12-31"},
"initialParticipants": [{
"externalParticipant": {
"firstName": "Test",
"lastName": "Buyer",
"emailAddress": "buyer@example.com",
"externalParticipantType": "PERSON",
"role": "BUYER",
}
}],
})
# Persist the record ID before conversion so a retry can resume this record.
buyer_record_id = buyer_record["id"]
builder = client.buyer_records.build_transaction(buyer_record_id)
builder_id = builder["id"]
# Continue populating the returned builder with the existing builder methods.
Replace illustrative IDs, agreement dates, and participant details with real authorized data. Optional creation fields include teamId and createOnBehalfOf. Conversion accepts no request body and returns a Transaction Builder object. Conversion is a write: persist its returned builder ID before later steps and reconcile an uncertain response before retrying; the SDK does not promise idempotency for repeated conversion calls.
For a dual-sided transaction, associate the existing listing before submission:
client.transaction_builder.update_associations(builder_id, {
"buyerRecordId": buyer_record_id,
"listingId": "00000000-0000-0000-0000-000000000002",
})
Endpoint reference¶
All methods use the Arrakis /api/v1 base and the client's normal authentication, timeout, retry, and error handling. Request dictionaries preserve native camelCase fields. Successful 204 responses return {}.
Show table
| Method | HTTP route | Request |
|---|---|---|
create_buyer_record(data) | POST /buyer-record | Creation fields above |
search_buyer_records(params=None) | GET /buyer-record | Native query filters |
get_buyer_record(id) | GET /buyer-record/{id} | None |
update_buyer_record(id, data) | PATCH /buyer-record/{id} | Fields to change |
add_participant(id, data) | POST /buyer-record/{id}/participant | internalParticipant or externalParticipant |
update_participant(id, participant_id, data) | PATCH /buyer-record/{id}/participant/{participant_id} | Wrapper with update fields; role is participantRole |
delete_participant(id, participant_id) | DELETE /buyer-record/{id}/participant/{participant_id} | None |
build_transaction(id) | POST /buyer-record/{id}/build-transaction | None |
request_termination(id, reason) | PATCH /buyer-record/{id}/request-termination | reason (max 255 characters) |
cancel_termination_request(id) | PATCH /buyer-record/{id}/cancel-termination-request | None |
Search supports pageNumber, pageSize, sortBy, sortDirection, ownerIds, officeIds, teamIds, lifecycleStates, searchText, and date filters. It returns buyerRecords, pageNumber, pageSize, hasNext, and totalCount.
page = client.buyer_records.search_buyer_records({
"pageNumber": 0,
"pageSize": 25,
"lifecycleStates": ["ACTIVE"],
"sortDirection": "DESC",
})
Bases: BaseClient
Manage pre-contract Buyer Records and convert them to transaction builders.
add_participant(buyer_record_id, data) ¶
Add an internal or external participant to a Buyer Record.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
buyer_record_id | str | Buyer Record UUID. | required |
data | Dict[str, Any] | An internalParticipant or externalParticipant wrapper. Creation uses role; external participants also need externalParticipantType. | required |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | Updated Buyer Record details. |
build_transaction(buyer_record_id) ¶
Convert a Buyer Record to a transaction builder without a request body.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
buyer_record_id | str | Buyer Record UUID. | required |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | Transaction builder details, including id and buyerRecordId. |
cancel_termination_request(buyer_record_id) ¶
Cancel a pending termination request without a request body.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
buyer_record_id | str | Buyer Record UUID. | required |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | An empty dictionary for the API's successful 204 response. |
create_buyer_record(data) ¶
Create a Buyer Record using the API's camelCase request fields.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
data | Dict[str, Any] | Request containing officeId, geographicInterest, bbaDates (start/end ISO dates), and initialParticipants. Participant entries wrap internalParticipant or externalParticipant; external email uses emailAddress. Optional fields include teamId/createOnBehalfOf. | required |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | The created Buyer Record, including its id. |
delete_participant(buyer_record_id, participant_id) ¶
Remove a Buyer Record participant.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
buyer_record_id | str | Buyer Record UUID. | required |
participant_id | str | Participant UUID. | required |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | An empty dictionary for the API's successful 204 response. |
get_buyer_record(buyer_record_id) ¶
Retrieve a Buyer Record.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
buyer_record_id | str | Buyer Record UUID. | required |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | Buyer Record details and participants. |
request_termination(buyer_record_id, reason) ¶
Request Buyer Record termination.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
buyer_record_id | str | Buyer Record UUID. | required |
reason | str | Termination reason, up to 255 characters. | required |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | An empty dictionary for the API's successful 204 response. |
search_buyer_records(params=None) ¶
Search Buyer Records with native pagination, sorting, and filters.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
params | Optional[Dict[str, Any]] | API query fields, such as pageNumber, pageSize, sortBy, sortDirection, ownerIds, lifecycleStates, officeIds, or searchText. | None |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | Page metadata and the buyerRecords collection. |
update_buyer_record(buyer_record_id, data) ¶
Update Buyer Record details.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
buyer_record_id | str | Buyer Record UUID. | required |
data | Dict[str, Any] | Fields to update, such as bbaDates, geographicInterest, officeId, or teamId. | required |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | An empty dictionary for the API's successful 204 response. |
update_participant(buyer_record_id, participant_id, data) ¶
Update a Buyer Record participant.
Parameters:
Show table
| Name | Type | Description | Default |
|---|---|---|---|
buyer_record_id | str | Buyer Record UUID. | required |
participant_id | str | Participant UUID. | required |
data | Dict[str, Any] | An internalParticipant or externalParticipant wrapper. Role updates use participantRole, rather than the creation field role. | required |
Returns:
Show table
| Type | Description |
|---|---|
Dict[str, Any] | An empty dictionary for the API's successful 204 response. |