Skip to main content
PATCH
Update Account for a Managed Company

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string
default:en

The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.

Example:

"en"

Path Parameters

company-id
string<uuid>
required

Managing Company ID

managed-company-id
string<uuid>
required

Managed Company ID

id
string<uuid>
required

Account ID

Body

application/json

Update model for Account

name
string

Account name

department
string | null
deprecated

Department

department_id
string<uuid> | null

The ID of the associated Department.

This should be used instead of department.

primary_contact
Contact-Update · object
billing_contact
Contact-Update · object
address
Address-Update · object
billing_address
Address-Update · object
notes
string | null

Notes

account_types
enum<string>[]

Account type allowing for multiple values

Available options:
customer,
vendor
external_id
string | null

Identifier used to associate an account to any external system

accounting_id
string | null

The accounting ID of the Account mapping to any accounting system

truck_count
integer
default:0

The allowable number of trucks that is dispatchable to the customer of this account.

auto_accept_orders
boolean
default:false

Indicates whether orders and their jobs will be accepted automatcially into the vendor account.

connected_account
Account-Update · object

Update model for Account

label_ids
string<uuid>[]

Array of Label IDs to assign to this Account

auto_add_on_account_type
enum<string>
Available options:
customer,
vendor
Example:

"customer"

additional_auto_add_on_ids
string<uuid>[]

Response

OK

data
Account-Read · object
required