PUT
/
core
/
companies
/
{company_id}

curl --request PUT \
  --url https://integrate.rootfi.dev/v3/core/companies/{company_id} \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api_key>' \
  --data '{
  "name": "RootFi Test Company"
}'
{
  "data": [
    {
      "rootfi_created_at": "2023-11-07T05:31:56Z",
      "rootfi_id": 123,
      "rootfi_updated_at": "2023-11-07T05:31:56Z",
      "activity_log": [
        {
          "activity_type": "ORG_CREATED",
          "rootfi_created_at": "2021-08-10T12:00:00Z",
          "rootfi_id": 1,
          "rootfi_updated_at": "2021-08-10T12:00:00Z"
        }
      ],
      "connections": [
        {
          "category": "PAYMENTS",
          "connection_status": "HEALTHY",
          "integration_type": "ZOHO_BOOKS",
          "last_synced": "2021-08-10T12:00:00Z",
          "rate_limits": {
            "counters": {},
            "lastReset": {},
            "maxLimits": {}
          },
          "rootfi_created_at": "2021-08-10T12:00:00Z",
          "rootfi_id": 1,
          "rootfi_updated_at": "2021-08-10T12:00:00Z",
          "sync_resume_at": "2021-08-10T12:00:00Z",
          "sync_status": "IDLE",
          "tally_last_active_at": "2021-08-10T12:00:00Z",
          "zoho_sub_calls_enabled": true
        }
      ],
      "invite_link": {
        "integration_categories": [
          "PAYMENTS"
        ],
        "integrations": [
          "ZOHO_BOOKS"
        ],
        "invite_link_id": "1",
        "rootfi_created_at": "2021-08-10T12:00:00Z",
        "rootfi_id": 1
      },
      "name": "Rootfi"
    }
  ],
  "next": "<string>"
}

Authorizations

api_key
string
headerrequired

Path Parameters

company_id
string
required

The ID of the company to update

Body

application/json
name
string | null

Name of the company

Response

200 - application/json
data
object[]
required

The data of the company endpoint

next
string | null

The next page of objects to retrieve