Shopify Get Customer By Email
This action verifies whether a Shopify customer has historically used only a single first name across all of their saved addresses. It searches for the customer by email, retrieves their address list, extracts the first names, and confirms that they all match the customer’s primary first name.
Inputs
Name | Type | Description |
---|---|---|
String | The email address of the customer to search for. | |
Domain | String | The shop’s myshopify.com subdomain (e.g., your-store for your-store.myshopify.com ). |
Token | Credentials | Shopify access credentials. Provide either a Basic auth header or a bearer token. |
Outputs
Name | Type | Description |
---|---|---|
Success | Boolean | true if the customer has used only one first name across all addresses; otherwise false . |
First Name | String | (Success only) The normalized first name used by the customer when all addresses match. |
Customer | Object | (Success only) Full customer object returned by Shopify. |
Error | String | (Failure only) Error reason: either multiple names used for shipping or could not retrieve any customers with this email . |
Notes
- Uses the Shopify Admin REST API version
2024-01
. - If the customer has no addresses or multiple distinct first names, the action returns an error and
success: false
. - In case of network or API errors, the action returns
success: false
and includes the error message.
Updated about 13 hours ago