api.companies.create
POST /companies/fulldetails— ACPortal
Python
api.companies.create(*, data: CompanyDetails | dict) -> str
CLI
ab companies create [--data ...]
POST /companies/fulldetails.
Args:
data: Full company details payload.
Accepts a :class:CompanyDetails instance or a dict.
Request model: :class:CompanyDetails
Request body — CompanyDetails
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Company UUID |
|
|
no |
Nested company detail fields |
|
|
no |
Company preferences and logos |
|
|
no |
Service capabilities (bitmask or dict) |
|
|
no |
Company settings |
|
|
no |
Associated addresses |
|
|
no |
Associated contacts |
|
|
no |
Primary company address |
|
|
no |
Carrier account information |
|
|
no |
Pricing configuration |
|
|
no |
Insurance configuration |
|
|
no |
Final mile tariff groups |
|
|
no |
Tax configuration |
|
|
no |
Read-only access flag |
|
|
no |
User UUID |
|
|
no |
Company name |
|
|
no |
Contact name |
|
|
no |
Contact phone |
|
|
no |
Company type |
|
|
no |
Parcel-only flag |
|
|
no |
Third-party flag |
|
|
no |
Company code |
|
|
no |
Parent company name |
|
|
no |
Company type UUID |
|
|
no |
Parent company UUID |
|
|
no |
Company phone |
|
|
no |
Company email |
|
|
no |
Company fax |
|
|
no |
Company website URL |
|
|
no |
Industry type UUID |
|
|
no |
Industry type name |
|
|
no |
Tax ID |
|
|
no |
Customer cell phone |
|
|
no |
Company cell phone |
|
|
no |
PZ code |
|
|
no |
Referral code |
|
|
no |
Company logo filename |
|
|
no |
Letterhead logo filename |
|
|
no |
Thumbnail logo filename |
|
|
no |
Maps marker image filename |
|
|
no |
Color theme name |
|
|
no |
Franchisee maturity type UUID |
|
|
no |
Pricing UUID |
|
|
no |
Total rows count |
|
|
no |
Company insurance pricing data |
|
|
no |
Company service pricing data |
|
|
no |
Company tax pricing data |
|
|
no |
Wholesale markup |
|
|
no |
Base markup |
|
|
no |
Medium markup |
|
|
no |
High markup |
|
|
no |
Miles |
|
|
no |
Insurance type UUID |
|
|
no |
Global company flag |
|
|
no |
QuickBooks user flag |
|
|
no |
Skip Intacct flag |
|
|
no |
Access flag |
|
|
no |
Company display ID |
|
|
no |
Hierarchy depth |
|
|
no |
Franchisee name |
|
|
no |
Preferred flag |
|
|
no |
Created by user |
|
|
no |
Mapping locations |
|
|
no |
Location count |
|
|
no |
Base parent |
|
|
no |
Copy material from |
|
|
no |
Hidden flag |
|
|
no |
Don’t use flag |
|
|
no |
Main address |
|
|
no |
Account manager franchisee UUID |
|
|
no |
Account manager franchisee name |
|
|
no |
Carrier source company UUID |
|
|
no |
Carrier source company name |
|
|
no |
AutoPrice email notifications |
|
|
no |
AutoPrice SMS notifications |
|
|
no |
Commercial capabilities bitmask |
|
|
no |
Primary contact ID |
|
|
no |
Payer contact ID |
|
|
no |
Payer contact name |
|
|
no |
Total jobs count |
|
|
no |
Total jobs revenue |
|
|
no |
Total sales count |
|
|
no |
Total sales revenue |
|
|
no |
Read-only flag |
|
|
no |
Address data |
|
|
no |
Overridable address data |
|
|
no |
Company info summary |
|
|
no |
Company UUID (flat details response) |
|
|
no |
Address UUID (flat details response) |
|
|
no |
Address line 1 |
|
|
no |
Address line 2 |
|
|
no |
City |
|
|
no |
State |
|
|
no |
State code |
|
|
no |
Country name |
|
|
no |
Country code |
|
|
no |
Country UUID (flat details response) |
|
|
no |
ZIP code |
|
|
no |
Active flag |
|
|
no |
Created date |
|
|
no |
Created by UUID |
|
|
no |
Modified date |
|
|
no |
Modified by UUID |
|
|
no |
Latitude |
|
|
no |
Longitude |
|
|
no |
Result |
|
|
no |
Address mapping UUID |
|
|
no |
Contact UUID (flat details response) |
|
|
no |
User UUID (flat details response) |
|
|
no |
Primary customer name |
|
|
no |
Contact info |
Response
Returns str.