put
https://www.pelcro.com/api/v1/core/customers/
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Update an existing customer's profile. You can modify contact information, marketing preferences, and metadata.
Example: A customer changes their email address. Update the customer with the new email value.
Behavior
metadatais merged with existing metadata, not replaced. To remove a key, set it tonull.- Setting
organizationtonullremoves the customer from their organization. - Setting
default_source_idupdates the default payment method and syncs it.
Conditional Requirements
| Condition | Required Fields |
|---|---|
password_type is set | password |
password is set without password_type | Defaults to password_bcrypt |
default_source_id is set | Must be a valid source belonging to this customer |
| Account has TAP payment gateway active | Cannot set email, first_name, last_name, or phone to null/empty |
