Create Customer
AI-generatedSummary
Create a new customer in the Fidelimax loyalty program using provided personal details and optional initial points balance.
Inputs
- Name (required) — Full name of the customer.
- CPF — Customer CPF, required if phone is not provided.
- Phone — Customer phone number in format (11)99999-9999, required if CPF is not provided.
- Gender — Customer gender, selectable as Male (Masculino) or Female (Feminino), default is Male.
- Email — Customer email address.
- Date of Birth — Customer birth date in format dd/mm/yyyy.
- Initial Balance — Initial loyalty points balance for the customer, defaults to 0.
Output shape
a list of JSON objects, each representing the API response for the created customer.
Returns the raw response from the Fidelimax API for each created customer input. Items processed in batch corresponding to workflow input items. Errors may be returned per item if continue on fail is enabled.
Examples
Example 1: Create a customer with full details
Provide customer's name (required), and one of CPF or phone number, optionally filling gender, email, birth date, and initial points balance. On execution, a new customer record is created in Fidelimax's system.