Customers
Create Customer
Create a new billing customer in FlexPrice
POST
Use this endpoint when onboarding a new billing customer (e.g., sign-up or CRM sync). Ideal for linking viaDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/flexprice/flexprice/llms.txt
Use this file to discover all available pages before exploring further.
external_id to your app’s user ID.
Request Body
The unique identifier from your system to reference this customer. This is required and should match your internal user or account ID.
The full name or company name of the customer.
The customer’s email address. Must be a valid email format if provided.
The primary address line. Maximum 255 characters.
The secondary address line. Maximum 255 characters.
The city name. Maximum 100 characters.
The state, province, or region name. Maximum 100 characters.
The ZIP code or postal code. Maximum 20 characters.
The two-letter ISO 3166-1 alpha-2 country code (e.g., “US”, “GB”, “CA”).
Additional key-value pairs for storing extra information about the customer.
The internal FlexPrice ID of the parent customer for hierarchical customer relationships.
The external ID of the parent customer from your system. Provide either
parent_customer_id or parent_customer_external_id, but not both.Provider integration mappings for this customer (e.g., Stripe, Razorpay, PayPal).
When true, prevents the customer onboarding workflow from being triggered. Used internally to prevent infinite loops.
Response
The unique FlexPrice customer ID (e.g.,
cust_abc123).The external identifier you provided.
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 this is a child customer.
Custom metadata key-value pairs.
The environment ID this customer belongs to.
The tenant ID this customer belongs to.
The status of the customer (e.g.,
published).ISO 8601 timestamp of when the customer was created.
ISO 8601 timestamp of when the customer was last updated.
The ID of the user who created the customer.
The ID of the user who last updated the customer.