Create a ProAbono customer (write)
create_customerCreate or update a ProAbono customer using your app's user reference. Provision at sign-up or first login to enable hosted pages and rights checks.
Instructions
WRITE. Creates a ProAbono customer in the configured Segment, keyed by the reference the merchant's application uses for the logged-in user. The endpoint is an upsert on that reference: if a customer with it already exists, this updates them instead of failing. Provisioning the customer early -- at sign-up or first login -- is the recommended path, because the hosted pages and the rights read both need the customer to exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Internal name, shown in the BackOffice. | |
| No | The customer's email address. | ||
| language | No | ISO 639 language code, e.g. "en". | |
| metadata | No | Free key/value pairs stored on the record. At most 5 keys, 450 characters per value. | |
| customer_ref | Yes | Shared reference, derived from the application's user identifier. |