---
title: "Change one onboarding step's status, owner or note (p14,"
method: PATCH
path: "/accountant/companies/{customerId}/onboarding-steps/{stepKey}"
tags: ["Accountant Portal"]
---

# Change one onboarding step's status, owner or note (p14,

`PATCH /accountant/companies/{customerId}/onboarding-steps/{stepKey}`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/onboarding-steps/{stepKey}`
- Auth: HTTP bearer

Any of the client's accountants changes a step; each change writes one history row. The owner must be an accountant assigned to the client (422 ONBOARDING_OWNER_NOT_ASSIGNED). Marking step 5 (chart and opening balances) or 8 (Go live) done needs the client's reviewer, or a reviewer when the client has none, or the firm admin (403 ONBOARDING_REVIEWER_ONLY), and not a person who owns a step before Go live (403 ONBOARDING_OWNER_CANNOT_APPROVE). Go live is done only when steps 1 to 7 are (409 ONBOARDING_STEPS_OPEN with openSteps). While step 5 or Go live is done, only the client's reviewer or the firm admin changes it (403 ONBOARDING_REVIEWER_ONLY). A person who approved step 5 or Go live is not made owner of a step before Go live (403 ONBOARDING_APPROVER_CANNOT_OWN), and ownership is checked as it stands after the change. Saving a step that stays done keeps who confirmed it and when; moving it back to open or waiting clears them. On `go_live`: `targetLiveOn` (YYYY-MM-DD or null, rejected on other steps with 422) persists `companies.onboarding_target_live_on`; approving `go_live` moves a `test` client to `active` (leaving `metricsEnabled` untouched) and stamps `onboardingCompletedAt`; undoing `go_live` moves an `active` client back to `test` (dropping live Penny capabilities to Shadow via GB-026) and clears `onboardingCompletedAt`. Answers the whole steps read. A signed-in person only.

## Path parameters

- `customerId` string, uuid, required
- `stepKey` 'offer_paid' | 'profile_confirmed' | 'sources_connected' | 'quickbooks_coverage' | 'chart_and_opening_balances' | 'client_questions' | 'first_month_shadow' | 'go_live', required

## Request body

- object
  - `status` 'open' | 'waiting' | 'done'
  - `ownerUserId` string, uuid, nullable
  - `note` string, nullable
  - `targetLiveOn` string, date, nullable

## Response `200`

The steps after the change

- object
  - `success` true, required
  - `data` OnboardingSteps, required
    - `customerId` string, uuid, required
    - `done` integer, required
    - `total` integer, required
    - `open` integer[], required
    - `targetLiveOn` string, date, nullable, required
    - `clientStatus` 'test' | 'active' | 'inactive' | 'null', nullable, required
    - `onboardingCompletedAt` string, date-time, nullable, required
    - `goLive` object, required
      - `ready` boolean, required
      - `approvedBy` object, nullable, required
        - `userId` string, uuid, required
        - `name` string, nullable, required
      - `approvedAt` string, date-time, nullable, required
    - `steps` object[], required
      - `number` integer, required
      - `key` 'offer_paid' | 'profile_confirmed' | 'sources_connected' | 'quickbooks_coverage' | 'chart_and_opening_balances' | 'client_questions' | 'first_month_shadow' | 'go_live', required
      - `name` string, required
      - `status` 'open' | 'waiting' | 'done', required
      - `owner` object, nullable, required
        - `userId` string, uuid, required
        - `name` string, nullable, required
      - `confirmedBy` object, nullable, required
        - `userId` string, uuid, required
        - `name` string, nullable, required
      - `confirmedAt` string, date-time, nullable, required
      - `note` string, nullable, required
      - `updatedAt` string, date-time, nullable, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `409`: Request conflicts with the durable onboarding state
- `422`: Request failed validation

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/onboarding-steps/:stepKey/patch.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
