Customers
Update Customer
Update an existing customer’s details
PUT
Use this endpoint when updating customer details (e.g., name, email, or metadata). You can identify the customer by FlexPrice ID or external customer ID.
Path Parameters
The unique FlexPrice customer ID (e.g.,
cust_abc123xyz789). Can be provided as path parameter or query parameter.Query Parameters
The unique FlexPrice customer ID. Alternative to path parameter.
The external customer ID from your system. Use this to update by your own identifier instead of the FlexPrice ID.
Provide either
id (as path or query parameter) or external_customer_id, but not both. If both are provided, they must refer to the same customer.Request Body
All fields are optional. Only the fields you provide will be updated.Updated external identifier for the customer.
Updated name or company name.
Updated email address. Must be a valid email format if provided.
Updated primary address line. Maximum 255 characters.
Updated secondary address line. Maximum 255 characters.
Updated city name. Maximum 100 characters.
Updated state, province, or region name. Maximum 100 characters.
Updated postal code. Maximum 20 characters.
Updated two-letter ISO 3166-1 alpha-2 country code.
Updated metadata key-value pairs. This will replace the existing metadata completely.
Updated parent customer FlexPrice ID.
Updated parent customer external ID. Provide either
parent_customer_id or parent_customer_external_id, but not both.Updated provider integration mappings.
Response
The unique FlexPrice customer ID.
The external identifier.
The customer’s name or company name.
The customer’s email address.
Primary address line.
Secondary address line.
City name.
State or region name.
Postal code.
Two-letter country code.
The parent customer ID if applicable.
Custom metadata key-value pairs.
The environment ID.
The tenant ID.
The customer status.
ISO 8601 timestamp of creation.
ISO 8601 timestamp of last update.
The ID of the user who created the customer.
The ID of the user who last updated the customer.