Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. Relation
  • Omni
  • Contact APIs
  • NameSpace
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Delete
      DELETE
  • Address
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Bank
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Props
    • Update Props
      PUT
    • Get Props
      GET
    • Delete Props
      DELETE
  • Relation
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Contact
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Dedupe
      POST
    • Active
      PUT
    • Inactive
      PUT
    • Reject
      PUT
    • Approve
      PUT
  1. Relation

Update

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
PATCH
/contacts/relations/{contact_relation_id}/
Last modified:2025-04-02 08:37:06

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
contact_relation_id
string 
required
Example:
{{contact_relation_id}}
Body Params application/json
contact
string 
required
Unique identifier for the contact, must be alphanumeric or UUID
type
enum<string> 
required
Relationship type between the contact and related contact
Allowed values:
fathermotherspousechildsiblingfriendco_applicantguarantorwitnessnominee
related_contact
string  | null 
optional
Unique identifier for the related contact, must be alphanumeric or UUID
Example
{
    "contact": "string",
    "type": "father",
    "related_contact": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH 'https://preprod.api.crego.io/contacts/relations/{{contact_relation_id}}/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contact": "string",
    "type": "father",
    "related_contact": "string"
}'

Responses

🟢200OK
application/json
Body
id
string 
required
tenant_id
string 
required
created_by
string 
required
updated_by
string 
required
created_at
string 
required
updated_at
string 
required
type
string 
required
tags
array[string]
required
refs
object 
required
contact
string 
required
related_contact
string 
required
props
array[string]
required
Example
{
    "id": "string",
    "tenant_id": "string",
    "created_by": "string",
    "updated_by": "string",
    "created_at": "string",
    "updated_at": "string",
    "type": "string",
    "tags": [
        "string"
    ],
    "refs": {},
    "contact": "string",
    "related_contact": "string",
    "props": [
        "string"
    ]
}
Previous
Create
Next
List
Built with