---
title: "Update Company Settings"
method: PATCH
path: "/company/settings"
tags: ["Company"]
---

# Update Company Settings

`PATCH /company/settings`

Update the company settings.

## Request body

- UpdateCompanySettings
  - `timeEntries` object, nullable
    - `requiredFields` string[]
    - `defaultValues` string[]

## Response `200`

Company Settings updated successfully

- object
  - `data` Company
    - `id` string — The id of the company
    - `name` string — The name of the company
    - `address` string — The address of the company
    - `city` string — The city of the company
    - `zip` string — The zip of the company
    - `country` string — The country of the company
    - `phone` string — The phone of the company
    - `email` string — The admin email of the company
    - `invoice_email` string — The invoice email of the company
    - `force_oauth` boolean, nullable — Force OAuth
    - `oauth_provider` string, nullable — OAuth provider
    - `autoupdate_quantity` boolean, nullable — Autoupdate quantity
    - `subscription` object, nullable
      - `status` 'active' | 'canceled' — Subscription status
      - `product` 'basic' | 'trial' — Subscription product
      - `quantity` integer — Subscription quantity
      - `trial` boolean — Trial
      - `trial_ends_at` string, date-time — Trial ends at
      - `ends_at` string, date-time — Ends at
    - `pull_provider` string, nullable — Shows the active pull provider for clients, projects, services and users.
    - `push_provider` string, nullable — Shows the active push provider for time entries.
    - `settings` object, nullable — Shows the settings for the company.
      - `timeEntries` object, nullable
        - `requiredFields` string[]
        - `defaultValues` string[]
  - `success` boolean

## Other responses

- `401` — Error: Unauthorized
- `403` — Forbidden access or subscription and trial phase ended.
- `404` — Resource or page not found.
- `422` — Validation failed

---

[API](https://skmtc.net/timelink/apis/timelink-api.md) · [All operations](https://skmtc.net/timelink/apis/timelink-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/timelink/timelink-api/revisions/113f9953e62a/schema)
