Documentation

LoyaltyLion Get Customer By Email

Gets the customer corresponding to the provided email address

Gets the customer corresponding to the provided email address. Returns an object.

Inputs

InputTypeDescription
EmailStringCustomer email address
TokenSensitiveStringLoyaltyLion Token (documentation can be found here
SecretSensitiveStringLoyaltyLion Secret (documentation can be found here

Outputs

OutputTypeDescription
SuccessBooleanWhether the customer was successfully retrieved or not.
CustomerObjectThe customer object corresponding to the provided email address. (documentation can be found here
Message (optional)StringIn case success is false, message will contain more information about the failure.