Skip to main content
POST
Create a new Account

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"

Body

application/json
name
string
required

Account name

account_types
enum<string>[]
required

Account type allowing for multiple values

Available options:
customer,
vendor
auto_accept_orders
boolean
default:false
required

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

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-Create · object
billing_contact
Contact-Create · object
address
Address-Create · object
billing_address
Address-Create · object
notes
string | null

Notes

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

company_id
string<uuid>
truck_count
integer | null
default:0

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

label_ids
string<uuid>[]

Array of Label IDs to assign to this account.

Response

Created

data
Account-Read · object
required