manage_relationship

Create, read, update, or delete relationships between records. Relationships are typed, directed links with optional metadata.

Parameters

NameTypeRequiredDescription
actionenum: upsert | get | deleteYes
workspace_idstringYesTarget workspace ID
relationship_idstringNoRequired for get/delete. Generated on upsert if omitted.
rel_typestringNoRelationship type, e.g. 'invoice_to_contact'
source_collectionstringNo
source_idstringNo
target_collectionstringNo
target_idstringNo
dataobjectNoMetadata on the relationship