Create customer
Scope: customers:write
first_name,last_name(required)emailand/orphone— at least one. Must not match another of your customers (422names the field).dob(YYYY-MM-DD),address_1,address_2,city,state,postal_code,country(optional)
Returns 201 with the customer. Fires customer.created.
Authentication
AuthorizationBearer
An API token from Settings → API tokens in Fleetwire, sent as Authorization: Bearer …. Each token carries scopes: read for every GET, plus write scopes such as bookings:write.
Request
This endpoint expects an object.
first_name
last_name
email
Required when there is no phone (on create).
phone
Required when there is no email (on create).
dob
Date of birth, before today.
address_1
address_2
city
state
postal_code
country
Response
Created
id
first_name
last_name
email
phone
dob
address
source
email_verified_at
identity_verified_at
bookings_count
total_spent_in_cents
last_trip_end
created_at
updated_at
Errors
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error

