Omniwallet - Create Customer
AI-generatedSummary
Create a new customer in the Omniwallet API with specified personal details and loyalty information.
Inputs
- Email (required) — The customer's email address.
- Name (required) — The customer's first name.
- Last Name — The customer's last name.
- Phone — The customer's phone number.
- Level — The customer's loyalty level.
- Points — The initial loyalty points for the customer (defaults to 0).
- Card — A specific card number for the customer; leave empty to have one automatically generated by the API.
Output shape
A single JSON object representing the newly created customer record.
The output includes a 'pairedItem' field linking to the original input. If the 'Continue On Fail' option is enabled and an error occurs, an object with an 'error' field containing the error message will be returned instead of a customer record.
Examples
Example 1: Register a new customer with only mandatory information.
Set 'Email' to 'john.doe@example.com' and 'Name' to 'John'.
Example 2: Create a customer with a specific loyalty card number.
Set 'Email' to 'jane.smith@example.com', 'Name' to 'Jane', and 'Card' to '123456789'.
Example 3: Add a new customer with initial loyalty points.
Set 'Email' to 'alice.jones@example.com', 'Name' to 'Alice', and 'Points' to '100'.