Skip to main content
PUT
Update a customer

Overview

Update a customer’s profile information, contact details, or addresses. Use this endpoint to keep customer data current or to correct information after initial order creation.

Common Use Cases

  • Profile Updates: Customer changed their phone number or email
  • Company Changes: Customer switched jobs or company renamed
  • Address Updates: Customer moved to a new location
  • Data Correction: Fix typos or errors from initial order entry
  • CRM Sync: Update customer data from external systems

Updatable Fields

Partial Updates

Only include fields you want to change:

Updating Addresses

Update billing or shipping addresses:
Address fields:

Example: Update Contact Information

Example: Update for Company Merger

Changing Customer Type

Convert between individual and business:
Changing customer type to business enables features like billing groups for consolidated invoicing.

Impact on Existing Data

Updates only affect the customer profile. Existing orders and subscriptions retain the information captured at the time of creation.

Authorizations

Authorization
string
header
required

API key obtained from FlexPortal dashboard

Headers

Tenant-ID
string
required

Your tenant identifier

Path Parameters

customerId
string
required

The customer ID

Body

application/json
customerId
string
required
Minimum string length: 1
firstName
string
Minimum string length: 1
lastName
string
Minimum string length: 1
company
string
phone
string
customerType
enum<string>
Available options:
individual,
business
status
enum<string>
Available options:
active,
inactive
billingAddress
object
shippingAddress
object

Response

Customer updated

success
enum<boolean>
required
Available options:
true
message
string
required
customerId
string
required
customer
object
required