---
title: "PATCH /companies/{companySlug}/activities/{activityId}"
method: PATCH
path: "/companies/{companySlug}/activities/{activityId}"
tags: ["activities"]
---

# PATCH /companies/{companySlug}/activities/{activityId}

`PATCH /companies/{companySlug}/activities/{activityId}`

Partially updates activity with provided id. Only provided fields will be updated.

## Request body

- UpdateActivityRequest — Partial update request for activity. Only provided fields will be updated.
  - `name` string — Name of the activity (must be unique within the company)
  - `hourlyRate` integer — Default hourly rate in cents (125000 = 1250.00)
  - `productId` integer — ID of the product to use when invoicing this activity (optional)
  - `billable` boolean — Whether time entries with this activity should be billable by default
  - `description` string — Description of the activity (optional)
  - `projectId` integer — ID of the project this activity is associated with (optional)

## Response `200`

OK

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) · [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fiken/fiken-api/revisions/2473dacdb89c/schema)
