activities

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

patch/companies/{companySlug}/activities/{activityId}

Request body

namestring

Name of the activity (must be unique within the company)

hourlyRateinteger

Default hourly rate in cents (125000 = 1250.00)

productIdinteger

ID of the product to use when invoicing this activity (optional)

billableboolean

Whether time entries with this activity should be billable by default

descriptionstring

Description of the activity (optional)

projectIdinteger

ID of the project this activity is associated with (optional)

Example request

{
  "name": "Development",
  "hourlyRate": 125000,
  "productId": 12345,
  "billable": true,
  "description": "Backend development work",
  "projectId": 12345
}

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.