SubOrganizationRelationship
Represents a relationship between a sub-organization and a target organization
target objectrequired
The organization linked to the sub-organization
idintegerrequired
Internal ID of the organization
Example:
5537externalIdstring | nullnullablerequired
External ID of the organization, as provided by the API consumer
Possible values: <= 255 characters
Example:
ID-LOCALtypestringrequired
Type of the organization.
- F: Factory
- S: Supplier
- R: Retailer
- B: Brand
- I: Inspection Agency
Possible values: [F, S, B, R, I]
Example:
Bnamestringrequired
Display name of the organization
Possible values: <= 255 characters
Example:
LOCAL_ORG_CHECKinspIdstring | nullnullablerequired
System identifier used in application URLs (nullable)
Possible values: <= 10 characters
Example:
nullexternalStatusstring | nullnullablerequired
Organization status as defined by the external system or API consumer (nullable)
Possible values: [active, inactive, awaiting approval, draft, suspended, blacklisted, closed]
Example:
draftrelationshipStatusstringrequired
Indicates the current status of the relationship
Possible values: [active, inactive]
Example:
activeSubOrganizationRelationship
{
"target": {
"id": 5537,
"externalId": "ID-LOCAL",
"type": "B",
"name": "LOCAL_ORG_CHECK",
"inspId": null,
"externalStatus": "draft"
},
"relationshipStatus": "active"
}