post
https://www.pelcro.com/api/v1/core/customers
Create a new customer account with profile information and optional metadata.
Overview
Create a new customer on your site. At minimum, provide an email address or old_provider_id or display_name.
Example: A new user registers on your site. Create a customer with their email and name, then store their company in metadata for segmentation.
Conditional Requirements
| Condition | Required Fields |
|---|---|
| Always | email OR old_provider_id OR display_name (at least one) |
| Account has TAP payment gateway active | email, first_name, last_name, phone |
import_payment_methods=true | payment_gateway_id (Stripe customer ID, format: cus_*) |
password_type is set | password |
password is set without password_type | Defaults to password_bcrypt |
Related Endpoints
- Customers - Overview of the customers API
