def METHOD_NAME(shopify_erasure_identity_email: str, shopify_secrets):
    """
    Confirm whether customer exists by calling customer search by email api and comparing resulting firstname str.
    Returns customer ID if it exists, returns None if it does not.
    """
    base_url = f"https://{shopify_secrets['domain']}"
    headers = {"X-Shopify-Access-Token": f"{shopify_secrets['access_token']}"}
    customer_response = requests.get(
        url=f"{base_url}/admin/api/2022-07/customers.json?email={shopify_erasure_identity_email}",
        headers=headers,
    )
    # we expect 404 if customer doesn't exist
    if 404 == customer_response.status_code:
        return None
    return customer_response.json()