RelationshipListResponseV2
Response containing list of relationships
data object[]required
Array of relationships associated with the specified organization
target objectrequired
The organization at the other end of the relationship
Internal ID of the organization
1122External ID of the organization, as provided by the API consumer
Possible values: <= 255 characters
F1111Type of the organization.
- F: Factory
- S: Supplier
- R: Retailer
- B: Brand
- I: Inspection Agency
Possible values: [F, S, B, R, I]
FDisplay name of the organization
Possible values: <= 255 characters
Local Factory 111System identifier used in application URLs (nullable)
Possible values: <= 10 characters
nullleadSupplier object
The designated lead supplier for this relationship, if defined
- RelationshipOrganization
- null
Internal ID of the organization
1122External ID of the organization, as provided by the API consumer
Possible values: <= 255 characters
F1111Type of the organization.
- F: Factory
- S: Supplier
- R: Retailer
- B: Brand
- I: Inspection Agency
Possible values: [F, S, B, R, I]
FDisplay name of the organization
Possible values: <= 255 characters
Local Factory 111System identifier used in application URLs (nullable)
Possible values: <= 10 characters
nullThe relationship types between the organizations, defined by the customer. Refer to the List Relationship Types endpoint to retrieve the full list of supported values.
Possible values: <= 255 characters
["contract manufacturer"]Key-value pairs for any custom data linked to the relationship
{"custom1":"2025-01-01"}contacts object[]
Contact persons associated with this relationship
First name of the contact person
Possible values: <= 100 characters
JoeLast name of the contact person
Possible values: <= 100 characters
BlogsEmail address of the contact person
Possible values: <= 255 characters
[email protected]Phone number of the contact person
Possible values: <= 50 characters
+49 30 123456Job title or role of the contact person, can refer from List Contact Roles API
Possible values: <= 100 characters
Sourcing ManagerList of permissions granted to the user for managing or viewing this relationship
Possible values: [read, edit, full, share, relationship-read, relationship-edit, request-onboard]
["edit","full","read"]{
"data": [
{
"target": {
"id": 1122,
"externalId": "F1111",
"type": "F",
"name": "Local Factory 111",
"inspId": null
},
"leadSupplier": {
"id": 1122,
"externalId": "F1111",
"type": "F",
"name": "Local Factory 111",
"inspId": null
},
"types": [
"contract manufacturer"
],
"customFields": {
"custom1": "2025-01-01"
},
"contacts": [
{
"firstName": "Joe",
"lastName": "Blogs",
"phoneNumber": "+49 30 123456",
"role": "Sourcing Manager"
}
],
"permissions": [
"edit",
"full",
"read"
]
}
]
}