Gets the customer corresponding to the provided email address. Returns an object.
| Input | Type | Description |
|---|
| Email | String | Customer email address |
| API Key | SensitiveString | LoyaltyLion API Key (documentation can be found here |
| Output | Type | Description |
|---|
| Success | Boolean | Whether the customer was successfully retrieved or not. |
| Customer | Object | The customer object corresponding to the provided email address. (documentation can be found here |
| Message (optional) | String | In case success is false, message will contain more information about the failure. |