Fidelimax icon

Fidelimax

Integration with the Fidelimax API - Loyalty Program

Find Customer

AI-generated

Summary

Finds an existing customer in the Fidelimax loyalty program using either the customer's CPF or phone number. Optionally returns the customer's current category.

Inputs

  • CPF — Customer CPF (required if phone number is not provided).
  • Phone — Customer phone number (required if CPF is not provided).
  • Return Category — Boolean flag to indicate whether to include the current category of the customer in the response.

Output shape

a list of items, each with the raw JSON response from the Fidelimax API about the customer found.

Exactly one of CPF or Phone must be provided. The response includes customer data as returned by /api/Integracao/ConsultaConsumidor endpoint. If both identifiers are missing, the operation throws an error. Errors can be handled via 'Continue On Fail' mode.

Examples

Example 1: Find customer by CPF and return category

Provide CPF as input with 'Return Category' set to true to retrieve the customer's data along with their current category.

Links

Discussion