Fidelimax icon

Fidelimax

Integration with the Fidelimax API - Loyalty Program

Get Customer Details

AI-generated

Summary

Retrieve detailed personal information about a customer using either their CPF or phone number, optionally including their address and tags in the response.

Inputs

  • CPF — Customer CPF (required if phone is not provided)
  • Phone — Customer phone number in the format (11)99999-9999 (required if CPF is not provided)
  • Include Address — Whether to include the customer's address in the response
  • Include Tags — Whether to include the customer's tags in the response

Output shape

a list of JSON objects each containing customer personal details including name, gender, birth date, email, phone, registration date, last purchase date, frozen status, referral URL, response code, and error message. Optionally includes an address object and tags array depending on input parameters.

Requires either CPF or phone to be provided; will throw an error if both are missing. The address and tags are included only if their corresponding boolean inputs are set to true. Returns one output item per input item processed. Errors can be returned per item if workflow is set to continue on failure.

Examples

Example 1: Retrieve customer details with CPF and include address and tags

Set CPF input to customer CPF number, set Include Address and Include Tags to true. Leave Phone empty.

Links

Discussion