RelationshipUpsertItem
source objectrequired
The originating organization of the relationship. Identified using either an internal ID or an external ID
Type of identifier used
internal- Internal system IDexternal- External/customer-defined ID
Possible values: [internal, external]
internalexternalThe ID value of the source organization
Possible values: <= 100 characters
ID-123target objectrequired
The receiving organization of the relationship. Identified using either an internal ID or an external ID
Type of identifier used
internal- Internal system IDexternal- External/customer-defined ID
Possible values: [internal, external]
internalexternalThe ID value of the target organization
Possible values: <= 100 characters
LC-111leadSupplier objectnull
Represents the designated lead supplier within the relationship. This organization typically takes primary responsibility in managing the relationship or coordinating activities across related organizations.
Specifies whether the ID is internal (system-generated) or external (provided by the API consumer).
internal- Internal system IDexternal- External/customer-defined ID
Possible values: [internal, external]
externalThe ID of the lead supplier organization, based on the selected kind.
Possible values: <= 100 characters
ID-123Defines the relationship type between the organizations. Values must match one of the available relationship types. Refer to the List Relationship Types endpoint to retrieve the full list of supported values
Possible values: <= 100 characters
direct supplierIndicates the current status of the supplier relationship.
Possible values: [active, inactive]
activecustomFields object
Key-value pairs for relationship-specific data fields
{
"source": {
"kind": "external",
"value": "ID-123"
},
"target": {
"kind": "external",
"value": "LC-111"
},
"leadSupplier": "Unknown Type: object,null",
"type": "direct supplier",
"relationshipStatus": "active",
"customFields": {
"custom1": "2025-01-01",
"priority": "high",
"notes": "Primary supplier relationship"
}
}