Pipedrive API

Getting access, Developing, Testing

Back to Pipedrive

Update an organization relationship

Updates and returns an organization relationship.

Input

type: object properties: parameters: type: object properties: id: type: integer description: The ID of the organization relationship required: - id data: title: organizationRelationship type: object properties: org_id: type: integer description: The ID of the base organization for the returned calculated values type: type: string enum: - parent - related description: The type of organization relationship rel_owner_org_id: type: integer description: >- The owner of this relationship. If type is `parent`, then the owner is the parent and the linked organization is the daughter. rel_linked_org_id: type: integer description: >- The linked organization in this relationship. If type is `parent`, then the linked organization is the daughter.

Output

title: updateOrganizationRelationshipResponse200 type: object properties: success: type: boolean description: If the response is successful or not data: type: object properties: id: type: integer description: The ID of the organization relationship type: type: string description: The type of the relationship rel_owner_org_id: title: relationshipOrganizationInfoItem type: object properties: name: type: string description: The name of the organization associated with the item people_count: type: integer description: >- The number of people connected with the organization that is associated with the item owner_id: type: integer description: >- The ID of the owner of the organization that is associated with the item address: type: string description: The address of the organization cc_email: type: string description: The BCC email of the organization associated with the item value: type: integer description: The ID of the organization rel_linked_org_id: title: relationshipOrganizationInfoItem type: object properties: name: type: string description: The name of the organization associated with the item people_count: type: integer description: >- The number of people connected with the organization that is associated with the item owner_id: type: integer description: >- The ID of the owner of the organization that is associated with the item address: type: string description: The address of the organization cc_email: type: string description: The BCC email of the organization associated with the item value: type: integer description: The ID of the organization add_time: type: string description: The creation date and time of the relationship update_time: type: string description: The last updated date and time of the relationship active_flag: type: string description: Whether the relationship is active or not related_objects: type: object properties: organization: type: object properties: ORGANIZATION_ID: type: object description: The ID of the organization associated with the item properties: id: type: integer description: The ID of the organization associated with the item name: type: string description: The name of the organization associated with the item people_count: type: integer description: >- The number of people connected with the organization that is associated with the item owner_id: type: integer description: >- The ID of the owner of the organization that is associated with the item address: type: string description: The address of the organization cc_email: type: string description: The BCC email of the organization associated with the item