how to create code in graphql for login page without password field…
===============Query Mutation Work on admin side====================
mutation createCustomerMetafields($input: CustomerInput!) {
customerCreate(input: $input) {
customer {
id
lastName
phone
email
metafields(first: 3) {
edges {
node {
id
namespace
key
value
}
}
}
}
userErrors {
message
field
}
}
}
===============variables====================
{
“input”: {
“metafields”: [
{
“namespace”: “password”,
“key”: “password”,
“type”: “single_line_text_field”,
“value”: “rob”
}
],
“email”: “dhoni@dhoni.com”,
“lastName”:“umang”,
“phone”:“+917777777777”
}
}
