Skip to main content
POST
Update a company

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

companyId
integer
required

The unique identifier of the company

Body

application/json
name
string | null

Company name

Maximum string length: 255
Example:

"Acme Corporation"

client_type
object | null

Client type information. Can provide either id or name. If name is provided and type doesn't exist, it will be created.

price_level
object | null

Default price level to assign to the company. Provide either id or name; id takes precedence. The price level must already exist and be active — unlike client_type, price levels are never auto-created (they are admin-configured entities with percent_increase values). A non-matching id or name returns a 422. Omit the field to leave it unchanged.

parent_company_id
integer | null

ID of the parent company

Example:

456

address
string | null

Street address for the company

Maximum string length: 255
Example:

"123 Main St"

address_line_2
string | null

Additional address information

Maximum string length: 255
Example:

"Suite 500"

city
string | null

City

Maximum string length: 255
Example:

"Austin"

state
string | null

State/province

Maximum string length: 255
Example:

"TX"

postal_code
string | null

Postal/ZIP code

Maximum string length: 255
Example:

"78701"

country
string | null

Country

Maximum string length: 255
Example:

"USA"

phone
string | null

Primary phone number for the company

Maximum string length: 255
Example:

"555-123-4567"

fein
string | null

Federal Employer Identification Number

Maximum string length: 255
Example:

"12-3456789"

tax_exempt
boolean | null

Whether the company is exempt from taxes

Example:

false

notes
string | null

Additional notes about the company

Example:

"Key account, requires special handling"

payment_term
string | null

Payment terms label (e.g. "Net 30"). Must match a supported payment term.

Example:

"Net 30"

due_date_days
integer | null

Number of days until payment is due (used when payment_term is "Custom")

Required range: x >= 0
Example:

45

header_discount_enabled
boolean | null

Whether to apply an order-header trade discount by default for this company

Example:

false

header_discount_type
enum<string> | null

How the header discount is calculated — a percentage of the order or a fixed amount

Available options:
PERCENT,
FIXED_AMOUNT
Example:

"PERCENT"

header_discount_value
number<float> | null

The header discount amount — a percentage when header_discount_type is PERCENT, otherwise a fixed currency amount

Required range: x >= 0
Example:

5

header_discount_effective_from
string<date> | null

Date from which the header discount takes effect (YYYY-MM-DD)

Example:

"2026-01-01"

tags
string[] | null

List of tags to associate with the company

Maximum string length: 255
Example:
custom_fields
object | null

Custom field values for the company

Example:
assigned_sales_reps
object[] | null

Sales rep users (Go Team members) assigned to this company. Each entry must include id or email. Passing this field syncs the list — entries not present are removed. Pass an empty array to clear all assignments. Omit the field to leave the current assignments unchanged.

sales_channel
object | null

Set the company's default sales channel. Provide id or label to match an existing active channel — id takes precedence. Channels are never auto-created. Pass an explicit null to clear the assignment.

Response

Company successfully updated

data
object