---
title: "Update a sandbox company's data"
method: PUT
path: "/sandbox/company"
tags: ["Sandbox"]
---

# Update a sandbox company's data

`PUT /sandbox/company`

## Request body

- CompanyWithoutId
  - `legal_name` string, nullable, required — The legal name of the company.
  - `entity` object, nullable, required — The entity type object.
    - `type` 'llc' | 'lp' | 'corporation' | 'sole_proprietor' | 'non_profit' | 'partnership' | 'cooperative' | 'null', nullable — The tax payer type of the company.
    - `subtype` 's_corporation' | 'c_corporation' | 'b_corporation' | 'null', nullable — The tax payer subtype of the company.
  - `primary_email` string, email, nullable, required — The email of the main administrator on the account.
  - `primary_phone_number` string, nullable, required — The phone number of the main administrator on the account. Format: E.164, with extension where applicable, e.g. `+NNNNNNNNNNN xExtension`
  - `departments` object[], nullable, required — The array of company departments.
    - `name` string, nullable — The department name.
    - `parent` object, nullable — The parent department, if present.
      - `name` string, nullable — The parent department's name.
  - `ein` string, nullable, required — The employer identification number.
  - `locations` Location[], nullable, required
    - `line1` string, nullable, required — Street address or PO box.
    - `line2` string, nullable, required — Apartment, suite, unit, or building.
    - `city` string, nullable, required — City, district, suburb, town, or village.
    - `state` string, nullable, required — The state code.
    - `postal_code` string, nullable, required — The postal code or zip code.
    - `country` string, nullable, required — The 2-letter ISO 3166 country code.
    - `name` string, nullable
    - `source_id` string, nullable
  - `accounts` object[], nullable, required — An array of bank account objects associated with the payroll/HRIS system.
    - `routing_number` string, nullable — A nine-digit code that's based on the U.S. Bank location where your account was opened.
    - `account_name` string, nullable — The name of the bank associated in the payroll/HRIS system.
    - `institution_name` string, nullable — Name of the banking institution.
    - `account_type` 'checking' | 'savings' | 'null', nullable — The type of bank account.
    - `account_number` string, nullable — 10-12 digit number to specify the bank account

## Response `200`

OK

- CompanyWithoutId
  - `legal_name` string, nullable, required — The legal name of the company.
  - `entity` object, nullable, required — The entity type object.
    - `type` 'llc' | 'lp' | 'corporation' | 'sole_proprietor' | 'non_profit' | 'partnership' | 'cooperative' | 'null', nullable — The tax payer type of the company.
    - `subtype` 's_corporation' | 'c_corporation' | 'b_corporation' | 'null', nullable — The tax payer subtype of the company.
  - `primary_email` string, email, nullable, required — The email of the main administrator on the account.
  - `primary_phone_number` string, nullable, required — The phone number of the main administrator on the account. Format: E.164, with extension where applicable, e.g. `+NNNNNNNNNNN xExtension`
  - `departments` object[], nullable, required — The array of company departments.
    - `name` string, nullable — The department name.
    - `parent` object, nullable — The parent department, if present.
      - `name` string, nullable — The parent department's name.
  - `ein` string, nullable, required — The employer identification number.
  - `locations` Location[], nullable, required
    - `line1` string, nullable, required — Street address or PO box.
    - `line2` string, nullable, required — Apartment, suite, unit, or building.
    - `city` string, nullable, required — City, district, suburb, town, or village.
    - `state` string, nullable, required — The state code.
    - `postal_code` string, nullable, required — The postal code or zip code.
    - `country` string, nullable, required — The 2-letter ISO 3166 country code.
    - `name` string, nullable
    - `source_id` string, nullable
  - `accounts` object[], nullable, required — An array of bank account objects associated with the payroll/HRIS system.
    - `routing_number` string, nullable — A nine-digit code that's based on the U.S. Bank location where your account was opened.
    - `account_name` string, nullable — The name of the bank associated in the payroll/HRIS system.
    - `institution_name` string, nullable — Name of the banking institution.
    - `account_type` 'checking' | 'savings' | 'null', nullable — The type of bank account.
    - `account_number` string, nullable — 10-12 digit number to specify the bank account

---

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