Update customer
Scope: customers:write
Changes only the fields you send; send null to clear one. A customer must keep an email or a phone. Fires customer.updated.
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.
Path parameters
id
Customer ID
Request
Send only the fields to change.
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
OK
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
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error

