Get client profile by email
Retrieves a client's profile information by providing an email address.
If the response body fields are empty, the following situations may have occurred:
-
There is no client registered with the email address provided in your store, or;
-
Client profile is invalid or incomplete. However, you can use the query parameter ensureComplete=false to get incomplete profiles. For more information, see SmartCheckout - Customer information automatic fill-in.
⚠️ The authentication of this endpoint can change depending on the customer context. If you are consulting information from a customer with a complete profile on the store, the response will return the customer's data masked. You can only access the customer data with an authenticated request.
Permissions
Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise they will receive a status code 403 error. These are the applicable resources for this endpoint:
| Product | Category | Resource |
|---|---|---|
| Checkout | CheckoutResources | Shopping Cart Full Access |
You can create a custom role with that resource or use one of the following predefined roles:
| Role | Resource |
|---|---|
| Checkout Admin | Shopping Cart Full Access |
❗ Assigning a predefined role to users or application keys usually grants permission to multiple License Manager resources. If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see Best practices for using application keys.
To learn more about machine authentication at VTEX, see Authentication overview.
Query parameters
Client's email address to be searched.
Indicates whether the returned profiles must be complete or not.
Shows the product's estimated shipping date in the shippingEstimate field from the orderForm.
Headers
Type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Response
OK