Skip to main content
POST
Create customer

Authorizations

Authorization
string
header
required

Company API key from the developer platform. Header: Authorization: Bearer cw_live_…. The key must hold the scope each operation lists.

Query Parameters

expand
string

Body

application/json
displayName
string
required
Required string length: 1 - 255
serviceIds
string[]
required

Prefer identifier strings (DUMPSTER, LIVE_LOAD, MINIS, COMMERCIAL_ROUTE, RESIDENTIAL_ROUTE) — same across companies. A service id UUID from GET /v1/services also works. Numeric code is not accepted. Each service must be active for this company. At least one is required.

Required array length: 1 - 50 elements
Minimum string length: 1
paymentPolicyId
null | string<uuid>

Optional payment policy id. When omitted, the company flagged default is used. When neither is available, create fails with PAYMENT_POLICY_REQUIRED.

email
null | string<email>
phone
null | string
Maximum string length: 50
companyName
null | string
Maximum string length: 255
billingEmails
null | string<email>[]

Billing recipient emails. Deduped on write. Empty array or null stores none.

Maximum array length: 50
notes
null | string

Account notes. Empty string or null stores null.

Maximum string length: 10000
customerLabelIds
null | string<uuid>[]

Customer-scoped label ids from search_labels. When either label array is present, both replace the full set (omitted array means empty). Must not overlap with globalLabelIds. Both omitted assigns no labels.

Maximum array length: 50
globalLabelIds
null | string<uuid>[]

Global label ids from search_labels (also applied to active locations). When either label array is present, both replace the full set (omitted array means empty). Must not overlap with customerLabelIds. Both omitted assigns no labels.

Maximum array length: 50

Response

201 - application/json
data
object
required